function sfxtrig_equip() /* entry=285 class_id=0x04E2 slot=0x0A */ { set_info(0x0211, *(arg_06)); process_exclude(); if (!(Item.getStatus(arg_06) & 0x1000)) { return; } else { ITEM.slot_23(0x1000, arg_06); while (!AudioProcess.isSFXPlayingForObject(arg_0A, arg_06)) { spawn FREE.waitNTimerTicks(pid, 2, 0x00000000); suspend; } ITEM.slot_24(0x1000, arg_06); } return; }