summaryrefslogtreecommitdiff
path: root/npc/006-0
diff options
context:
space:
mode:
Diffstat (limited to 'npc/006-0')
-rw-r--r--npc/006-0/_import.txt2
-rw-r--r--npc/006-0/_warps.txt3
-rw-r--r--npc/006-0/warpcandorbattle.txt17
3 files changed, 22 insertions, 0 deletions
diff --git a/npc/006-0/_import.txt b/npc/006-0/_import.txt
index 4957943c3..8e1618778 100644
--- a/npc/006-0/_import.txt
+++ b/npc/006-0/_import.txt
@@ -1,2 +1,4 @@
// Map 006-0: Candor's Underground, 1F
// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/006-0/_warps.txt",
+"npc/006-0/warpcandorbattle.txt",
diff --git a/npc/006-0/_warps.txt b/npc/006-0/_warps.txt
new file mode 100644
index 000000000..42c187325
--- /dev/null
+++ b/npc/006-0/_warps.txt
@@ -0,0 +1,3 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 006-0: Candor's Underground, 1F warps
+006-0,49,54,0 warp #006-0_49_54 0,0,005-1,66,63
diff --git a/npc/006-0/warpcandorbattle.txt b/npc/006-0/warpcandorbattle.txt
new file mode 100644
index 000000000..20ef44ee2
--- /dev/null
+++ b/npc/006-0/warpcandorbattle.txt
@@ -0,0 +1,17 @@
+// TMW2 Script
+// Author:
+// Crazyfefe
+// Jesusalva
+
+006-0,54,35,0 script Magic Barrier NPC_HIDDEN,0,0,{
+ end;
+
+OnTouch:
+ if (BaseLevel >= 20 && !$@FEFE_CAVE_LEVEL)
+ warp "006-1", 49, 53;
+ else if (BaseLevel < 20)
+ npctalk3 l("You don't have the required level to pass this barrier.");
+ else
+ npctalk3 l("You can't pass this barrier while people are fighting inside!");
+ end;
+}