summaryrefslogtreecommitdiff
path: root/npc/001-1/doors.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/001-1/doors.txt')
-rw-r--r--npc/001-1/doors.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/npc/001-1/doors.txt b/npc/001-1/doors.txt
index 3664f837..4d3886e0 100644
--- a/npc/001-1/doors.txt
+++ b/npc/001-1/doors.txt
@@ -56,3 +56,30 @@ OnTimer340:
if (getnpcdir ("") == 4) setnpcdir 8;
end;
}
+
+001-1.gat,69,77,0 script #Door3 906,1,1{
+ close;
+
+OnTouchFirst:
+ setnpcdir 2;
+ stopnpctimer;
+ initnpctimer;
+ close;
+
+OnUnTouchAll:
+ setnpcdir 4;
+ initnpctimer;
+ startnpctimer;
+ close;
+
+OnTouchCenter:
+ warp "001-2-2", 38, 38;
+ close;
+
+OnTimer340:
+ stopnpctimer;
+ if (getnpcdir ("") == 2) setnpcdir 6;
+ if (getnpcdir ("") == 4) setnpcdir 8;
+ end;
+}
+