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

@ -7,12 +7,12 @@ function camerans_gotHit() /* entry=90 class_id=0x01B8 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
class_0A0C_slot_2B(vel, ref);
FREE.slot_2B(vel, ref);
if (retval && (Item.getFrame(arg_06) == 9)) {
class_0A0C_slot_33(0x021B, *(arg_06));
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
FREE.slot_33(0x021B, *(arg_06));
spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
}
return;

View file

@ -27,7 +27,7 @@ function camerans_enterFastArea() /* entry=90 class_id=0x01B8 slot=0x0F */
if (!Item.isOnScreen(arg_06)) goto block_0162;
block_0139:
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
goto block_0126;
@ -43,12 +43,12 @@ function camerans_enterFastArea() /* entry=90 class_id=0x01B8 slot=0x0F */
if (!Item.isOnScreen(arg_06)) goto block_01C0;
block_0197:
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
goto block_0184;
block_01C0:
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
if (getTargetNPCNumMaybe() != 0) goto block_0204;
@ -74,11 +74,11 @@ function camerans_enterFastArea() /* entry=90 class_id=0x01B8 slot=0x0F */
if ((trackedEnough > iSeeYou) && (!(Item.getStatus(arg_06) & 0x1000))) goto block_030D;
block_02A3:
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
class_0A1E_slot_23(0x1000, arg_06);
ITEM.slot_23(0x1000, arg_06);
block_030D:
goto block_03B1;
@ -89,7 +89,7 @@ function camerans_enterFastArea() /* entry=90 class_id=0x01B8 slot=0x0F */
block_0325:
movement = 1;
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_0393;
@ -98,7 +98,7 @@ function camerans_enterFastArea() /* entry=90 class_id=0x01B8 slot=0x0F */
block_0363:
movement = -1;
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_0393;
@ -133,7 +133,7 @@ function camerans_enterFastArea() /* entry=90 class_id=0x01B8 slot=0x0F */
block_0418:
movement = 1;
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_0486;
@ -142,7 +142,7 @@ function camerans_enterFastArea() /* entry=90 class_id=0x01B8 slot=0x0F */
block_0456:
movement = -1;
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_0486;

View file

@ -2,7 +2,7 @@ function camerans_leaveFastArea() /* entry=90 class_id=0x01B8 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
class_0A0C_slot_33(0x021B, *(arg_06));
FREE.slot_33(0x021B, *(arg_06));
/* bit_not */
return;
}