function door_slot_21() /* entry=450 class_id=0x0A04 slot=0x21 */
{
  set_info(0x0207, *(arg_06));
  spawn FREE.slot_3B(pid, 2, 0x00000000);
  suspend;
  local_02 = Item.getShape(arg_06);
  if (local_02 == 0x05A2) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_20(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x05A5) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_21(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x05A1) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_22(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x05A4) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_23(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x04DD) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_25(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x037E) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_24(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 49) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_26(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0363) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_27(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x037A) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_28(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 100) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_29(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x053B) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_2A(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x00AC) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_2B(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x00AF) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_2C(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0193) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_4E(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x028D) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_4F(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x00C0) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_50(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0287) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_51(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 75) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_2D(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x00DB) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_2E(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x02D8) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_2F(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x00D9) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_30(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x013F) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_31(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0301) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_32(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0156) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_33(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x00D4) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_34(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x056F) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_24(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x055A) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_25(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0574) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_26(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0575) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_27(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0098) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_20(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0228) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_21(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0227) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_22(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x00A8) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_23(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0571) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_28(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0570) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_29(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0573) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_2A(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0572) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_2B(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x02F1) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_41(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x051A) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_42(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x04CF) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_43(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x022D) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_44(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x016F) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_2E(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x016E) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_2F(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x00DA) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_2C(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x00A5) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_2D(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x01AB) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_42(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0215) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_43(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0393) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_44(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0394) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_45(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0353) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_30(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0368) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_32(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0359) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_31(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0358) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_33(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x018D) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_46(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0289) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_47(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x01C6) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_48(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x01C7) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_49(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x01EE) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_4A(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x01ED) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_4B(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x03AD) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_4C(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x03C7) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_4D(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x03B9) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_39(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0240) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_3A(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x03BA) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_3B(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0241) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_3C(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0167) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_35(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x04F3) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_36(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0168) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_37(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0551) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_38(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x03C6) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_3D(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x046A) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_3E(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x046B) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_3F(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x046C) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR3.slot_40(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 51) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_3A(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x009C) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_3B(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 108) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_3C(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0400) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_3D(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x013B) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_34(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x02DB) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_35(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x018A) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_36(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x05E8) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_37(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0460) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_38(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x05E9) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_39(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x047D) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR4.slot_21(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x05F9) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR4.slot_20(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x05AA) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_3E(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x0129) {
    if (arg_0A == 2) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_40(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x05AB) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_3F(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else if (local_02 == 0x028A) {
    if (arg_0A == 1) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    spawn DOOR2.slot_41(pid, arg_06);
    suspend;
    /* dword_to_word  */
    if (!process_result) {
      /* word_to_dword  */
      /* pop_result  */
      return;
    }
    return;
  }
  else {
    /* word_to_dword  */
    /* pop_result  */
    return;
  }
  return;
}
