summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/021-3/doors.txt2
-rw-r--r--npc/021-4/_import.txt3
-rw-r--r--npc/021-4/doors.txt16
3 files changed, 19 insertions, 2 deletions
diff --git a/npc/021-3/doors.txt b/npc/021-3/doors.txt
index 21bf277e6..6624d07f1 100644
--- a/npc/021-3/doors.txt
+++ b/npc/021-3/doors.txt
@@ -8,7 +8,7 @@
021-3,24,123,0 script #0213_Logic NPC_NO_SPRITE,1,0,{
if ($@CINDY_STATE > gettimetick(2)) goto L_Safe;
if ($@CINDY_STATE % 2 == 0) goto L_Blocked;
- warp "021-4", 0, 0;
+ warp "021-4", 43, 20;
end;
L_Blocked:
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;
+}