summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/001-2-20/_import.txt1
-rw-r--r--npc/001-2-20/_warps.txt1
-rw-r--r--npc/001-2-20/doors.txt33
3 files changed, 35 insertions, 0 deletions
diff --git a/npc/001-2-20/_import.txt b/npc/001-2-20/_import.txt
index d4fdd96ae..b888e3ea0 100644
--- a/npc/001-2-20/_import.txt
+++ b/npc/001-2-20/_import.txt
@@ -1 +1,2 @@
npc: npc/001-2-20/_warps.txt
+npc: npc/001-2-20/doors.txt
diff --git a/npc/001-2-20/_warps.txt b/npc/001-2-20/_warps.txt
index dba7282e0..dd15df57f 100644
--- a/npc/001-2-20/_warps.txt
+++ b/npc/001-2-20/_warps.txt
@@ -1 +1,2 @@
// 001-2-20
+001-2-20,33,35,0 warp ToArtis#001-2-20 0,0,001-1,107,50
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;
+}