summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}