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,22 +11,17 @@ function deathbox_equip() /* entry=289 class_id=0x04E7 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
if (!(Item.getStatus(arg_06) & 0x1000)) {
return;
}
else {
spawn class_0A0C_slot_32(pid, 12, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 12, 0x00000000);
suspend;
class_0A1E_slot_23(0x1000, arg_06);
ITEM.slot_23(0x1000, arg_06);
if (var == 2) {
/* loopscr value_u8=0x24 */
/* loopscr value_u8=0x3D */
/* loopscr value_u8=0x40 */
/* loopscr value_u8=0x25 */
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
while (!condition) {
for sswitch in nearby_items(shape=48, origin=arg_06) {
if (Item.getQLo(sswitch) == 10) {
a = Item.getFrame(sswitch);
}
@ -37,13 +32,13 @@ function deathbox_equip() /* entry=289 class_id=0x04E7 slot=0x0A */
/* loopnext */
}
if ((b == 4) && (a != 0)) {
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
spawn class_0A18_slot_20(pid, 0x0080, *(arg_06), arg_06);
spawn TRIGGER.slot_20(pid, 0x0080, *(arg_06), arg_06);
suspend;
}
}
class_0A1E_slot_24(0x1000, arg_06);
ITEM.slot_24(0x1000, arg_06);
}
return;
}