summaryrefslogtreecommitdiff
path: root/npc/000-1
diff options
context:
space:
mode:
Diffstat (limited to 'npc/000-1')
-rw-r--r--npc/000-1/exit.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/000-1/exit.txt b/npc/000-1/exit.txt
index b32e22548..fa80138f3 100644
--- a/npc/000-1/exit.txt
+++ b/npc/000-1/exit.txt
@@ -34,6 +34,12 @@ OnSetLX:
savepoint .LOCMASTER_MAP$[@lx], .LOCMASTER_X[@lx], .LOCMASTER_Y[@lx];
end;
+// Warp you according to LX
+OnVisitLX:
+ @lx=array_find(.LOCMASTER_LOC$, LOCATION$);
+ warp .LOCMASTER_MAP$[@lx], .LOCMASTER_X[@lx], .LOCMASTER_Y[@lx];
+ end;
+
OnInit:
setarray .LOCMASTER_LOC$, "Candor", "Tulim", "Halin", "Hurns", "LoF", "Lilit", "Nival", "Frostia";
setarray .LOCMASTER_MAP$, "005-1", "003-1", "009-1", "012-1", "017-1", "018-5", "020-1", "024-1";