23 lines
578 B
Text
23 lines
578 B
Text
|
|
/* synthesized appendix for SWITCHNS */
|
|
/* sparse lines above preserve recovered debugger line numbers where available */
|
|
|
|
/* ===== slot 0x01 use ===== */
|
|
function switchns_use() /* entry=150 class_id=0x02A3 slot=0x01 */
|
|
{
|
|
set_info(0x0207, *(arg_06));
|
|
process_exclude();
|
|
spawn SWITCH.slot_21(arg_06);
|
|
if (Item.getMapNum(arg_06) == 0) {
|
|
if (Item.getFrame(arg_06) == 0) {
|
|
spawn TRIGGER.slot_20(pid, 0, *(arg_06), arg_06);
|
|
suspend;
|
|
return;
|
|
}
|
|
else {
|
|
spawn TRIGGER.slot_20(pid, 1, *(arg_06), arg_06);
|
|
suspend;
|
|
}
|
|
}
|
|
return;
|
|
}
|