Usecode pseudocode

This commit is contained in:
MaddoScientisto 2026-03-26 00:37:17 +01:00
commit c12bb39437
1362 changed files with 71072 additions and 38056 deletions

View file

@ -1,28 +1,17 @@
function sfxtrig_equip() /* entry=285 class_id=0x04E2 slot=0x0A */
{
entry:
set_info(0x0211, *(arg_06));
process_exclude();
if (Item.getStatus(arg_06) & 0x1000) goto block_010A;
block_0104:
goto block_016F;
block_010A:
class_0A1E_slot_23(0x1000, arg_06);
block_0126:
if Item.touch(arg_0A, arg_06) goto block_0160;
block_0137:
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
goto block_0126;
block_0160:
class_0A1E_slot_24(0x1000, arg_06);
block_016F:
set_info(0x0211, *(arg_06));
process_exclude();
if (!(Item.getStatus(arg_06) & 0x1000)) {
return;
}
else {
class_0A1E_slot_23(0x1000, arg_06);
while (!AudioProcess.isSFXPlayingForObject(arg_0A, arg_06)) {
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
}
class_0A1E_slot_24(0x1000, arg_06);
}
return;
}