Crusader_Decomp/USECODE/EUSECODE_extracted/pseudocode/BART/slot_01_use.txt

20 lines
512 B
Text

function bart_use() /* entry=117 class_id=0x01F5 slot=0x01 */
{
var
referent, /* [BP+00h] type=0x69 */
counter; /* [BP-02h] type=0x69 */
set_info(0x0207, *(arg_06));
process_exclude();
FREE.slot_33(0x021B, *(arg_06));
while (Item.getFrame(arg_06) <= 1) {
spawn FREE.waitNTimerTicks(pid, 10, 0x00000000);
suspend;
}
spawn FREE.slot_21(pid, 0x00E8, 0x00000000);
suspend;
spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
suspend;
spawn BART.enterFastArea(arg_06);
return;
}