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 cameraco_gotHit() /* entry=88 class_id=0x01B6 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) == 5)) {
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 cameraco_enterFastArea() /* entry=88 class_id=0x01B6 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 cameraco_enterFastArea() /* entry=88 class_id=0x01B6 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 cameraco_enterFastArea() /* entry=88 class_id=0x01B6 slot=0x0F */
if ((trackedEnough > iSeeYou) && (!(Item.getStatus(arg_06) & 0x1000))) goto block_0310;
block_02A6:
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_0310:
goto block_03B4;
@ -89,7 +89,7 @@ function cameraco_enterFastArea() /* entry=88 class_id=0x01B6 slot=0x0F */
block_0328:
movement = 1;
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_0396;
@ -98,7 +98,7 @@ function cameraco_enterFastArea() /* entry=88 class_id=0x01B6 slot=0x0F */
block_0366:
movement = -1;
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_0396;
@ -133,7 +133,7 @@ function cameraco_enterFastArea() /* entry=88 class_id=0x01B6 slot=0x0F */
block_041E:
movement = 1;
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_048C;
@ -142,7 +142,7 @@ function cameraco_enterFastArea() /* entry=88 class_id=0x01B6 slot=0x0F */
block_045C:
movement = -1;
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_048C;

View file

@ -2,7 +2,7 @@ function cameraco_leaveFastArea() /* entry=88 class_id=0x01B6 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;
}