summaryrefslogtreecommitdiff
path: root/npc/000-1/exit.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-04 02:12:58 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-04 02:12:58 -0300
commit38adc7b0500091fabadba5281f5526ff7fd60966 (patch)
tree978fd732e57d46ad15f1e01f048582c939d9047c /npc/000-1/exit.txt
parent120666894beaa238845cd146409afa0c06a17690 (diff)
downloadserverdata-38adc7b0500091fabadba5281f5526ff7fd60966.tar.gz
serverdata-38adc7b0500091fabadba5281f5526ff7fd60966.tar.bz2
serverdata-38adc7b0500091fabadba5281f5526ff7fd60966.tar.xz
serverdata-38adc7b0500091fabadba5281f5526ff7fd60966.zip
Mechanic-wise, implement Warp Crystals and ensure they work
Diffstat (limited to 'npc/000-1/exit.txt')
-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";