Crusader_Decomp/USECODE/EUSECODE_extracted/pseudocode/SLIDEFLR/slot_0B_unequip.txt

16 lines
421 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 FREE.waitNTimerTicks(pid, 4, 0x00000000);
suspend;
}
}
while (!AudioProcess.isSFXPlayingForObject(81, arg_06)) {
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
}
return;
}