Crusader_Decomp/USECODE/EUSECODE_extracted/pseudocode/SLIDEFLR/slot_0B_unequip.txt
2026-03-26 00:37:17 +01:00

16 lines
417 B
Text

function slideflr_unequip() /* entry=279 class_id=0x04D5 slot=0x0B */
{
set_info(0x0212, *(arg_06));
process_exclude();
if (Item.getFrame(arg_06) == 9) {
while (Item.getFrame(arg_06) == 2) {
spawn class_0A0C_slot_32(pid, 4, 0x00000000);
suspend;
}
}
while (!AudioProcess.isSFXPlayingForObject(81, arg_06)) {
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
suspend;
}
return;
}