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

16 lines
421 B
Text
Raw Normal View History

2026-03-25 23:32:36 +01:00
function slideflr_unequip() /* entry=279 class_id=0x04D5 slot=0x0B */
{
2026-03-26 00:37:17 +01:00
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);
2026-03-26 00:37:17 +01:00
suspend;
}
}
while (!AudioProcess.isSFXPlayingForObject(81, arg_06)) {
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
2026-03-25 23:32:36 +01:00
suspend;
2026-03-26 00:37:17 +01:00
}
return;
2026-03-25 23:32:36 +01:00
}