23 lines
577 B
Text
23 lines
577 B
Text
|
|
/* synthesized appendix for SWITCHEW */
|
|
/* sparse lines above preserve recovered debugger line numbers where available */
|
|
|
|
/* ===== slot 0x01 use ===== */
|
|
function switchew_use() /* entry=19 class_id=0x0061 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;
|
|
}
|