From c0ba38cd4b68491e28e467889804ebc09c9c002e Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Wed, 2 Apr 2014 11:06:32 -0700 Subject: Clean up main scripts --- world/map/npc/013-2/wizard.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'world/map/npc/013-2/wizard.txt') diff --git a/world/map/npc/013-2/wizard.txt b/world/map/npc/013-2/wizard.txt index 5f20d752..6f2fd8c7 100644 --- a/world/map/npc/013-2/wizard.txt +++ b/world/map/npc/013-2/wizard.txt @@ -10,7 +10,6 @@ "Thanks, that's very kind of you!", L_Thanks, "Can you teach me magic?", L_TeachRude, "Oh, shut up!", L_ShutUp; - goto L_Close; L_TeachRude: mes "[Old Wizard]"; @@ -31,7 +30,7 @@ L_Thanks: "Alright.", L_Agree, "I am studying magic, can you help?", L_NewStudent, "Your apprentice? ... No thanks.", L_Decline; - if (!@has_magic) + //else menu "Alright.", L_Agree, "Your apprentice? ... No thanks.", L_Decline; @@ -51,7 +50,7 @@ L_NewStudent: menu "That would be very kind of you!", L_TeachSpell, "No, but thank you!", L_Decline; - if (getskilllv(SKILL_POOL)) + //else menu "That would be very kind of you!", L_TeachSpell, "Actually I am looking for someone teaching me some more magic skills.", L_AstralSoul, @@ -84,8 +83,10 @@ L_AstralSoul: next; mes "\"To do so, I am in need of a pearl and about 100 acorns.\""; menu - "Here we go.", -, + "Here we go.", L_Next, "Ok be right back. I'll get them", L_Decline; + +L_Next: if (countitem("Pearl") < 1 || countitem("Acorn") < 100) goto L_NotEnough; delitem "Pearl", 1; delitem "Acorn", 100; -- cgit v1.2.3-60-g2f50