summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/002-1/doors.txt15
-rw-r--r--npc/002-4/doors.txt15
2 files changed, 30 insertions, 0 deletions
diff --git a/npc/002-1/doors.txt b/npc/002-1/doors.txt
new file mode 100644
index 000000000..14b32518b
--- /dev/null
+++ b/npc/002-1/doors.txt
@@ -0,0 +1,15 @@
+// TMW2 Scripts.
+// Author:
+// Jesusalva
+// Description:
+// Doors NPCs.
+
+002-1,72,30,0 script AreaNPC#002-1d NPC_HIDDEN,0,0,{
+
+OnTouch:
+ if (LOCATION$ == "")
+ warp "002-3", 42, 26;
+ else
+ warp "002-3@"+LOCATION$, 42, 26;
+ close;
+}
diff --git a/npc/002-4/doors.txt b/npc/002-4/doors.txt
new file mode 100644
index 000000000..b8162cdd1
--- /dev/null
+++ b/npc/002-4/doors.txt
@@ -0,0 +1,15 @@
+// TMW2 Scripts.
+// Author:
+// Jesusalva
+// Description:
+// Doors NPCs.
+
+002-4,19,27,0 script AreaNPC#002-4d NPC_HIDDEN,0,0,{
+
+OnTouch:
+ if (LOCATION$ == "")
+ warp "002-3", 43, 28;
+ else
+ warp "002-3@"+LOCATION$, 43, 28;
+ close;
+}