From bc66a98377575c7c8e9592e50cbdcf083d6ecaff Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Fri, 28 Jun 2013 11:41:36 -0700 Subject: Refactor all calls within an if, which is illegal --- world/map/npc/016-1/gwendolyn.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'world/map/npc/016-1/gwendolyn.txt') diff --git a/world/map/npc/016-1/gwendolyn.txt b/world/map/npc/016-1/gwendolyn.txt index f3ae3f7e..47b8e463 100644 --- a/world/map/npc/016-1/gwendolyn.txt +++ b/world/map/npc/016-1/gwendolyn.txt @@ -79,7 +79,7 @@ L_fee: set Zeny, Zeny - @SCHOOLFEE; set @Q_hawkseye, 2; - callsub S_Update_Var; + callsub S_Update_Var; mes "[Gwendolyn Bowmaker]"; mes "\"The first thing you need is, obviously, a bow. You should not use any you come across, but a high quality one. I think it would be best to go to Alan in Hurnscald. He is my cousin, and knows how to make Forest Bows of exquisite quality. \""; @@ -101,7 +101,7 @@ L_state2: goto L_bow_bought; set @Q_hawkseye, 3; - callsub S_Update_Var; + callsub S_Update_Var; mes "[Gwendolyn Bowmaker]"; mes "\"Very well, this looks fine. It is time for your first lesson. \""; next; @@ -142,7 +142,7 @@ L_state3: getexp @QUEST_EGG_EXP, 0; set @Q_hawkseye, 4; - callsub S_Update_Var; + callsub S_Update_Var; mes "[Gwendolyn Bowmaker]"; mes "\"Very well. That will make a great meal.\""; @@ -157,7 +157,7 @@ L_state4: next; set @Q_hawkseye, 5; - callsub S_Update_Var; + callsub S_Update_Var; mes "[Gwendolyn Bowmaker]"; mes "\"Ok. You have made great progress. I think you are ready for further tasks.\""; next; @@ -432,7 +432,7 @@ L_target_hit: if( rand(500) > (2*readparam(bDex) + readparam(bAgi))) goto L_target_nohit; set @Q_hawkseye, 6; - callsub S_Update_Var; + callsub S_Update_Var; setskill SKILL_MALLARDS_EYE, 1; getexp @QUEST_HAWK_EXP, 0; @@ -465,13 +465,13 @@ L_state1: L_no_student: mes "\"That's a pity. Well, if you change your mind, come back any time.\""; set @Q_hawkseye, 1; - callsub S_Update_Var; + callsub S_Update_Var; goto L_Close; L_no_money: mes "\"I am sorry, but it seems that you don't have enough money. Come back when you have reorganized your finances.\""; set @Q_hawkseye, 1; - callsub S_Update_Var; + callsub S_Update_Var; goto L_Close; L_no_bow: -- cgit v1.2.3-60-g2f50