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

@ -11,7 +11,7 @@ function trigpad_gotHit() /* entry=273 class_id=0x04CD slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
a = ref;
class_0A0C_slot_2B(vel, ref);
FREE.slot_2B(vel, ref);
if (!retval) {
return;
}
@ -22,19 +22,19 @@ function trigpad_gotHit() /* entry=273 class_id=0x04CD slot=0x06 */
return;
}
else {
spawn class_0A0C_slot_32(pid, 1, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 1, 0x00000000);
suspend;
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
while (!(1)) {
if (Item.getSurfaceWeight(arg_06) == 0) {
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
else {
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
@ -43,16 +43,16 @@ function trigpad_gotHit() /* entry=273 class_id=0x04CD slot=0x06 */
/* loop current_var=0xFA string_bytes=0x6 loop_type=0x6 */
while (!condition) {
while (!(Item.getStatus(elev) & 0x1000)) {
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
spawn class_0A0C_slot_32(pid, 120, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 120, 0x00000000);
suspend;
/* global_address global_id=0x3C */
if (Item.getZ() >= (Item.getZ(elev) - 5)) {
class_0A09_slot_21(Item.getZ(elev), elev);
ELEVAT.slot_21(Item.getZ(elev), elev);
if (!retval) {
spawn class_0A09_slot_20(elev);
spawn ELEVAT.slot_20(elev);
}
}
/* loopnext */