summaryrefslogtreecommitdiff
path: root/world/map/npc/048-2/helperBookpages3.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/048-2/helperBookpages3.txt')
-rw-r--r--world/map/npc/048-2/helperBookpages3.txt13
1 files changed, 5 insertions, 8 deletions
diff --git a/world/map/npc/048-2/helperBookpages3.txt b/world/map/npc/048-2/helperBookpages3.txt
index 20d173e6..c519b139 100644
--- a/world/map/npc/048-2/helperBookpages3.txt
+++ b/world/map/npc/048-2/helperBookpages3.txt
@@ -6,7 +6,6 @@
048-2,99,87,0|script|Teuvo|366
{
- set @investigate, ((QUEST_BlueSage & $@Q_BlueSageInvestigate_MASK) >> $@Q_BlueSageInvestigate_SHIFT);
set @bookpages, ((QUEST_BlueSage & $@Q_BlueSageBookPages_MASK) >> $@Q_BlueSageBookPages_SHIFT);
if (@bookpages == 31) goto L_Thank;
@@ -28,9 +27,9 @@ L_Thank:
goto L_Investigate;
L_Investigate:
- if ((@investigate == 3) || (@investigate == 4)) goto L_Ask_Visitor;
- if ((@investigate == 5) || (@investigate == 8)) goto L_Ask_Helper;
- if ((@investigate == 6) || (@investigate == 7) || (@investigate == 9) || (@investigate == 10)) goto L_Ask_Both;
+ if ((QL_BSAGE_INVESTIGATE == 3) || (QL_BSAGE_INVESTIGATE == 4)) goto L_Ask_Visitor;
+ if ((QL_BSAGE_INVESTIGATE == 5) || (QL_BSAGE_INVESTIGATE == 8)) goto L_Ask_Helper;
+ if ((QL_BSAGE_INVESTIGATE == 6) || (QL_BSAGE_INVESTIGATE == 7) || (QL_BSAGE_INVESTIGATE == 9) || (QL_BSAGE_INVESTIGATE == 10)) goto L_Ask_Both;
goto L_Close;
L_Ask_Visitor:
@@ -58,14 +57,12 @@ L_Helper:
mes "[Teuvo]";
mes "\"Peetu? He's one of those magic wielders who think they can do anything. Heh, you see the result here.";
mes "But to be fair, from what I've seen Peetu was always very attentive and dutiful.\"";
- if ((@investigate != 5) && (@investigate != 6) && (@investigate != 7))
+ if ((QL_BSAGE_INVESTIGATE != 5) && (QL_BSAGE_INVESTIGATE != 6) && (QL_BSAGE_INVESTIGATE != 7))
goto L_Close;
- set @investigate, @investigate + 3;
- callfunc "updateBlueSageInvestigate";
+ set QL_BSAGE_INVESTIGATE, QL_BSAGE_INVESTIGATE + 3;
goto L_Close;
L_Close:
- set @investigate, 0;
set @bookpages, 0;
close;
}