Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -9,7 +9,7 @@ function door3_slot_20() /* entry=378 class_id=0x0A08 slot=0x20 */
|
|||
maxFrame; /* [BP-0Ah] type=0x69 */
|
||||
|
||||
set_info(0x0207, *(arg_06));
|
||||
spawn class_0A06_slot_22(pid, arg_06);
|
||||
spawn DOOR.slot_22(pid, arg_06);
|
||||
suspend;
|
||||
/* create_list element_size=0x2 count=0x4 */
|
||||
/* free_local_list bp_offset=0xFE target=[BP-02h] */
|
||||
|
|
@ -18,14 +18,14 @@ function door3_slot_20() /* entry=378 class_id=0x0A08 slot=0x20 */
|
|||
/* free_local_list bp_offset=0xFC target=[BP-04h] */
|
||||
doorList2 = 0x036B;
|
||||
counter = 0;
|
||||
class_0A0C_slot_3A(0x0358, 0x035C, 0x035D, 0x0359, 0x035A, 0x035B, doorList);
|
||||
FREE.slot_3A(0x0358, 0x035C, 0x035D, 0x0359, 0x035A, 0x035B, doorList);
|
||||
/* free_stack_list value_u8=0x0 target=[SP+00h] */
|
||||
maxFrame = retval;
|
||||
spawn class_0A0C_slot_32(doorList2, 1, pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(doorList2, 1, pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = 2;
|
||||
while (counter > (maxFrame - 1)) {
|
||||
spawn class_0A0C_slot_32(doorList2, counter, doorList, pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(doorList2, counter, doorList, pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,14 +22,10 @@ function door3_slot_21() /* entry=378 class_id=0x0A08 slot=0x21 */
|
|||
/* create_list element_size=0x2 count=0x4 */
|
||||
/* free_local_list bp_offset=0xFC target=[BP-04h] */
|
||||
doorList = 0x036B;
|
||||
class_0A0C_slot_3A(0x0358, 0x035C, 0x035D, 0x0359, 0x035A, 0x035B, doorList);
|
||||
FREE.slot_3A(0x0358, 0x035C, 0x035D, 0x0359, 0x035A, 0x035B, doorList);
|
||||
/* free_stack_list value_u8=0x0 target=[SP+00h] */
|
||||
maxFrame = retval;
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
|
||||
/* loop_selector item in nearby_items(shape=0x036A, origin=arg_06) */
|
||||
|
||||
block_0459:
|
||||
if condition goto block_0467;
|
||||
|
|
@ -40,19 +36,10 @@ function door3_slot_21() /* entry=378 class_id=0x0A08 slot=0x21 */
|
|||
goto block_0459;
|
||||
|
||||
block_0467:
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
|
||||
|
||||
block_0487:
|
||||
if condition goto block_0495;
|
||||
|
||||
block_048A:
|
||||
door1 = item;
|
||||
/* loopnext */
|
||||
goto block_0487;
|
||||
for item in nearby_items(shape=0x036B, origin=arg_06) {
|
||||
door1 = item;
|
||||
/* loopnext */
|
||||
}
|
||||
|
||||
block_0495:
|
||||
if (door1 && door2) goto block_0804;
|
||||
|
|
@ -64,7 +51,7 @@ function door3_slot_21() /* entry=378 class_id=0x0A08 slot=0x21 */
|
|||
if (counter <= (maxFrame - 1)) goto block_0804;
|
||||
|
||||
block_04CD:
|
||||
class_0A0C_slot_2D(Item.getZ(door1), Item.getY(door1), Item.getX(door1), 0, doorList, (maxFrame - counter), list_element(size=0x2), door1);
|
||||
FREE.slot_2D(Item.getZ(door1), Item.getY(door1), Item.getX(door1), 0, doorList, (maxFrame - counter), list_element(size=0x2), door1);
|
||||
if (!retval) goto block_050F;
|
||||
|
||||
block_0508:
|
||||
|
|
@ -74,7 +61,7 @@ function door3_slot_21() /* entry=378 class_id=0x0A08 slot=0x21 */
|
|||
if ((!bool) && (!nonLegalDoor1)) goto block_056E;
|
||||
|
||||
block_051F:
|
||||
class_0A0C_slot_2D(Item.getZ(door2), Item.getY(door2), (Item.getX(door2) + 16), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
|
||||
FREE.slot_2D(Item.getZ(door2), Item.getY(door2), (Item.getX(door2) + 16), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
|
||||
if (!retval) goto block_0564;
|
||||
|
||||
block_055D:
|
||||
|
|
@ -85,7 +72,7 @@ function door3_slot_21() /* entry=378 class_id=0x0A08 slot=0x21 */
|
|||
goto block_05B3;
|
||||
|
||||
block_056E:
|
||||
class_0A0C_slot_2D(Item.getZ(door2), Item.getY(door2), (Item.getX(door2) + 16), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
|
||||
FREE.slot_2D(Item.getZ(door2), Item.getY(door2), (Item.getX(door2) + 16), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
|
||||
if (!retval) goto block_05B3;
|
||||
|
||||
block_05AC:
|
||||
|
|
@ -95,7 +82,7 @@ function door3_slot_21() /* entry=378 class_id=0x0A08 slot=0x21 */
|
|||
if ((!nonLegalDoor1) && (!nonLegalDoor2)) goto block_0605;
|
||||
|
||||
block_05C3:
|
||||
spawn class_0A0C_slot_32(pid, (5 + counter), 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, (5 + counter), 0x00000000);
|
||||
suspend;
|
||||
goto block_07F7;
|
||||
|
||||
|
|
@ -126,7 +113,7 @@ function door3_slot_21() /* entry=378 class_id=0x0A08 slot=0x21 */
|
|||
block_073A:
|
||||
|
||||
block_0780:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
counter2 = (1 + counter2);
|
||||
goto block_06B3;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ function door3_slot_22() /* entry=378 class_id=0x0A08 slot=0x22 */
|
|||
maxFrame; /* [BP-0Ah] type=0x69 */
|
||||
|
||||
set_info(0x0207, *(arg_06));
|
||||
spawn class_0A06_slot_22(pid, arg_06);
|
||||
spawn DOOR.slot_22(pid, arg_06);
|
||||
suspend;
|
||||
/* create_list element_size=0x2 count=0x4 */
|
||||
/* free_local_list bp_offset=0xFE target=[BP-02h] */
|
||||
|
|
@ -18,14 +18,14 @@ function door3_slot_22() /* entry=378 class_id=0x0A08 slot=0x22 */
|
|||
/* free_local_list bp_offset=0xFC target=[BP-04h] */
|
||||
doorList = 0x0369;
|
||||
counter = 0;
|
||||
class_0A0C_slot_3A(0x0352, 0x0354, 0x0355, 0x0353, 0x0356, 0x0357, doorList);
|
||||
FREE.slot_3A(0x0352, 0x0354, 0x0355, 0x0353, 0x0356, 0x0357, doorList);
|
||||
/* free_stack_list value_u8=0x0 target=[SP+00h] */
|
||||
maxFrame = retval;
|
||||
spawn class_0A0C_slot_32(doorList2, 1, pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(doorList2, 1, pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = 2;
|
||||
while (counter > (maxFrame - 1)) {
|
||||
spawn class_0A0C_slot_32(doorList2, counter, doorList, pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(doorList2, counter, doorList, pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,14 +22,10 @@ function door3_slot_23() /* entry=378 class_id=0x0A08 slot=0x23 */
|
|||
/* create_list element_size=0x2 count=0x4 */
|
||||
/* free_local_list bp_offset=0xFC target=[BP-04h] */
|
||||
doorList2 = 0x0369;
|
||||
class_0A0C_slot_3A(0x0352, 0x0354, 0x0355, 0x0353, 0x0356, 0x0357, doorList);
|
||||
FREE.slot_3A(0x0352, 0x0354, 0x0355, 0x0353, 0x0356, 0x0357, doorList);
|
||||
/* free_stack_list value_u8=0x0 target=[SP+00h] */
|
||||
maxFrame = retval;
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
|
||||
/* loop_selector item in nearby_items(shape=0x0368, origin=arg_06) */
|
||||
|
||||
block_0C19:
|
||||
if condition goto block_0C27;
|
||||
|
|
@ -40,19 +36,10 @@ function door3_slot_23() /* entry=378 class_id=0x0A08 slot=0x23 */
|
|||
goto block_0C19;
|
||||
|
||||
block_0C27:
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
|
||||
|
||||
block_0C47:
|
||||
if condition goto block_0C55;
|
||||
|
||||
block_0C4A:
|
||||
door2 = item;
|
||||
/* loopnext */
|
||||
goto block_0C47;
|
||||
for item in nearby_items(shape=0x0369, origin=arg_06) {
|
||||
door2 = item;
|
||||
/* loopnext */
|
||||
}
|
||||
|
||||
block_0C55:
|
||||
if (door1 && door2) goto block_0FC4;
|
||||
|
|
@ -64,7 +51,7 @@ function door3_slot_23() /* entry=378 class_id=0x0A08 slot=0x23 */
|
|||
if (counter <= (maxFrame - 1)) goto block_0FC4;
|
||||
|
||||
block_0C8D:
|
||||
class_0A0C_slot_2D(Item.getZ(door1), Item.getY(door1), Item.getX(door1), 0, doorList, (maxFrame - counter), list_element(size=0x2), door1);
|
||||
FREE.slot_2D(Item.getZ(door1), Item.getY(door1), Item.getX(door1), 0, doorList, (maxFrame - counter), list_element(size=0x2), door1);
|
||||
if (!retval) goto block_0CCF;
|
||||
|
||||
block_0CC8:
|
||||
|
|
@ -74,7 +61,7 @@ function door3_slot_23() /* entry=378 class_id=0x0A08 slot=0x23 */
|
|||
if ((!bool) && (!nonLegalDoor1)) goto block_0D2E;
|
||||
|
||||
block_0CDF:
|
||||
class_0A0C_slot_2D(Item.getZ(door2), (Item.getY(door2) + 16), Item.getX(door2), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
|
||||
FREE.slot_2D(Item.getZ(door2), (Item.getY(door2) + 16), Item.getX(door2), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
|
||||
if (!retval) goto block_0D24;
|
||||
|
||||
block_0D1D:
|
||||
|
|
@ -85,7 +72,7 @@ function door3_slot_23() /* entry=378 class_id=0x0A08 slot=0x23 */
|
|||
goto block_0D73;
|
||||
|
||||
block_0D2E:
|
||||
class_0A0C_slot_2D(Item.getZ(door2), (Item.getY(door2) + 16), Item.getX(door2), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
|
||||
FREE.slot_2D(Item.getZ(door2), (Item.getY(door2) + 16), Item.getX(door2), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
|
||||
if (!retval) goto block_0D73;
|
||||
|
||||
block_0D6C:
|
||||
|
|
@ -95,7 +82,7 @@ function door3_slot_23() /* entry=378 class_id=0x0A08 slot=0x23 */
|
|||
if ((!nonLegalDoor1) && (!nonLegalDoor2)) goto block_0DC5;
|
||||
|
||||
block_0D83:
|
||||
spawn class_0A0C_slot_32(pid, (5 + counter), 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, (5 + counter), 0x00000000);
|
||||
suspend;
|
||||
goto block_0FB7;
|
||||
|
||||
|
|
@ -126,7 +113,7 @@ function door3_slot_23() /* entry=378 class_id=0x0A08 slot=0x23 */
|
|||
block_0EFA:
|
||||
|
||||
block_0F40:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
counter2 = (1 + counter2);
|
||||
goto block_0E73;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ function door3_slot_24() /* entry=378 class_id=0x0A08 slot=0x24 */
|
|||
maxFrame; /* [BP-0Ah] type=0x69 */
|
||||
|
||||
set_info(0x0207, *(arg_06));
|
||||
spawn class_0A06_slot_22(pid, arg_06);
|
||||
spawn DOOR.slot_22(pid, arg_06);
|
||||
suspend;
|
||||
/* create_list element_size=0x2 count=0x5 */
|
||||
/* free_local_list bp_offset=0xFE target=[BP-02h] */
|
||||
|
|
@ -18,14 +18,14 @@ function door3_slot_24() /* entry=378 class_id=0x0A08 slot=0x24 */
|
|||
/* free_local_list bp_offset=0xFC target=[BP-04h] */
|
||||
doorList2 = 0x030E;
|
||||
counter = 0;
|
||||
class_0A0C_slot_3A(0x00A4, 0x00E1, 0x00D6, 0x00D8, 0x0170, 0x0171, 0x0172, 0x0173, doorList);
|
||||
FREE.slot_3A(0x00A4, 0x00E1, 0x00D6, 0x00D8, 0x0170, 0x0171, 0x0172, 0x0173, doorList);
|
||||
/* free_stack_list value_u8=0x0 target=[SP+00h] */
|
||||
maxFrame = retval;
|
||||
spawn class_0A0C_slot_32(doorList2, 1, pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(doorList2, 1, pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = 2;
|
||||
while (counter > (maxFrame - 1)) {
|
||||
spawn class_0A0C_slot_32(doorList2, counter, doorList, pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(doorList2, counter, doorList, pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,14 +22,10 @@ function door3_slot_25() /* entry=378 class_id=0x0A08 slot=0x25 */
|
|||
/* create_list element_size=0x2 count=0x5 */
|
||||
/* free_local_list bp_offset=0xFC target=[BP-04h] */
|
||||
doorList = 0x030E;
|
||||
class_0A0C_slot_3A(0x00A4, 0x00E1, 0x00D6, 0x00D8, 0x0170, 0x0171, 0x0172, 0x0173, doorList);
|
||||
FREE.slot_3A(0x00A4, 0x00E1, 0x00D6, 0x00D8, 0x0170, 0x0171, 0x0172, 0x0173, doorList);
|
||||
/* free_stack_list value_u8=0x0 target=[SP+00h] */
|
||||
maxFrame = retval;
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
|
||||
/* loop_selector item in nearby_items(shape=0x030E, origin=arg_06) */
|
||||
|
||||
block_13BD:
|
||||
if condition goto block_13CB;
|
||||
|
|
@ -40,19 +36,10 @@ function door3_slot_25() /* entry=378 class_id=0x0A08 slot=0x25 */
|
|||
goto block_13BD;
|
||||
|
||||
block_13CB:
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
|
||||
|
||||
block_13EB:
|
||||
if condition goto block_13F9;
|
||||
|
||||
block_13EE:
|
||||
door2 = item;
|
||||
/* loopnext */
|
||||
goto block_13EB;
|
||||
for item in nearby_items(shape=0x030D, origin=arg_06) {
|
||||
door2 = item;
|
||||
/* loopnext */
|
||||
}
|
||||
|
||||
block_13F9:
|
||||
if (door1 && door2) goto block_1770;
|
||||
|
|
@ -64,7 +51,7 @@ function door3_slot_25() /* entry=378 class_id=0x0A08 slot=0x25 */
|
|||
if (counter <= (maxFrame - 1)) goto block_1770;
|
||||
|
||||
block_143F:
|
||||
class_0A0C_slot_2D(Item.getZ(door1), Item.getY(door1), Item.getX(door1), 0, doorList, (maxFrame - counter), list_element(size=0x2), door1);
|
||||
FREE.slot_2D(Item.getZ(door1), Item.getY(door1), Item.getX(door1), 0, doorList, (maxFrame - counter), list_element(size=0x2), door1);
|
||||
if (!retval) goto block_1481;
|
||||
|
||||
block_147A:
|
||||
|
|
@ -74,7 +61,7 @@ function door3_slot_25() /* entry=378 class_id=0x0A08 slot=0x25 */
|
|||
if ((!bool) && (!nonLegalDoor1)) goto block_14DD;
|
||||
|
||||
block_1491:
|
||||
class_0A0C_slot_2D(Item.getZ(door2), Item.getY(door2), Item.getX(door2), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
|
||||
FREE.slot_2D(Item.getZ(door2), Item.getY(door2), Item.getX(door2), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
|
||||
if (!retval) goto block_14D3;
|
||||
|
||||
block_14CC:
|
||||
|
|
@ -85,7 +72,7 @@ function door3_slot_25() /* entry=378 class_id=0x0A08 slot=0x25 */
|
|||
goto block_1522;
|
||||
|
||||
block_14DD:
|
||||
class_0A0C_slot_2D(Item.getZ(door2), Item.getY(door2), (Item.getX(door2) + 16), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
|
||||
FREE.slot_2D(Item.getZ(door2), Item.getY(door2), (Item.getX(door2) + 16), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
|
||||
if (!retval) goto block_1522;
|
||||
|
||||
block_151B:
|
||||
|
|
@ -95,7 +82,7 @@ function door3_slot_25() /* entry=378 class_id=0x0A08 slot=0x25 */
|
|||
if ((!nonLegalDoor1) && (!nonLegalDoor2)) goto block_1574;
|
||||
|
||||
block_1532:
|
||||
spawn class_0A0C_slot_32(pid, (5 + counter), 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, (5 + counter), 0x00000000);
|
||||
suspend;
|
||||
goto block_1763;
|
||||
|
||||
|
|
@ -126,7 +113,7 @@ function door3_slot_25() /* entry=378 class_id=0x0A08 slot=0x25 */
|
|||
block_16A6:
|
||||
|
||||
block_16EC:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
counter2 = (1 + counter2);
|
||||
goto block_1622;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ function door3_slot_26() /* entry=378 class_id=0x0A08 slot=0x26 */
|
|||
maxFrame; /* [BP-0Ah] type=0x69 */
|
||||
|
||||
set_info(0x0207, *(arg_06));
|
||||
spawn class_0A06_slot_22(pid, arg_06);
|
||||
spawn DOOR.slot_22(pid, arg_06);
|
||||
suspend;
|
||||
/* create_list element_size=0x2 count=0x5 */
|
||||
/* free_local_list bp_offset=0xFE target=[BP-02h] */
|
||||
|
|
@ -18,14 +18,14 @@ function door3_slot_26() /* entry=378 class_id=0x0A08 slot=0x26 */
|
|||
/* free_local_list bp_offset=0xFC target=[BP-04h] */
|
||||
doorList2 = 0x0100;
|
||||
counter = 0;
|
||||
class_0A0C_slot_3A(0x016C, 0x016D, 0x016E, 0x016F, 0x009B, 0x00D3, 0x00E4, 0x00DA, doorList);
|
||||
FREE.slot_3A(0x016C, 0x016D, 0x016E, 0x016F, 0x009B, 0x00D3, 0x00E4, 0x00DA, doorList);
|
||||
/* free_stack_list value_u8=0x0 target=[SP+00h] */
|
||||
maxFrame = retval;
|
||||
spawn class_0A0C_slot_32(doorList2, 1, pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(doorList2, 1, pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = 2;
|
||||
while (counter > (maxFrame - 1)) {
|
||||
spawn class_0A0C_slot_32(doorList2, counter, doorList, pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(doorList2, counter, doorList, pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,14 +22,10 @@ function door3_slot_27() /* entry=378 class_id=0x0A08 slot=0x27 */
|
|||
/* create_list element_size=0x2 count=0x5 */
|
||||
/* free_local_list bp_offset=0xFC target=[BP-04h] */
|
||||
doorList2 = 0x00A5;
|
||||
class_0A0C_slot_3A(0x009B, 0x00D3, 0x00E4, 0x00DA, 0x016C, 0x016D, 0x016E, 0x016F, doorList);
|
||||
FREE.slot_3A(0x009B, 0x00D3, 0x00E4, 0x00DA, 0x016C, 0x016D, 0x016E, 0x016F, doorList);
|
||||
/* free_stack_list value_u8=0x0 target=[SP+00h] */
|
||||
maxFrame = retval;
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
|
||||
/* loop_selector item in nearby_items(shape=0x0100, origin=arg_06) */
|
||||
|
||||
block_1B73:
|
||||
if condition goto block_1B81;
|
||||
|
|
@ -40,19 +36,10 @@ function door3_slot_27() /* entry=378 class_id=0x0A08 slot=0x27 */
|
|||
goto block_1B73;
|
||||
|
||||
block_1B81:
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xF2 string_bytes=0x6 loop_type=0x2 */
|
||||
|
||||
block_1BA1:
|
||||
if condition goto block_1BAF;
|
||||
|
||||
block_1BA4:
|
||||
door2 = item;
|
||||
/* loopnext */
|
||||
goto block_1BA1;
|
||||
for item in nearby_items(shape=0x00A5, origin=arg_06) {
|
||||
door2 = item;
|
||||
/* loopnext */
|
||||
}
|
||||
|
||||
block_1BAF:
|
||||
if (door1 && door2) goto block_1F19;
|
||||
|
|
@ -64,7 +51,7 @@ function door3_slot_27() /* entry=378 class_id=0x0A08 slot=0x27 */
|
|||
if (counter <= (maxFrame - 1)) goto block_1F19;
|
||||
|
||||
block_1BE8:
|
||||
class_0A0C_slot_2D(Item.getZ(door1), Item.getY(door1), Item.getX(door1), 0, doorList, (maxFrame - counter), list_element(size=0x2), door1);
|
||||
FREE.slot_2D(Item.getZ(door1), Item.getY(door1), Item.getX(door1), 0, doorList, (maxFrame - counter), list_element(size=0x2), door1);
|
||||
if (!retval) goto block_1C2A;
|
||||
|
||||
block_1C23:
|
||||
|
|
@ -74,7 +61,7 @@ function door3_slot_27() /* entry=378 class_id=0x0A08 slot=0x27 */
|
|||
if ((!bool) && (!nonLegalDoor1)) goto block_1C86;
|
||||
|
||||
block_1C3A:
|
||||
class_0A0C_slot_2D(Item.getZ(door2), Item.getY(door2), Item.getX(door2), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
|
||||
FREE.slot_2D(Item.getZ(door2), Item.getY(door2), Item.getX(door2), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
|
||||
if (!retval) goto block_1C7C;
|
||||
|
||||
block_1C75:
|
||||
|
|
@ -85,7 +72,7 @@ function door3_slot_27() /* entry=378 class_id=0x0A08 slot=0x27 */
|
|||
goto block_1CCB;
|
||||
|
||||
block_1C86:
|
||||
class_0A0C_slot_2D(Item.getZ(door2), (Item.getY(door2) + 16), Item.getX(door2), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
|
||||
FREE.slot_2D(Item.getZ(door2), (Item.getY(door2) + 16), Item.getX(door2), 0, doorList2, (maxFrame - counter), list_element(size=0x2), door2);
|
||||
if (!retval) goto block_1CCB;
|
||||
|
||||
block_1CC4:
|
||||
|
|
@ -95,7 +82,7 @@ function door3_slot_27() /* entry=378 class_id=0x0A08 slot=0x27 */
|
|||
if ((!nonLegalDoor1) && (!nonLegalDoor2)) goto block_1D1D;
|
||||
|
||||
block_1CDB:
|
||||
spawn class_0A0C_slot_32(pid, (5 + counter), 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, (5 + counter), 0x00000000);
|
||||
suspend;
|
||||
goto block_1F0C;
|
||||
|
||||
|
|
@ -126,7 +113,7 @@ function door3_slot_27() /* entry=378 class_id=0x0A08 slot=0x27 */
|
|||
block_1E4F:
|
||||
|
||||
block_1E95:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
counter2 = (1 + counter2);
|
||||
goto block_1DCB;
|
||||
|
|
|
|||
|
|
@ -12,12 +12,12 @@ function door3_slot_28() /* entry=378 class_id=0x0A08 slot=0x28 */
|
|||
return;
|
||||
}
|
||||
else {
|
||||
spawn class_0A06_slot_22(pid, arg_06);
|
||||
spawn DOOR.slot_22(pid, arg_06);
|
||||
suspend;
|
||||
maxFrame = 9;
|
||||
counter = 1;
|
||||
while (counter > maxFrame) {
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,9 +7,9 @@ function door3_slot_29() /* entry=378 class_id=0x0A08 slot=0x29 */
|
|||
|
||||
set_info(0x0207, *(arg_06));
|
||||
maxFrame = 9;
|
||||
class_0A0C_slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), maxFrame, 0x053D, *(arg_06));
|
||||
FREE.slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), maxFrame, 0x053D, *(arg_06));
|
||||
if (!retval) {
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
else {
|
||||
|
|
@ -19,7 +19,7 @@ function door3_slot_29() /* entry=378 class_id=0x0A08 slot=0x29 */
|
|||
}
|
||||
counter = (maxFrame - 1);
|
||||
while (counter < 0) {
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = (counter - 1);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,12 +12,12 @@ function door3_slot_2A() /* entry=378 class_id=0x0A08 slot=0x2A */
|
|||
return;
|
||||
}
|
||||
else {
|
||||
spawn class_0A06_slot_22(pid, arg_06);
|
||||
spawn DOOR.slot_22(pid, arg_06);
|
||||
suspend;
|
||||
maxFrame = 9;
|
||||
counter = 1;
|
||||
while (counter > maxFrame) {
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,9 +7,9 @@ function door3_slot_2B() /* entry=378 class_id=0x0A08 slot=0x2B */
|
|||
|
||||
set_info(0x0207, *(arg_06));
|
||||
maxFrame = 9;
|
||||
class_0A0C_slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), maxFrame, 0x053B, *(arg_06));
|
||||
FREE.slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), maxFrame, 0x053B, *(arg_06));
|
||||
if (!retval) {
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
else {
|
||||
|
|
@ -19,7 +19,7 @@ function door3_slot_2B() /* entry=378 class_id=0x0A08 slot=0x2B */
|
|||
}
|
||||
counter = (maxFrame - 1);
|
||||
while (counter < 0) {
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = (counter - 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue