function steambox_slot_20() /* entry=296 class_id=0x0500 slot=0x20 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    steam, /* [BP+0Ah] type=0x24 */
    direction, /* [BP+0Ch] type=0x69 */
    count, /* [BP-02h] type=0x69 */
    steam2; /* [BP-04h] type=0x24 */

  set_info(0x00F0, *(arg_06));
  if (!getAnimationsDisabled()) {
    while ((Item.getFrame(steam) == 39) && (Item.isOnScreen(steam) != 1)) {
      spawn class_0A0C_slot_32(pid, 2, 0x00000000);
      suspend;
      if (Item.getFrame(steam) == 12) {
        class_0A1E_slot_23(4, steam);
        spawn class_0A15_slot_20(steam);
      }
    }
  }
  else {
    spawn class_0A0C_slot_32(pid, 120, 0x00000000);
    suspend;
  }
  if (direction == 0) {
    if (!getAnimationsDisabled()) {
    }
  }
  else if (direction == 1) {
    if (!getAnimationsDisabled()) {
    }
  }
  class_0A1E_slot_23(4, steam2);
  spawn class_0A15_slot_20(steam2);
  return;
}
