24 lines
574 B
Text
24 lines
574 B
Text
function lazerew_equip() /* entry=83 class_id=0x019C slot=0x0A */
|
|
{
|
|
set_info(0x0211, *(arg_06));
|
|
process_exclude();
|
|
if (Item.getFrame(arg_06) >= 4) {
|
|
if (arg_0A == 1) {
|
|
spawn LAZEREW.slot_20(arg_06);
|
|
return;
|
|
}
|
|
else if (arg_0A <= 1) {
|
|
spawn LAZEREW.slot_20(arg_06);
|
|
spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
|
|
suspend;
|
|
ITEM.slot_24(0x1000, arg_06);
|
|
FREE.slot_33(0x0205, *(arg_06));
|
|
return;
|
|
}
|
|
else {
|
|
ITEM.slot_24(0x1000, arg_06);
|
|
FREE.slot_33(0x0205, *(arg_06));
|
|
}
|
|
}
|
|
return;
|
|
}
|