Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -1,7 +1,7 @@
|
|||
function door_slot_20() /* entry=376 class_id=0x0A06 slot=0x20 */
|
||||
{
|
||||
set_info(0x0207, *(arg_06));
|
||||
spawn class_0A06_slot_21(pid, 0, arg_06);
|
||||
spawn DOOR.slot_21(pid, 0, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -14,7 +14,7 @@ function door_slot_20() /* entry=376 class_id=0x0A06 slot=0x20 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
ewall; /* [BP-04h] type=0x24 */
|
||||
|
||||
set_info(0x0207, *(arg_06));
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
doorType = Item.getShape(arg_06);
|
||||
if (doorType == 0x00A9) {
|
||||
|
|
@ -16,19 +16,14 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_20(pid, arg_06);
|
||||
spawn DOOR2.slot_20(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
if (num == 1) {
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
|
||||
while (!condition) {
|
||||
for ewall in nearby_items(shape=FORCEFIELD_NE, origin=arg_06) {
|
||||
if (Item.getQLo(ewall) == Item.getQLo(arg_06)) {
|
||||
spawn class_0A0C_slot_31(pid, ewall, 0x00000000);
|
||||
spawn FREE.slot_31(pid, ewall, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
/* loopnext */
|
||||
|
|
@ -46,7 +41,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_21(pid, arg_06);
|
||||
spawn DOOR2.slot_21(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -62,19 +57,14 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_22(pid, arg_06);
|
||||
spawn DOOR2.slot_22(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
if (num == 1) {
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
|
||||
while (!condition) {
|
||||
for ewall in nearby_items(shape=FORCEFIELD_NW, origin=arg_06) {
|
||||
if (Item.getQLo(ewall) == Item.getQLo(arg_06)) {
|
||||
spawn class_0A0C_slot_31(pid, ewall, 0x00000000);
|
||||
spawn FREE.slot_31(pid, ewall, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
/* loopnext */
|
||||
|
|
@ -92,7 +82,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_23(pid, arg_06);
|
||||
spawn DOOR2.slot_23(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -108,7 +98,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_24(pid, arg_06);
|
||||
spawn DOOR2.slot_24(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -124,7 +114,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_25(pid, arg_06);
|
||||
spawn DOOR2.slot_25(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -140,7 +130,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_26(pid, arg_06);
|
||||
spawn DOOR2.slot_26(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -156,7 +146,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_27(pid, arg_06);
|
||||
spawn DOOR2.slot_27(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -172,19 +162,14 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_28(pid, arg_06);
|
||||
spawn DOOR2.slot_28(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
if (num == 1) {
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
|
||||
while (!condition) {
|
||||
for ewall in nearby_items(shape=FORCEFIELD_NE, origin=arg_06) {
|
||||
if (Item.getQLo(ewall) == Item.getQLo(arg_06)) {
|
||||
spawn class_0A0C_slot_31(pid, ewall, 0x00000000);
|
||||
spawn FREE.slot_31(pid, ewall, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
/* loopnext */
|
||||
|
|
@ -202,7 +187,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_29(pid, arg_06);
|
||||
spawn DOOR2.slot_29(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -218,19 +203,14 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_2A(pid, arg_06);
|
||||
spawn DOOR2.slot_2A(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
if (num == 1) {
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFC string_bytes=0x6 loop_type=0x2 */
|
||||
while (!condition) {
|
||||
for ewall in nearby_items(shape=FORCEFIELD_NW, origin=arg_06) {
|
||||
if (Item.getQLo(ewall) == Item.getQLo(arg_06)) {
|
||||
spawn class_0A0C_slot_31(pid, ewall, 0x00000000);
|
||||
spawn FREE.slot_31(pid, ewall, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
/* loopnext */
|
||||
|
|
@ -248,7 +228,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_2B(pid, arg_06);
|
||||
spawn DOOR2.slot_2B(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -264,7 +244,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_2C(pid, arg_06);
|
||||
spawn DOOR2.slot_2C(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -280,7 +260,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_2D(pid, arg_06);
|
||||
spawn DOOR2.slot_2D(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -296,7 +276,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_2E(pid, arg_06);
|
||||
spawn DOOR2.slot_2E(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -312,7 +292,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_2F(pid, arg_06);
|
||||
spawn DOOR2.slot_2F(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -328,7 +308,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_30(pid, arg_06);
|
||||
spawn DOOR2.slot_30(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -344,7 +324,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_31(pid, arg_06);
|
||||
spawn DOOR2.slot_31(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -360,7 +340,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_32(pid, arg_06);
|
||||
spawn DOOR2.slot_32(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -376,7 +356,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_33(pid, arg_06);
|
||||
spawn DOOR2.slot_33(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -392,7 +372,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A08_slot_20(pid, arg_06);
|
||||
spawn DOOR3.slot_20(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -408,7 +388,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A08_slot_21(pid, arg_06);
|
||||
spawn DOOR3.slot_21(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -424,7 +404,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A08_slot_22(pid, arg_06);
|
||||
spawn DOOR3.slot_22(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -440,7 +420,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A08_slot_23(pid, arg_06);
|
||||
spawn DOOR3.slot_23(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -456,7 +436,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A08_slot_24(pid, arg_06);
|
||||
spawn DOOR3.slot_24(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -472,7 +452,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A08_slot_25(pid, arg_06);
|
||||
spawn DOOR3.slot_25(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -488,7 +468,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A08_slot_26(pid, arg_06);
|
||||
spawn DOOR3.slot_26(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -504,7 +484,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A08_slot_27(pid, arg_06);
|
||||
spawn DOOR3.slot_27(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -520,7 +500,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A08_slot_28(pid, arg_06);
|
||||
spawn DOOR3.slot_28(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -536,7 +516,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A08_slot_29(pid, arg_06);
|
||||
spawn DOOR3.slot_29(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -552,7 +532,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A08_slot_2A(pid, arg_06);
|
||||
spawn DOOR3.slot_2A(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -568,7 +548,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A08_slot_2B(pid, arg_06);
|
||||
spawn DOOR3.slot_2B(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -584,7 +564,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_34(pid, arg_06);
|
||||
spawn DOOR2.slot_34(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -600,7 +580,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_35(pid, arg_06);
|
||||
spawn DOOR2.slot_35(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -616,7 +596,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_36(pid, arg_06);
|
||||
spawn DOOR2.slot_36(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -632,7 +612,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_37(pid, arg_06);
|
||||
spawn DOOR2.slot_37(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -648,7 +628,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_41(pid, arg_06);
|
||||
spawn DOOR2.slot_41(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -664,7 +644,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_42(pid, arg_06);
|
||||
spawn DOOR2.slot_42(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -680,7 +660,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_43(pid, arg_06);
|
||||
spawn DOOR2.slot_43(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -696,7 +676,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_44(pid, arg_06);
|
||||
spawn DOOR2.slot_44(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -712,7 +692,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_45(pid, arg_06);
|
||||
spawn DOOR2.slot_45(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -728,7 +708,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_46(pid, arg_06);
|
||||
spawn DOOR2.slot_46(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -744,7 +724,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_47(pid, arg_06);
|
||||
spawn DOOR2.slot_47(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -760,7 +740,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_48(pid, arg_06);
|
||||
spawn DOOR2.slot_48(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -776,7 +756,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_38(pid, arg_06);
|
||||
spawn DOOR2.slot_38(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -792,7 +772,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_39(pid, arg_06);
|
||||
spawn DOOR2.slot_39(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -808,7 +788,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_3A(pid, arg_06);
|
||||
spawn DOOR2.slot_3A(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -824,7 +804,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_3B(pid, arg_06);
|
||||
spawn DOOR2.slot_3B(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -835,7 +815,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
return;
|
||||
}
|
||||
else if (doorType == 0x04D8) {
|
||||
spawn class_0A07_slot_3C(pid, arg_06);
|
||||
spawn DOOR2.slot_3C(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (process_result) {
|
||||
|
|
@ -851,7 +831,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_3D(pid, arg_06);
|
||||
spawn DOOR2.slot_3D(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -867,7 +847,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_3E(pid, arg_06);
|
||||
spawn DOOR2.slot_3E(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -883,7 +863,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_3F(pid, arg_06);
|
||||
spawn DOOR2.slot_3F(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -899,7 +879,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_40(pid, arg_06);
|
||||
spawn DOOR2.slot_40(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -915,7 +895,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_3D(pid, arg_06);
|
||||
spawn DOOR2.slot_3D(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -931,7 +911,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_3E(pid, arg_06);
|
||||
spawn DOOR2.slot_3E(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -947,7 +927,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_3F(pid, arg_06);
|
||||
spawn DOOR2.slot_3F(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
@ -963,7 +943,7 @@ function door_slot_21() /* entry=376 class_id=0x0A06 slot=0x21 */
|
|||
/* pop_result */
|
||||
return;
|
||||
}
|
||||
spawn class_0A07_slot_40(pid, arg_06);
|
||||
spawn DOOR2.slot_40(pid, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (!process_result) {
|
||||
|
|
|
|||
|
|
@ -11,90 +11,85 @@ function door_slot_23() /* entry=376 class_id=0x0A06 slot=0x23 */
|
|||
damagePoints; /* [BP-0Ah] type=0x69 */
|
||||
|
||||
set_info(0x0207, *(arg_06));
|
||||
class_0A0C_slot_2C(vel, ref);
|
||||
FREE.slot_2C(vel, ref);
|
||||
hitMe = retval;
|
||||
if (((hitMe == 3) || (hitMe != 4)) || (hitMe != 10)) {
|
||||
class_0A0C_slot_2B(vel, ref);
|
||||
FREE.slot_2B(vel, ref);
|
||||
damagePoints = retval;
|
||||
}
|
||||
else {
|
||||
return;
|
||||
}
|
||||
spawn class_0A1E_slot_27(pid, 0x00C8, vel, ref, arg_06);
|
||||
spawn ITEM.slot_27(pid, 0x00C8, vel, ref, arg_06);
|
||||
suspend;
|
||||
/* dword_to_word */
|
||||
if (process_result) {
|
||||
class_0A0C_slot_20(10);
|
||||
FREE.slot_20(10);
|
||||
if (retval <= 5) {
|
||||
}
|
||||
return;
|
||||
}
|
||||
else {
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
|
||||
while (!condition) {
|
||||
for deathBox in nearby_items(shape=0x04F8, origin=arg_06) {
|
||||
if (Item.getQLo(deathBox) == Item.getQLo(arg_06)) {
|
||||
if (Item.getMapArray(deathBox) == 0) {
|
||||
spawn class_0A18_slot_20(pid, 0, deathBox, arg_06);
|
||||
spawn TRIGGER.slot_20(pid, 0, deathBox, arg_06);
|
||||
suspend;
|
||||
}
|
||||
else {
|
||||
spawn class_0A18_slot_20(pid, (0 + 0x0080), deathBox, arg_06);
|
||||
spawn TRIGGER.slot_20(pid, (0 + 0x0080), deathBox, arg_06);
|
||||
suspend;
|
||||
}
|
||||
}
|
||||
/* loopnext */
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
if (World.getAlertActive() == 0) {
|
||||
spawn class_0A0C_slot_3B(0x00000000);
|
||||
spawn FREE.slot_3B(0x00000000);
|
||||
}
|
||||
if (Item.getShape(arg_06) == 123) {
|
||||
if (Item.getShape(arg_06) == door_shape_007b) {
|
||||
if (!Item.getFrame(arg_06)) {
|
||||
}
|
||||
spawn class_0A06_slot_22(pid, arg_06);
|
||||
spawn DOOR.slot_22(pid, arg_06);
|
||||
suspend;
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x03FF) {
|
||||
spawn class_0A06_slot_22(pid, arg_06);
|
||||
spawn DOOR.slot_22(pid, arg_06);
|
||||
suspend;
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 70) {
|
||||
spawn class_0A06_slot_22(pid, arg_06);
|
||||
else if (Item.getShape(arg_06) == door_shape_0046) {
|
||||
spawn DOOR.slot_22(pid, arg_06);
|
||||
suspend;
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x030B) {
|
||||
spawn class_0A06_slot_22(pid, arg_06);
|
||||
else if (Item.getShape(arg_06) == door_shape_030b) {
|
||||
spawn DOOR.slot_22(pid, arg_06);
|
||||
suspend;
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x0099) {
|
||||
spawn class_0A06_slot_22(pid, arg_06);
|
||||
else if (Item.getShape(arg_06) == door_shape_0099) {
|
||||
spawn DOOR.slot_22(pid, arg_06);
|
||||
suspend;
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 5) {
|
||||
else if (Item.getShape(arg_06) == door_shape_0005) {
|
||||
if (!Item.getFrame(arg_06)) {
|
||||
}
|
||||
spawn class_0A06_slot_22(pid, arg_06);
|
||||
spawn DOOR.slot_22(pid, arg_06);
|
||||
suspend;
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x03F8) {
|
||||
spawn class_0A06_slot_22(pid, arg_06);
|
||||
spawn DOOR.slot_22(pid, arg_06);
|
||||
suspend;
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x00A9) {
|
||||
spawn class_0A06_slot_22(pid, arg_06);
|
||||
else if (Item.getShape(arg_06) == door_shape_00a9) {
|
||||
spawn DOOR.slot_22(pid, arg_06);
|
||||
suspend;
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x030A) {
|
||||
spawn class_0A06_slot_22(pid, arg_06);
|
||||
else if (Item.getShape(arg_06) == door_shape_030a) {
|
||||
spawn DOOR.slot_22(pid, arg_06);
|
||||
suspend;
|
||||
}
|
||||
else if (Item.getShape(arg_06) == 0x0095) {
|
||||
spawn class_0A06_slot_22(pid, arg_06);
|
||||
else if (Item.getShape(arg_06) == door_shape_0095) {
|
||||
spawn DOOR.slot_22(pid, arg_06);
|
||||
suspend;
|
||||
}
|
||||
/* bit_not */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue