From 18b93c1fa43116b8d958a06f289dac26550de870 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 22 Oct 2018 19:08:14 -0200 Subject: Missing warp file --- npc/021-3/doors.txt | 2 +- npc/021-4/_import.txt | 3 ++- npc/021-4/doors.txt | 16 ++++++++++++++++ 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 npc/021-4/doors.txt (limited to 'npc') 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; +} -- cgit v1.2.3-60-g2f50