1683 lines
34 KiB
Text
1683 lines
34 KiB
Text
|
|
/* synthesized appendix for DOOR */
|
|
/* sparse lines above preserve recovered debugger line numbers where available */
|
|
|
|
/* ===== slot 0x20 slot_20 ===== */
|
|
function door_slot_20() /* entry=450 class_id=0x0A04 slot=0x20 */
|
|
{
|
|
set_info(0x0207, *(arg_06));
|
|
spawn DOOR.slot_21(pid, 0, arg_06);
|
|
suspend;
|
|
/* dword_to_word */
|
|
if (!process_result) {
|
|
/* word_to_dword */
|
|
/* pop_result */
|
|
return;
|
|
}
|
|
else {
|
|
/* word_to_dword */
|
|
/* pop_result */
|
|
return;
|
|
}
|
|
spawn FREE.slot_3B(pid, 10, 0x00000000);
|
|
suspend;
|
|
return;
|
|
}
|
|
|
|
/* ===== slot 0x21 slot_21 ===== */
|
|
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;
|
|
}
|
|
|
|
/* ===== slot 0x22 slot_22 ===== */
|
|
function door_slot_22() /* entry=450 class_id=0x0A04 slot=0x22 */
|
|
{
|
|
entry:
|
|
set_info(0x0001, *(arg_06));
|
|
local_04 = 0;
|
|
/* loopscr value_u8=0x24 */
|
|
/* loopscr value_u8=0x4C */
|
|
/* loop current_var=0xFE string_bytes=0x1A loop_type=0x2 */
|
|
|
|
block_14CB:
|
|
if condition goto block_14DC;
|
|
|
|
block_14CE:
|
|
local_04 = (1 + local_04);
|
|
goto block_14DC;
|
|
|
|
block_14D8:
|
|
/* loopnext */
|
|
goto block_14CB;
|
|
|
|
block_14DC:
|
|
local_08 = Item.getQLo(arg_06);
|
|
local_06 = Item.getQHi(arg_06);
|
|
if local_04 goto block_1561;
|
|
|
|
block_14F9:
|
|
/* loopscr value_u8=0x24 */
|
|
/* loopscr value_u8=0x4C */
|
|
/* loop current_var=0xFE string_bytes=0x1A loop_type=0x2 */
|
|
|
|
block_152E:
|
|
while (!condition) {
|
|
local_0A = Item.getQLo(local_02);
|
|
/* loopnext */
|
|
}
|
|
|
|
block_155F:
|
|
|
|
block_1561:
|
|
return;
|
|
|
|
}
|
|
|
|
/* ===== slot 0x23 slot_23 ===== */
|
|
function door_slot_23() /* entry=450 class_id=0x0A04 slot=0x23 */
|
|
{
|
|
set_info(0x0207, *(arg_06));
|
|
FREE.slot_35(arg_0C, arg_0A);
|
|
local_08 = retval;
|
|
if (((local_08 == 3) || (local_08 != 4)) || (local_08 != 10)) {
|
|
FREE.slot_34(arg_0C, arg_0A);
|
|
/* rsh */
|
|
local_0A = 2;
|
|
}
|
|
else {
|
|
return;
|
|
}
|
|
spawn ITEM.slot_29(pid, 0x00FA, arg_0C, arg_0A, arg_06);
|
|
suspend;
|
|
/* dword_to_word */
|
|
if (process_result) {
|
|
FREE.slot_20(10);
|
|
if (retval <= 5) {
|
|
}
|
|
return;
|
|
}
|
|
else if (Item.getFrame(arg_06) <= 0) {
|
|
return;
|
|
}
|
|
else {
|
|
for local_02 in nearby_items(shape=0x04F8, origin=arg_06) {
|
|
if (Item.getQLo(local_02) == Item.getQLo(arg_06)) {
|
|
if (Item.getMapNum(local_02) == 0) {
|
|
spawn TRIGGER.slot_20(pid, 0, local_02, arg_06);
|
|
suspend;
|
|
}
|
|
else {
|
|
spawn TRIGGER.slot_20(pid, (0 + 0x0080), local_02, arg_06);
|
|
suspend;
|
|
}
|
|
}
|
|
/* loopnext */
|
|
}
|
|
spawn FREE.slot_3B(pid, 1, 0x00000000);
|
|
suspend;
|
|
if (World.getAlertActive() == 0) {
|
|
spawn FREE.slot_44(0x00000000);
|
|
}
|
|
if (Item.getShape(arg_06) == door_shape_03ba) {
|
|
spawn ITEM.slot_2A(pid, 0, 2, arg_06);
|
|
suspend;
|
|
spawn FREE.slot_3B(pid, 1, 0x00000000);
|
|
suspend;
|
|
spawn DOOR.slot_22(pid, arg_06);
|
|
suspend;
|
|
return;
|
|
}
|
|
else if (Item.getShape(arg_06) == door_shape_03b9) {
|
|
spawn ITEM.slot_2A(pid, 0, 2, arg_06);
|
|
suspend;
|
|
spawn FREE.slot_3B(pid, 1, 0x00000000);
|
|
suspend;
|
|
spawn DOOR.slot_22(pid, arg_06);
|
|
suspend;
|
|
return;
|
|
}
|
|
else if (Item.getShape(arg_06) == door_shape_02d8) {
|
|
spawn ITEM.slot_2A(pid, 0, 2, arg_06);
|
|
suspend;
|
|
spawn FREE.slot_3B(pid, 1, 0x00000000);
|
|
suspend;
|
|
spawn DOOR.slot_22(pid, arg_06);
|
|
suspend;
|
|
return;
|
|
}
|
|
else if (Item.getShape(arg_06) == door_shape_004b) {
|
|
spawn ITEM.slot_2A(pid, 0, 2, arg_06);
|
|
suspend;
|
|
spawn FREE.slot_3B(pid, 1, 0x00000000);
|
|
suspend;
|
|
spawn DOOR.slot_22(pid, arg_06);
|
|
suspend;
|
|
return;
|
|
}
|
|
else if (Item.getShape(arg_06) == door_shape_0064) {
|
|
spawn ITEM.slot_2A(pid, 0, 2, arg_06);
|
|
suspend;
|
|
spawn FREE.slot_3B(pid, 1, 0x00000000);
|
|
suspend;
|
|
spawn DOOR.slot_22(pid, arg_06);
|
|
suspend;
|
|
return;
|
|
}
|
|
else if (Item.getShape(arg_06) == door_shape_053b) {
|
|
spawn ITEM.slot_2A(pid, 0, 2, arg_06);
|
|
suspend;
|
|
spawn FREE.slot_3B(pid, 1, 0x00000000);
|
|
suspend;
|
|
spawn DOOR.slot_22(pid, arg_06);
|
|
suspend;
|
|
return;
|
|
}
|
|
else if (Item.getShape(arg_06) == door_shape_0363) {
|
|
spawn ITEM.slot_2A(pid, 0, 2, arg_06);
|
|
suspend;
|
|
spawn FREE.slot_3B(pid, 1, 0x00000000);
|
|
suspend;
|
|
spawn DOOR.slot_22(pid, arg_06);
|
|
suspend;
|
|
return;
|
|
}
|
|
else if (Item.getShape(arg_06) == door_shape_037a) {
|
|
spawn ITEM.slot_2A(pid, 0, 2, arg_06);
|
|
suspend;
|
|
spawn FREE.slot_3B(pid, 1, 0x00000000);
|
|
suspend;
|
|
spawn DOOR.slot_22(pid, arg_06);
|
|
suspend;
|
|
return;
|
|
}
|
|
else if (Item.getShape(arg_06) == door_shape_0574) {
|
|
spawn ITEM.slot_2A(pid, 0, 2, arg_06);
|
|
suspend;
|
|
spawn FREE.slot_3B(pid, 1, 0x00000000);
|
|
suspend;
|
|
spawn DOOR.slot_22(pid, arg_06);
|
|
suspend;
|
|
return;
|
|
}
|
|
else if (Item.getShape(arg_06) == door_shape_056f) {
|
|
spawn ITEM.slot_2A(pid, 0, 2, arg_06);
|
|
suspend;
|
|
spawn FREE.slot_3B(pid, 1, 0x00000000);
|
|
suspend;
|
|
spawn DOOR.slot_22(pid, arg_06);
|
|
suspend;
|
|
return;
|
|
}
|
|
else if (Item.getShape(arg_06) == door_shape_0573) {
|
|
spawn ITEM.slot_2A(pid, 0, 2, arg_06);
|
|
suspend;
|
|
spawn FREE.slot_3B(pid, 1, 0x00000000);
|
|
suspend;
|
|
spawn DOOR.slot_22(pid, arg_06);
|
|
suspend;
|
|
return;
|
|
}
|
|
else if (Item.getShape(arg_06) == door_shape_0571) {
|
|
spawn ITEM.slot_2A(pid, 0, 2, arg_06);
|
|
suspend;
|
|
spawn FREE.slot_3B(pid, 1, 0x00000000);
|
|
suspend;
|
|
spawn DOOR.slot_22(pid, arg_06);
|
|
suspend;
|
|
return;
|
|
}
|
|
else if (Item.getShape(arg_06) == door_shape_006c) {
|
|
spawn ITEM.slot_2A(pid, 0, 2, arg_06);
|
|
suspend;
|
|
spawn FREE.slot_3B(pid, 1, 0x00000000);
|
|
suspend;
|
|
spawn DOOR.slot_22(pid, arg_06);
|
|
suspend;
|
|
return;
|
|
}
|
|
else if (Item.getShape(arg_06) == door_shape_0033) {
|
|
spawn ITEM.slot_2A(pid, 0, 2, arg_06);
|
|
suspend;
|
|
spawn FREE.slot_3B(pid, 1, 0x00000000);
|
|
suspend;
|
|
spawn DOOR.slot_22(pid, arg_06);
|
|
suspend;
|
|
return;
|
|
}
|
|
}
|
|
return;
|
|
}
|