summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-02 16:10:08 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-02 16:10:08 -0300
commitafa190616650a240b2e0eb8e3bc38c9d6e73abb4 (patch)
tree05e37a179fe7d151b3012c297f3ef14d368500a3
parent6672a71807e3131a2030fb855f34b1f8bddc1e34 (diff)
downloadserverdata-afa190616650a240b2e0eb8e3bc38c9d6e73abb4.tar.gz
serverdata-afa190616650a240b2e0eb8e3bc38c9d6e73abb4.tar.bz2
serverdata-afa190616650a240b2e0eb8e3bc38c9d6e73abb4.tar.xz
serverdata-afa190616650a240b2e0eb8e3bc38c9d6e73abb4.zip
[skip ci] More debug required
-rw-r--r--npc/000-1/exit.txt16
1 files changed, 10 insertions, 6 deletions
diff --git a/npc/000-1/exit.txt b/npc/000-1/exit.txt
index d0cddd15c..4c1d8cd80 100644
--- a/npc/000-1/exit.txt
+++ b/npc/000-1/exit.txt
@@ -12,8 +12,8 @@ OnTalkNearby:
.@lx=array_find($@LOCAMASTER_LOC$, LOCATION$);
debugmes "%s is %d", LOCATION$, .@lx;
if (.@lx >= 0) {
- warp $@LOCMASTER_MAP$[.@lx], $@LOCMASTER_X[.@lx], $@LOCMASTER_Y[.@lx];
- debugmes "%s (%d , %d)", $@LOCMASTER_MAP$[.@lx], $@LOCMASTER_X[.@lx], $@LOCMASTER_Y[.@lx];
+ warp .LOCMASTER_MAP$[.@lx], .LOCMASTER_X[.@lx], .LOCMASTER_Y[.@lx];
+ debugmes "%s (%d , %d)", .LOCMASTER_MAP$[.@lx], .LOCMASTER_X[.@lx], .LOCMASTER_Y[.@lx];
end;
}
@@ -25,10 +25,14 @@ OnTalkNearby:
end;
OnInit:
- setarray $@LOCMASTER_LOC$, "Candor", "Tulim", "Halin", "Hurns", "LoF", "Nival"; // 018-5 Lilit 024-1 Frostia
- setarray $@LOCMASTER_MAP$, "005-1", "003-1", "009-1", "012-1", "017-1", "020-1";
- setarray $@LOCMASTER_X, 34, 40, 26, 86, 119, 56;
- setarray $@LOCMASTER_Y, 101, 49, 30, 69, 87, 62;
+ setarray .LOCMASTER_LOC$, "Candor", "Tulim", "Halin", "Hurns", "LoF", "Nival"; // 018-5 Lilit 024-1 Frostia
+ setarray .LOCMASTER_MAP$, "005-1", "003-1", "009-1", "012-1", "017-1", "020-1";
+ setarray .LOCMASTER_X, 34, 40, 26, 86, 119, 56;
+ setarray .LOCMASTER_Y, 101, 49, 30, 69, 87, 62;
+
+ debugmes "Locmaster: Index 0: %s [%s.gat (%d, %d)]", .LOCMASTER_LOC$[0], .LOCMASTER_MAP$[0], .LOCMASTER_X[0], .LOCMASTER_Y[0];
+ debugmes "Locmaster: Index 2: %s [%s.gat (%d, %d)]", .LOCMASTER_LOC$[2], .LOCMASTER_MAP$[2], .LOCMASTER_X[2], .LOCMASTER_Y[2];
+ debugmes "Locmaster: Index 5: %s [%s.gat (%d, %d)]", .LOCMASTER_LOC$[5], .LOCMASTER_MAP$[5], .LOCMASTER_X[5], .LOCMASTER_Y[5];
end;
}