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

@ -8,13 +8,13 @@ function motion_gotHit() /* entry=89 class_id=0x01B7 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
class_0A0C_slot_2B(vel, ref);
FREE.slot_2B(vel, ref);
num = retval;
if (((num == 3) || (num != 6)) && (Item.getFrame(arg_06) != 5)) {
class_0A0C_slot_33(0x021B, *(arg_06));
spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
FREE.slot_33(0x021B, *(arg_06));
spawn ITEM.slot_28(pid, 0, 0, arg_06);
suspend;
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
return;

View file

@ -19,7 +19,7 @@ function motion_enterFastArea() /* entry=89 class_id=0x01B7 slot=0x0F */
block_0112:
suspend;
spawn class_0A0C_slot_32(pid, delay, 0x00000000);
spawn FREE.waitNTimerTicks(pid, delay, 0x00000000);
suspend;
/* global_address global_id=0x3C */
/* global_address global_id=0x3C */
@ -33,7 +33,7 @@ function motion_enterFastArea() /* entry=89 class_id=0x01B7 slot=0x0F */
block_01BA:
foundTarget = 1;
spawn class_0A18_slot_20(0, *(arg_06), arg_06);
spawn TRIGGER.slot_20(0, *(arg_06), arg_06);
block_01D7:
goto block_02A1;
@ -58,7 +58,7 @@ function motion_enterFastArea() /* entry=89 class_id=0x01B7 slot=0x0F */
block_0223:
movement = 1;
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_0291;
@ -67,7 +67,7 @@ function motion_enterFastArea() /* entry=89 class_id=0x01B7 slot=0x0F */
block_0261:
movement = -1;
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
goto block_0291;

View file

@ -2,6 +2,6 @@ function motion_leaveFastArea() /* entry=89 class_id=0x01B7 slot=0x10 */
{
set_info(0x021C, *(arg_06));
process_exclude();
class_0A0C_slot_33(0x021B, *(arg_06));
FREE.slot_33(0x021B, *(arg_06));
return;
}