Pseudocode decompialtion improvements and docs
This commit is contained in:
parent
f869a181a3
commit
589bfc31ef
1898 changed files with 60634 additions and 6597 deletions
|
|
@ -26,7 +26,7 @@ function cru_spid_use() /* entry=320 class_id=0x0560 slot=0x01 */
|
|||
lastAnim = Actor.getLastAnimSet();
|
||||
/* global_address global_id=0x3C */
|
||||
while (!Actor.isBusy()) {
|
||||
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
/* global_address global_id=0x3C */
|
||||
|
|
@ -121,11 +121,11 @@ function cru_spid_use() /* entry=320 class_id=0x0560 slot=0x01 */
|
|||
else {
|
||||
counter = 1;
|
||||
while (counter > 9) {
|
||||
spawn class_0A0C_slot_32(pid, 3, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 3, 0x00000000);
|
||||
suspend;
|
||||
counter = (1 + counter);
|
||||
}
|
||||
spawn class_0560_slot_20(mine, arg_06);
|
||||
spawn CRU_SPID.slot_20(mine, arg_06);
|
||||
}
|
||||
}
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -58,13 +58,13 @@ function cru_spid_slot_20() /* entry=320 class_id=0x0560 slot=0x20 */
|
|||
if ((counter2 == 20) && (local_09 > 4)) {
|
||||
local_09 = (local_09 - 4);
|
||||
if (!legalMoveToPoint(0, 1, wp, spider)) {
|
||||
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
counter2 = 0;
|
||||
}
|
||||
counter = (1 + counter);
|
||||
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
|
||||
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
||||
suspend;
|
||||
}
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue