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,17 @@
function chest_on_use() /* entry=316 class_id=0x054A slot=0x01 */
{
set_info(0x0207, *(arg_06));
process_exclude();
if (Item.getFrame(arg_06) <= 9) {
return;
}
else {
spawn FREE.slot_49(pid, *(arg_06), 0x00000000);
suspend;
/* dword_to_word */
if (!process_result) {
ITEM.slot_24(0x1000, arg_06);
}
}
return;
}

View file

@ -0,0 +1,17 @@
function chest_on_gotHit() /* entry=316 class_id=0x054A slot=0x06 */
{
set_info(0x020C, *(arg_06));
process_exclude();
FREE.slot_35(arg_0C, arg_0A);
if (retval) {
return;
}
else if (Item.getFrame(arg_06) >= 10) {
FREE.slot_35(arg_0C, arg_0A);
if (!retval) {
spawn ITEM.slot_2A(pid, 0, 0, arg_06);
suspend;
}
}
return;
}