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,9 +7,9 @@ function alarmbox_use() /* entry=256 class_id=0x0477 slot=0x01 */
set_info(0x0207, *(arg_06));
process_exclude();
if (!World.getAlertActive()) {
spawn class_0A0C_slot_3C(0x00000000);
spawn FREE.slot_3C(0x00000000);
if (Item.getMapArray(arg_06) == 0) {
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
}

View file

@ -9,21 +9,21 @@ function alarmbox_equip() /* entry=256 class_id=0x0477 slot=0x0A */
process_exclude();
if (!var) {
if (World.getAlertActive()) {
spawn class_0A0C_slot_3B(0x00000000);
spawn FREE.slot_3B(0x00000000);
}
a = Item.getStatus(arg_06);
if ((a & 4) == 0) {
if (Item.getMapArray(arg_06) == 0) {
spawn class_0A18_slot_20(pid, 0, *(arg_06), arg_06);
spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
}
return;
}
else if (!World.getAlertActive()) {
spawn class_0A0C_slot_3C(0x00000000);
spawn FREE.slot_3C(0x00000000);
if (Item.getMapArray(arg_06) == 0) {
spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
suspend;
}
}