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

@ -16,10 +16,10 @@ function elevator_gotHit() /* entry=124 class_id=0x021E slot=0x06 */
return;
}
else {
class_0A0C_slot_33(0x0220, 0);
FREE.slot_33(0x0220, 0);
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
/* global_address global_id=0x3C */
@ -54,28 +54,28 @@ function elevator_gotHit() /* entry=124 class_id=0x021E slot=0x06 */
}
if (lowQuality >= 16) {
/* global_address global_id=0x3C */
spawn class_021E_slot_20(Actor.getMap(pid, lowQuality), direction, arg_06);
spawn ELEVATOR.slot_20(Actor.getMap(pid, lowQuality), direction, arg_06);
suspend;
}
else if (lowQuality == 16) {
/* global_address global_id=0x3C */
spawn class_021E_slot_20(Actor.getMap(pid, 4), direction, arg_06);
spawn ELEVATOR.slot_20(Actor.getMap(pid, 4), direction, arg_06);
suspend;
}
else if (lowQuality == 17) {
spawn class_021E_slot_20(pid, 17, 10, direction, arg_06);
spawn ELEVATOR.slot_20(pid, 17, 10, direction, arg_06);
suspend;
}
else if (lowQuality == 18) {
spawn class_021E_slot_20(pid, 18, 24, direction, arg_06);
spawn ELEVATOR.slot_20(pid, 18, 24, direction, arg_06);
suspend;
}
/* global_address global_id=0x3C */
while (!Actor.isBusy()) {
spawn class_0A0C_slot_32(pid, 5, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
suspend;
}
class_0A0C_slot_33(0x0220, 0);
FREE.slot_33(0x0220, 0);
}
return;
}