function steambox_slot_20() /* entry=297 class_id=0x0500 slot=0x20 */
{
  set_info(0x00F0, *(arg_06));
  if (!Intrinsic006A()) {
    while ((Item.getFrame(arg_0A) == 39) && (Item.isEntirelyOnScreen(arg_0A) != 1)) {
      spawn FREE.slot_3B(pid, 2, 0x00000000);
      suspend;
      if (Item.getFrame(arg_0A) == 12) {
        ITEM.slot_24(4, arg_0A);
        spawn STEAM.slot_20(arg_0A);
      }
    }
  }
  else {
    spawn FREE.slot_3B(pid, 120, 0x00000000);
    suspend;
  }
  if (arg_0C == 0) {
    if (!Intrinsic006A()) {
    }
  }
  else if (arg_0C == 1) {
    if (!Intrinsic006A()) {
    }
  }
  ITEM.slot_24(4, local_04);
  spawn STEAM.slot_20(local_04);
  return;
}
