Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -3,8 +3,8 @@ function miss8_hatch() /* entry=360 class_id=0x0914 slot=0x07 */
|
|||
set_info(0x0210, *(arg_06));
|
||||
process_exclude();
|
||||
if (Egg.getEggId(arg_06) == 1) {
|
||||
class_0A0C_slot_41();
|
||||
spawn class_0914_slot_20(pid, arg_06);
|
||||
FREE.slot_41();
|
||||
spawn MISS8.slot_20(pid, arg_06);
|
||||
suspend;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,23 +16,18 @@ function miss8_slot_20() /* entry=360 class_id=0x0914 slot=0x20 */
|
|||
y = Item.getY();
|
||||
/* global_address global_id=0x3C */
|
||||
while (!Actor.isBusy()) {
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
|
||||
while (!condition) {
|
||||
for item in nearby_items(shape=0x04E0, origin=global[0x003C]) {
|
||||
/* loopnext */
|
||||
}
|
||||
if (!willmar) {
|
||||
counter = 0;
|
||||
/* pop_global global_id=0x27 size=0x1 */
|
||||
/* global_address global_id=0x3C */
|
||||
spawn class_0A11_slot_22(1, 2, 0);
|
||||
spawn class_0A11_slot_22(pid, 2, 12, willmar);
|
||||
spawn NPC.slot_22(1, 2, 0);
|
||||
spawn NPC.slot_22(pid, 2, 12, willmar);
|
||||
suspend;
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
|
|
@ -45,7 +40,7 @@ function miss8_slot_20() /* entry=360 class_id=0x0914 slot=0x20 */
|
|||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
spawn class_0A11_slot_22(pid, 4, 12, willmar);
|
||||
spawn NPC.slot_22(pid, 4, 12, willmar);
|
||||
suspend;
|
||||
suspend;
|
||||
/* global_address global_id=0x3C */
|
||||
|
|
@ -53,7 +48,7 @@ function miss8_slot_20() /* entry=360 class_id=0x0914 slot=0x20 */
|
|||
suspend;
|
||||
suspend;
|
||||
/* global_address global_id=0x3C */
|
||||
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
|
||||
suspend;
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
|
|
@ -61,58 +56,49 @@ function miss8_slot_20() /* entry=360 class_id=0x0914 slot=0x20 */
|
|||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
suspend;
|
||||
spawn class_0A11_slot_22(pid, 3, 12, willmar);
|
||||
spawn NPC.slot_22(pid, 3, 12, willmar);
|
||||
suspend;
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
suspend;
|
||||
spawn class_0A11_slot_22(pid, 2, 0, willmar);
|
||||
spawn NPC.slot_22(pid, 2, 0, willmar);
|
||||
suspend;
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
suspend;
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(pid, 60, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 60, 0x00000000);
|
||||
suspend;
|
||||
counter = 0;
|
||||
while (counter > 37) {
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = 0;
|
||||
while (counter > 37) {
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
counter = 0;
|
||||
while (counter > 40) {
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
}
|
||||
}
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
|
||||
while (!condition) {
|
||||
for item in nearby_items(shape=TELEPORTER_LIGHTS, origin=global[0x003C]) {
|
||||
/* loopnext */
|
||||
}
|
||||
/* str_to_ptr */
|
||||
/* free_stack_string value_u8=0x4 target=[SP+04h] */
|
||||
suspend;
|
||||
/* loopscr value_u8=0x24 */
|
||||
/* loopscr value_u8=0x3D */
|
||||
/* loopscr value_u8=0x40 */
|
||||
/* loopscr value_u8=0x25 */
|
||||
/* loop current_var=0xFA string_bytes=0x6 loop_type=0x2 */
|
||||
/* loop_selector item in nearby_items(shape=0x04D0, origin=arg_06) */
|
||||
while (!condition) {
|
||||
if ((Item.getFrame(item) == 0) && (Item.getQLo(item) != 20)) {
|
||||
suspend;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue