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

16 lines
434 B
Text

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