summaryrefslogtreecommitdiff
path: root/npc/021-4
diff options
context:
space:
mode:
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;
+}