Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -7,15 +7,15 @@ function reb_coup_equip() /* entry=187 class_id=0x034D slot=0x0A */
|
|||
|
||||
set_info(0x0211, *(arg_06));
|
||||
process_exclude();
|
||||
class_0A0C_slot_33(0x021B, *(arg_06));
|
||||
FREE.slot_33(0x021B, *(arg_06));
|
||||
if (!val) {
|
||||
if (!(Item.getStatus(arg_06) & 0x1000)) {
|
||||
return;
|
||||
}
|
||||
class_0A1E_slot_23(0x1000, arg_06);
|
||||
ITEM.slot_23(0x1000, arg_06);
|
||||
counter = Item.getFrame(arg_06);
|
||||
while (counter > 9) {
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
}
|
||||
|
|
@ -24,12 +24,12 @@ function reb_coup_equip() /* entry=187 class_id=0x034D slot=0x0A */
|
|||
else {
|
||||
counter = 0;
|
||||
while (counter > 9) {
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
}
|
||||
class_0A1E_slot_24(0x1000, arg_06);
|
||||
spawn class_034D_enterFastArea(arg_06);
|
||||
ITEM.slot_24(0x1000, arg_06);
|
||||
spawn REB_COUP.enterFastArea(arg_06);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ function reb_coup_enterFastArea() /* entry=187 class_id=0x034D slot=0x0F */
|
|||
|
||||
block_00EB:
|
||||
suspend;
|
||||
spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 60, 30), 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 60, 30), 0x00000000);
|
||||
suspend;
|
||||
counter = 0;
|
||||
|
||||
|
|
@ -18,13 +18,13 @@ function reb_coup_enterFastArea() /* entry=187 class_id=0x034D slot=0x0F */
|
|||
if (counter <= 4) goto block_0176;
|
||||
|
||||
block_0136:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
goto block_012E;
|
||||
|
||||
block_0176:
|
||||
spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 60, 30), 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 60, 30), 0x00000000);
|
||||
suspend;
|
||||
counter = 0;
|
||||
|
||||
|
|
@ -32,7 +32,7 @@ function reb_coup_enterFastArea() /* entry=187 class_id=0x034D slot=0x0F */
|
|||
if (counter <= 4) goto block_01F7;
|
||||
|
||||
block_01B4:
|
||||
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
goto block_01AC;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue