summaryrefslogtreecommitdiff
path: root/world/map/npc/035-2/koga.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/035-2/koga.txt')
-rw-r--r--world/map/npc/035-2/koga.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/world/map/npc/035-2/koga.txt b/world/map/npc/035-2/koga.txt
new file mode 100644
index 00000000..b9e0969d
--- /dev/null
+++ b/world/map/npc/035-2/koga.txt
@@ -0,0 +1,33 @@
+// Dock
+
+035-2.gat,39,29,0|script|#KogaExit|45,0,1,
+{
+ mes "Disembark the ferry for "+$@MainDocks$[$@MainCurrentDock]+"?";
+ menu
+ "Yes.", L_Leave,
+ "Nevermind", L_Close;
+
+L_Leave:
+ if ($@MainCurrentDock == 0)
+ goto L_Hurnscald;
+ if ($@MainCurrentDock == 1)
+ goto L_Nivalis;
+ if ($@MainCurrentDock == 2)
+ goto L_Tulimshar;
+ goto L_Close;
+
+L_Tulimshar:
+ warp "022-1.gat", 76, 72;
+ goto L_Close;
+
+L_Hurnscald:
+ warp "008-1.gat", 137, 64;
+ goto L_Close;
+
+L_Nivalis:
+ warp "031-1.gat", 95, 109;
+ goto L_Close;
+
+L_Close:
+ close;
+}