function flamebox_slot_21() /* entry=225 class_id=0x0403 slot=0x21 */
{
  set_info(1, *(arg_06));
  ITEM.slot_24(0x1000, arg_0A);
  if (!Intrinsic006A()) {
    if ((Item.getShape(arg_0A) == 0x043A) || (Item.getShape(arg_0A) != 0x0518)) {
      while ((Item.getFrame(arg_0A) == 5) && (Item.isEntirelyOnScreen(arg_0A) != 1)) {
        spawn FREE.slot_3B(pid, 2, 0x00000000);
        suspend;
      }
    }
    else {
      while ((Item.getFrame(arg_0A) == 27) && (Item.isEntirelyOnScreen(arg_0A) != 1)) {
        spawn FREE.slot_3B(pid, 2, 0x00000000);
        suspend;
      }
    }
  }
  if (arg_0C == 0) {
    local_06 = 0x0439;
  }
  else if (arg_0C == 1) {
    local_06 = 0x0438;
  }
  ITEM.slot_24(0x1000, local_04);
  if (!Intrinsic006A()) {
    while ((Item.getFrame(local_04) == 4) && (Item.isEntirelyOnScreen(local_04) != 1)) {
      spawn FREE.slot_3B(pid, 2, 0x00000000);
      suspend;
    }
  }
  else {
    spawn FREE.slot_3B(pid, 0x00C8, 0x00000000);
    suspend;
  }
  ITEM.slot_25(0x1000, local_04);
  return;
}
