summaryrefslogtreecommitdiff
path: root/npc/001-2-20/doors.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/001-2-20/doors.txt')
-rw-r--r--npc/001-2-20/doors.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/npc/001-2-20/doors.txt b/npc/001-2-20/doors.txt
new file mode 100644
index 000000000..91bb10d77
--- /dev/null
+++ b/npc/001-2-20/doors.txt
@@ -0,0 +1,33 @@
+// Evol scripts.
+// Authors:
+// 4144, Reid
+// Description:
+// Doors warp and animations in map 001-1
+//
+
+001-2-20,29,26,0 script #MerchantRoomWarp1 32767,0,0,{
+OnTouch:
+ warp "001-2-19", 41, 55;
+ close;
+
+OnUnTouch:
+ doevent "#Door1::OnUnTouch";
+}
+
+001-2-20,29,25,0 script #MerchantRoomDoor1 908,2,3,{
+ close;
+
+OnTouch:
+ doorTouch;
+
+OnUnTouch:
+ doorUnTouch;
+
+OnTimer340:
+ doorTimer;
+
+OnInit:
+ setnpcsex G_MALE;
+ setnpcdistance 5;
+ end;
+}