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

@ -0,0 +1,27 @@
function keypadew_use() /* entry=247 class_id=0x044C slot=0x01 */
{
set_info(0x0207, *(arg_06));
process_exclude();
if (Item.getMapNum(arg_06) == 0) {
local_01 = (Item.getStatus(arg_06) & 4);
if (local_01 == 0) {
if (!World.getAlertActive()) {
spawn FREE.slot_21(pid, 0x0184, 0x00000000);
suspend;
spawn FREE.slot_3B(pid, 2, 0x00000000);
suspend;
spawn FREE.slot_21(pid, 0x0181, 0x00000000);
suspend;
return;
}
spawn KEYPAD.slot_20(pid, arg_06);
suspend;
}
else {
spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
}
return;
}
return;
}

View file

@ -0,0 +1,14 @@
function keypadew_cast() /* entry=247 class_id=0x044C slot=0x11 */
{
set_info(0x021D, *(arg_06));
process_exclude();
spawn FREE.slot_21(pid, 93, 0x00000000);
suspend;
spawn FREE.slot_3B(pid, 60, 0x00000000);
suspend;
spawn FREE.slot_21(pid, 0x0183, 0x00000000);
suspend;
spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
suspend;
return;
}