summaryrefslogtreecommitdiff
path: root/world/map/npc/013-2
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/013-2')
-rw-r--r--world/map/npc/013-2/notes.txt32
-rw-r--r--world/map/npc/013-2/wizard.txt6
2 files changed, 37 insertions, 1 deletions
diff --git a/world/map/npc/013-2/notes.txt b/world/map/npc/013-2/notes.txt
index 3a0215b9..f412668b 100644
--- a/world/map/npc/013-2/notes.txt
+++ b/world/map/npc/013-2/notes.txt
@@ -39,6 +39,10 @@ L_Close:
set @fixedMirror, 1;
callfunc "useMirror";
close;
+
+OnInit:
+ set .IS_MAGIC, 1;
+ end;
}
// Warp to wood clearings
@@ -72,6 +76,10 @@ L_PlaceThree:
L_Close:
set @dest, 0;
close;
+
+OnInit:
+ set .IS_MAGIC, 1;
+ end;
}
// Warp to desert
@@ -104,6 +112,10 @@ L_PlaceThree:
L_Close:
set @dest, 0;
close;
+
+OnInit:
+ set .IS_MAGIC, 1;
+ end;
}
// Warp to snow area
@@ -135,6 +147,10 @@ L_Cave:
L_Close:
set @dest, 0;
close;
+
+OnInit:
+ set .IS_MAGIC, 1;
+ end;
}
// Warp to Inns
@@ -166,6 +182,10 @@ L_PlaceThree:
L_Close:
set @dest, 0;
close;
+
+OnInit:
+ set .IS_MAGIC, 1;
+ end;
}
// Warp to mines
@@ -197,6 +217,10 @@ L_PlaceThree:
L_Close:
set @dest, 0;
close;
+
+OnInit:
+ set .IS_MAGIC, 1;
+ end;
}
// Death
@@ -208,6 +232,10 @@ L_Close:
next;
heal -Hp, 0;
close;
+
+OnInit:
+ set .IS_MAGIC, 1;
+ end;
}
// Naked
@@ -219,4 +247,8 @@ L_Close:
next;
nude;
close;
+
+OnInit:
+ set .IS_MAGIC, 1;
+ end;
}
diff --git a/world/map/npc/013-2/wizard.txt b/world/map/npc/013-2/wizard.txt
index 13f3fc9c..7a3fd822 100644
--- a/world/map/npc/013-2/wizard.txt
+++ b/world/map/npc/013-2/wizard.txt
@@ -1,4 +1,4 @@
-013-2,66,39,0|script|Old Wizard#_W|116
+013-2,66,39,0|script|Old Wizard|116
{
set @has_magic, getskilllv(SKILL_MAGIC);
set MAGIC_FLAGS, MAGIC_FLAGS | MFLAG_KNOWS_OLD_WIZARD;
@@ -155,4 +155,8 @@ L_Agree:
L_Close:
set @has_magic, 0;
close;
+
+OnInit:
+ set .IS_MAGIC, 1;
+ end;
}