summaryrefslogtreecommitdiff
path: root/npc/021-4
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-10-22 19:08:14 -0200
committerJesusaves <cpntb1@ymail.com>2018-10-22 19:08:14 -0200
commit18b93c1fa43116b8d958a06f289dac26550de870 (patch)
tree721f47b18675fa5e7967a6189c33f99f95832bf5 /npc/021-4
parentf85cfc3aeb5427b75d16e61d13d19b85c8cedb0f (diff)
downloadserverdata-18b93c1fa43116b8d958a06f289dac26550de870.tar.gz
serverdata-18b93c1fa43116b8d958a06f289dac26550de870.tar.bz2
serverdata-18b93c1fa43116b8d958a06f289dac26550de870.tar.xz
serverdata-18b93c1fa43116b8d958a06f289dac26550de870.zip
Missing warp file
Diffstat (limited to 'npc/021-4')
-rw-r--r--npc/021-4/_import.txt3
-rw-r--r--npc/021-4/doors.txt16
2 files changed, 18 insertions, 1 deletions
diff --git a/npc/021-4/_import.txt b/npc/021-4/_import.txt
index e8ce88ab9..bf86c09e5 100644
--- a/npc/021-4/_import.txt
+++ b/npc/021-4/_import.txt
@@ -1,4 +1,5 @@
// Map 021-4: Cindy Cave
// This file is generated automatically. All manually added changes will be removed when running the Converter.
-"npc/021-3/main.txt",
+"npc/021-4/doors.txt",
+"npc/021-4/main.txt",
"npc/021-4/mapflags.txt",
diff --git a/npc/021-4/doors.txt b/npc/021-4/doors.txt
new file mode 100644
index 000000000..d45397041
--- /dev/null
+++ b/npc/021-4/doors.txt
@@ -0,0 +1,16 @@
+// TMW2 scripts.
+// Authors:
+// The Mana World Team
+// Jesusalva
+// Description:
+// Cave logic
+
+021-4,43,19,0 script #Leave0214 NPC_NO_SPRITE,0,0,{
+ if ($@CINDY_STATE % 2 == 0) goto L_Blocked;
+ warp "021-3", 24, 123;
+ end;
+
+L_Blocked:
+ dispbottom l("You cannot leave this room until either ALL yetis are dead, or you are dead yourself.");
+ end;
+}