summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/003-0/wizard.txt2
-rw-r--r--npc/functions/siege.txt3
2 files changed, 3 insertions, 2 deletions
diff --git a/npc/003-0/wizard.txt b/npc/003-0/wizard.txt
index 60a6b2fc8..f9b4ab67b 100644
--- a/npc/003-0/wizard.txt
+++ b/npc/003-0/wizard.txt
@@ -136,7 +136,7 @@ L_Member:
setarray .@BItem, Sapphire, Emerald, Topaz, Ruby;
setarray .@ASkill$, "Ice", "Wind", "Earth", "Fire";
- .@index=@menu-4;
+ .@index=@menu-3;
.@Skill$=.@ASkill$[.@index];
.@Skill=.@ASkill[.@index];
diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt
index 284e1fb8b..2c1718853 100644
--- a/npc/functions/siege.txt
+++ b/npc/functions/siege.txt
@@ -170,7 +170,8 @@ function script siege_setup {
function script siege_revert {
.@m$=getarg(0);
- // Revert map zone and delete backup
+ // Revert map zone (to town, or to blank) and delete backup
+ removemapflag(.@m$,mf_zone);
setmapflag(.@m$,mf_zone,$@MZONE$[getmapinfo(MAPINFO_ID, .@m$)]);
$@MZONE$[getmapinfo(MAPINFO_ID, .@m$)]="";