Pseudocode decompialtion improvements and docs

This commit is contained in:
MaddoScientisto 2026-03-26 22:10:48 +01:00
commit 589bfc31ef
1898 changed files with 60634 additions and 6597 deletions

View file

@ -6,15 +6,15 @@ function bart_use() /* entry=117 class_id=0x01F5 slot=0x01 */
set_info(0x0207, *(arg_06));
process_exclude();
class_0A0C_slot_33(0x021B, *(arg_06));
FREE.slot_33(0x021B, *(arg_06));
while (Item.getFrame(arg_06) <= 1) {
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
}
spawn class_0A0C_slot_21(pid, 0x00E8, 0x00000000);
spawn FREE.slot_21(pid, 0x00E8, 0x00000000);
suspend;
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
spawn class_01F5_enterFastArea(arg_06);
spawn BART.enterFastArea(arg_06);
return;
}

View file

@ -12,14 +12,14 @@ function bart_enterFastArea() /* entry=117 class_id=0x01F5 slot=0x0F */
block_01E2:
suspend;
class_0A0C_slot_20(100);
FREE.slot_20(100);
if (retval > 50) goto block_0318;
block_0205:
class_0A0C_slot_20(pid, 120);
spawn class_0A0C_slot_32((retval + 60), 0x00000000);
FREE.slot_20(pid, 120);
spawn FREE.waitNTimerTicks((retval + 60), 0x00000000);
suspend;
class_0A0C_slot_20(5);
FREE.slot_20(5);
rndNum = (retval + 4);
counter = 0;
@ -33,7 +33,7 @@ function bart_enterFastArea() /* entry=117 class_id=0x01F5 slot=0x0F */
if (counter2 <= 7) goto block_02B6;
block_0276:
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter2 = (1 + counter2);
goto block_026E;
@ -45,7 +45,7 @@ function bart_enterFastArea() /* entry=117 class_id=0x01F5 slot=0x0F */
if (counter2 <= 7) goto block_0308;
block_02C5:
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter2 = (1 + counter2);
goto block_02BD;
@ -64,14 +64,14 @@ function bart_enterFastArea() /* entry=117 class_id=0x01F5 slot=0x0F */
if (counter <= 16) goto block_0367;
block_0327:
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_031F;
block_0367:
class_0A0C_slot_20(pid, 60);
spawn class_0A0C_slot_32((retval + 60), 0x00000000);
FREE.slot_20(pid, 60);
spawn FREE.waitNTimerTicks((retval + 60), 0x00000000);
suspend;
counter = 0;
@ -79,14 +79,14 @@ function bart_enterFastArea() /* entry=117 class_id=0x01F5 slot=0x0F */
if (counter <= 3) goto block_03EA;
block_03A7:
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_039F;
block_03EA:
class_0A0C_slot_20(pid, 120);
spawn class_0A0C_slot_32((retval + 60), 0x00000000);
FREE.slot_20(pid, 120);
spawn FREE.waitNTimerTicks((retval + 60), 0x00000000);
suspend;
counter = 0;
@ -94,7 +94,7 @@ function bart_enterFastArea() /* entry=117 class_id=0x01F5 slot=0x0F */
if (counter <= 14) goto block_046D;
block_042A:
spawn class_0A0C_slot_32(pid, 10, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
counter = (1 + counter);
goto block_0422;