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

@ -14,7 +14,7 @@ function nostril_equip() /* entry=237 class_id=0x043E slot=0x0A */
/* loopscr value_u8=0x25 */
/* loop current_var=0xFE string_bytes=0x6 loop_type=0x6 */
while (!condition) {
spawn class_043E_slot_20(fire, arg_06);
spawn NOSTRIL.slot_20(fire, arg_06);
/* loopnext */
}
return;
@ -24,8 +24,8 @@ function nostril_equip() /* entry=237 class_id=0x043E slot=0x0A */
return;
}
else {
class_0A1E_slot_23(0x1000, arg_06);
spawn class_043E_slot_21(arg_06);
ITEM.slot_23(0x1000, arg_06);
spawn NOSTRIL.slot_21(arg_06);
return;
}
}

View file

@ -9,14 +9,14 @@ function nostril_slot_20() /* entry=237 class_id=0x043E slot=0x20 */
set_info(1, *(arg_06));
if (!getAnimationsDisabled()) {
while (Item.getFrame(fire2) == 21) {
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
}
else {
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
}
class_0A1E_slot_24(0x1000, arg_06);
ITEM.slot_24(0x1000, arg_06);
return;
}

View file

@ -7,16 +7,16 @@ function nostril_slot_21() /* entry=237 class_id=0x043E slot=0x21 */
count; /* [BP-06h] type=0x69 */
set_info(1, *(arg_06));
spawn class_0A0C_slot_32(UCMachine.rndRange(pid, 15, 0), 0x00000000);
spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 15, 0), 0x00000000);
suspend;
if (!getAnimationsDisabled()) {
while (Item.getFrame(fire) == 10) {
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
}
else {
spawn class_0A0C_slot_32(pid, 30, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
}
if (!getAnimationsDisabled()) {