summaryrefslogtreecommitdiff
path: root/npc/001-6
diff options
context:
space:
mode:
Diffstat (limited to 'npc/001-6')
-rw-r--r--npc/001-6/_import.txt1
-rw-r--r--npc/001-6/warp.txt26
2 files changed, 27 insertions, 0 deletions
diff --git a/npc/001-6/_import.txt b/npc/001-6/_import.txt
index 253c63e14..5520b7f3a 100644
--- a/npc/001-6/_import.txt
+++ b/npc/001-6/_import.txt
@@ -1,3 +1,4 @@
// Map 001-6: Cave Of Trials
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/001-6/_mobs.txt",
+"npc/001-6/warp.txt",
diff --git a/npc/001-6/warp.txt b/npc/001-6/warp.txt
new file mode 100644
index 000000000..07b941014
--- /dev/null
+++ b/npc/001-6/warp.txt
@@ -0,0 +1,26 @@
+// TMW2 Scripts
+// Author:
+// Jesusalva
+// Description:
+// TODO
+
+
+001-6,159,157,0 script Soren Village NPC_SUMMONING_CIRC,0,0,{
+ end;
+
+OnTouch:
+ dispbottom l("Loading warp, be at this spot in 15 seconds.");
+ addtimer 15000, "Soren Village::OnWarper";
+ end;
+
+OnWarper:
+ if (isin("001-6", 159, 157, 159, 157) && !ispcdead() )
+ warp "soren", 179, 76;
+ else
+ dispbottom l("Failed to warp to Soren Village.");
+ end;
+
+OnInit:
+ .sex = G_OTHER;
+ end;
+}