25 lines
587 B
Text
25 lines
587 B
Text
function pplate2_equip() /* entry=80 class_id=0x0199 slot=0x0A */
|
|
{
|
|
var
|
|
referent, /* [BP+00h] type=0x69 */
|
|
var, /* [BP+0Ah] type=0x69 */
|
|
ff; /* [BP-02h] type=0x69 */
|
|
|
|
set_info(0x0211, *(arg_06));
|
|
process_exclude();
|
|
ff = Item.getFrame(arg_06);
|
|
if (!(ff & 1)) {
|
|
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
|
|
suspend;
|
|
spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
|
|
suspend;
|
|
return;
|
|
}
|
|
else {
|
|
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
|
|
suspend;
|
|
spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
|
|
suspend;
|
|
}
|
|
return;
|
|
}
|