summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--world/map/npc/013-2/wizard.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/world/map/npc/013-2/wizard.txt b/world/map/npc/013-2/wizard.txt
index edd7a768..f4e81a72 100644
--- a/world/map/npc/013-2/wizard.txt
+++ b/world/map/npc/013-2/wizard.txt
@@ -102,8 +102,6 @@ L_AstralSoul:
L_Next:
if (countitem("Pearl") < 1 || countitem("Acorn") < 100) goto L_NotEnough;
- delitem "Pearl", 1;
- delitem "Acorn", 100;
mes "[Old Wizard]";
mes "\"Okay, listen:\"";
next;
@@ -113,6 +111,9 @@ L_Next:
next;
mes "The old wizard mumbles some invocations";
next;
+ if (countitem("Pearl") < 1 || countitem("Acorn") < 100) goto L_NotEnough;
+ delitem "Pearl", 1;
+ delitem "Acorn", 100;
set @SUP_lvl, 1;
set @SUP_id, SKILL_ASTRAL_SOUL;
set @SUP_name$, "Astral Soul";