summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/001-2-33/_import.txt1
-rw-r--r--npc/001-2-33/doors.txt60
2 files changed, 61 insertions, 0 deletions
diff --git a/npc/001-2-33/_import.txt b/npc/001-2-33/_import.txt
index 10aeaa6c..f41e28a4 100644
--- a/npc/001-2-33/_import.txt
+++ b/npc/001-2-33/_import.txt
@@ -1,4 +1,5 @@
// Map 001-2-33
npc: npc/001-2-33/_warps.txt
+npc: npc/001-2-33/doors.txt
npc: npc/001-2-33/mapflags.txt
npc: npc/001-2-33/triggers.txt
diff --git a/npc/001-2-33/doors.txt b/npc/001-2-33/doors.txt
new file mode 100644
index 00000000..a7d81850
--- /dev/null
+++ b/npc/001-2-33/doors.txt
@@ -0,0 +1,60 @@
+// Evol scripts.
+// Authors:
+// 4144, Reid
+// Description:
+// Doors warp and animations in map 001-2-33
+//
+
+001-2-33,29,31,0 script #LeftWarp-001-2-33 NPC_HIDDEN,0,0,{
+OnTouch:
+ warp "001-2-33", 39, 33;
+ close;
+
+OnUnTouch:
+ doevent "#LeftWarp-001-2-33::OnUnTouch";
+}
+
+001-2-33,29,31,0 script #LeftDoor-001-2-33 NPC_ARTIS_IN_DOOR,1,2,{
+ close;
+
+OnTouch:
+ doorTouch;
+
+OnUnTouch:
+ doorUnTouch;
+
+OnTimer340:
+ doorTimer;
+
+OnInit:
+ .sex = G_OTHER;
+ .distance = 5;
+ end;
+}
+
+001-2-33,39,31,0 script #RightWarp-001-2-33 NPC_HIDDEN,0,0,{
+OnTouch:
+ warp "001-2-33", 29, 33;
+ close;
+
+OnUnTouch:
+ doevent "#RightWarp-001-2-33::OnUnTouch";
+}
+
+001-2-33,39,31,0 script #RightDoor-001-2-33 NPC_ARTIS_IN_DOOR,1,2,{
+ close;
+
+OnTouch:
+ doorTouch;
+
+OnUnTouch:
+ doorUnTouch;
+
+OnTimer340:
+ doorTimer;
+
+OnInit:
+ .sex = G_OTHER;
+ .distance = 5;
+ end;
+}