From 2baeabe2292a8bb1200dd57fef8504c1a83c7fa4 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 7 Jun 2018 11:27:12 -0300 Subject: To Soren Village warp. I'm sort of in hurry though --- npc/001-6/_import.txt | 1 + npc/001-6/warp.txt | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 npc/001-6/warp.txt (limited to 'npc') 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; +} -- cgit v1.2.3-60-g2f50