summaryrefslogtreecommitdiff
path: root/world/map/npc/016-1/gwendolyn.txt
diff options
context:
space:
mode:
authorjtoelke <jtoelke@gmx.de>2013-06-28 13:18:17 -0700
committerjtoelke <jtoelke@gmx.de>2013-06-28 13:18:17 -0700
commite8a4dddb3b54814713c411a094fc1a9b90492962 (patch)
tree3856e10b80ae965d42b477354a3e5d79c3b04cfb /world/map/npc/016-1/gwendolyn.txt
parentd6d562b4a7bf157a36c0560be4ec14f9f463aa86 (diff)
parentbc66a98377575c7c8e9592e50cbdcf083d6ecaff (diff)
downloadserverdata-e8a4dddb3b54814713c411a094fc1a9b90492962.tar.gz
serverdata-e8a4dddb3b54814713c411a094fc1a9b90492962.tar.bz2
serverdata-e8a4dddb3b54814713c411a094fc1a9b90492962.tar.xz
serverdata-e8a4dddb3b54814713c411a094fc1a9b90492962.zip
Merge pull request #20 from o11c/master
Refactor callfunc and callsub out of if statements
Diffstat (limited to 'world/map/npc/016-1/gwendolyn.txt')
-rw-r--r--world/map/npc/016-1/gwendolyn.txt14
1 files changed, 7 insertions, 7 deletions
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: