summaryrefslogtreecommitdiff
path: root/npc/003-1/magic.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-1/magic.txt')
-rw-r--r--npc/003-1/magic.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/npc/003-1/magic.txt b/npc/003-1/magic.txt
new file mode 100644
index 000000000..1cd76a50b
--- /dev/null
+++ b/npc/003-1/magic.txt
@@ -0,0 +1,18 @@
+// TMW2 scripts.
+// Authors:
+// Jesusalva
+// Description:
+// Controlled Warp to Magic School (+whatever magic stuff we need to add later)
+
+003-1,34,33,0 script #MagicSchoolGate1 NPC_HIDDEN,0,0,{
+ end;
+OnTouch:
+ if (countitem(JesusalvaGrimorium) <= 0 || $MAGIC_LVL < 2) {
+ slide 36, 39;
+ percentheal -5, -10;
+ dispbottom l("Powerful magic repels you away from this magic place!");
+ } else {
+ warp "003-0", 48, 51;
+ }
+ end;
+}