summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-07 11:27:12 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-07 11:27:12 -0300
commit2baeabe2292a8bb1200dd57fef8504c1a83c7fa4 (patch)
tree519c30849230234795c5761439486aa5aa10b803 /npc
parente356cf3db7cdc65bff7540d92b21581114b8dbd2 (diff)
downloadserverdata-2baeabe2292a8bb1200dd57fef8504c1a83c7fa4.tar.gz
serverdata-2baeabe2292a8bb1200dd57fef8504c1a83c7fa4.tar.bz2
serverdata-2baeabe2292a8bb1200dd57fef8504c1a83c7fa4.tar.xz
serverdata-2baeabe2292a8bb1200dd57fef8504c1a83c7fa4.zip
To Soren Village warp. I'm sort of in hurry though
Diffstat (limited to 'npc')
-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;
+}