Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -7,23 +7,23 @@ function wea_boot_equip() /* entry=251 class_id=0x045B slot=0x0A */
|
|||
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
FREE.slot_33(0x021B, *(arg_06));
|
||||
/* global_address global_id=0x3C */
|
||||
/* global_address global_id=0x3C */
|
||||
while (Item.getFrame(arg_06) == 5) {
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
if ((global[0x001F] == 0) && (global[0x001F] < 15)) {
|
||||
}
|
||||
counter = 0;
|
||||
while (counter > 4) {
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
}
|
||||
spawn class_045B_enterFastArea(arg_06);
|
||||
spawn WEA_BOOT.enterFastArea(arg_06);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,13 +8,13 @@ function wea_boot_enterFastArea() /* entry=251 class_id=0x045B slot=0x0F */
|
|||
entry:
|
||||
set_info(0x021B, *(arg_06));
|
||||
process_exclude();
|
||||
spawn class_0A0C_slot_32(pid, 0x07D0, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 0x07D0, 0x00000000);
|
||||
suspend;
|
||||
|
||||
block_02CA:
|
||||
suspend;
|
||||
class_0A0C_slot_20(pid, 100);
|
||||
spawn class_0A0C_slot_32((retval + 60), 0x00000000);
|
||||
FREE.slot_20(pid, 100);
|
||||
spawn FREE.waitNTimerTicks((retval + 60), 0x00000000);
|
||||
suspend;
|
||||
if (!Item.getFrame(arg_06)) goto block_036A;
|
||||
|
||||
|
|
@ -25,17 +25,17 @@ function wea_boot_enterFastArea() /* entry=251 class_id=0x045B slot=0x0F */
|
|||
if (counter <= 4) goto block_036A;
|
||||
|
||||
block_032A:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
goto block_0322;
|
||||
|
||||
block_036A:
|
||||
class_0A0C_slot_20(100);
|
||||
FREE.slot_20(100);
|
||||
if (retval > 50) goto block_03FF;
|
||||
|
||||
block_0380:
|
||||
class_0A0C_slot_20(2);
|
||||
FREE.slot_20(2);
|
||||
ran = (retval + 1);
|
||||
counter = 0;
|
||||
|
||||
|
|
@ -43,8 +43,8 @@ function wea_boot_enterFastArea() /* entry=251 class_id=0x045B slot=0x0F */
|
|||
if (counter <= ran) goto block_03FC;
|
||||
|
||||
block_03A4:
|
||||
class_0A0C_slot_20(pid, 10);
|
||||
spawn class_0A0C_slot_32((retval + 30), 0x00000000);
|
||||
FREE.slot_20(pid, 10);
|
||||
spawn FREE.waitNTimerTicks((retval + 30), 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
goto block_0399;
|
||||
|
|
@ -59,7 +59,7 @@ function wea_boot_enterFastArea() /* entry=251 class_id=0x045B slot=0x0F */
|
|||
if (counter <= 4) goto block_0451;
|
||||
|
||||
block_040E:
|
||||
spawn class_0A0C_slot_32(pid, 15, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 15, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
goto block_0406;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@ function wea_boot_leaveFastArea() /* entry=251 class_id=0x045B slot=0x10 */
|
|||
{
|
||||
set_info(0x021C, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
FREE.slot_33(0x021B, *(arg_06));
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue