30 lines
815 B
Text
30 lines
815 B
Text
function special_enterFastArea() /* entry=272 class_id=0x04CA slot=0x0F */
|
|
{
|
|
var
|
|
referent, /* [BP+00h] type=0x69 */
|
|
mapNum, /* [BP-02h] type=0x69 */
|
|
npcNum; /* [BP-04h] type=0x69 */
|
|
|
|
set_info(0x021B, *(arg_06));
|
|
process_exclude();
|
|
if (!Item.getQHi(arg_06)) {
|
|
mapNum = Item.getMapArray(arg_06);
|
|
npcNum = Item.getNPCNum(arg_06);
|
|
if (mapNum == 1) {
|
|
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
|
suspend;
|
|
spawn TRIGGER.slot_20(pid, (0x0080 + 0), *(arg_06), arg_06);
|
|
suspend;
|
|
}
|
|
if (npcNum == 1) {
|
|
spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
|
|
suspend;
|
|
spawn TRIGGER.slot_20(pid, (0x0080 + 1), *(arg_06), arg_06);
|
|
suspend;
|
|
}
|
|
if ((mapNum <= 2) || (npcNum > 2)) {
|
|
spawn SPECIAL.slot_21(arg_06);
|
|
}
|
|
}
|
|
return;
|
|
}
|