summaryrefslogtreecommitdiff
path: root/world/map/npc/048-2/helperMSilk.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/048-2/helperMSilk.txt')
-rw-r--r--world/map/npc/048-2/helperMSilk.txt13
1 files changed, 5 insertions, 8 deletions
diff --git a/world/map/npc/048-2/helperMSilk.txt b/world/map/npc/048-2/helperMSilk.txt
index d2db14a5..7ed3bf47 100644
--- a/world/map/npc/048-2/helperMSilk.txt
+++ b/world/map/npc/048-2/helperMSilk.txt
@@ -6,7 +6,6 @@
048-2,104,103,0|script|Janika|363
{
- set @investigate, ((QUEST_BlueSage & $@Q_BlueSageInvestigate_MASK) >> $@Q_BlueSageInvestigate_SHIFT);
set @silk_amount, 80;
set @silk_exp, 10000;
@@ -47,9 +46,9 @@ L_NoItem:
goto L_Close;
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:
@@ -74,10 +73,9 @@ L_Visitor:
next;
mes "She shakes her head.";
mes "\"Sometimes I think it'd be better not to allow visitors here. But the sages set a high value on keeping contact with the population. Politics.\"";
- if ((@investigate != 3) && (@investigate != 6) && (@investigate != 9))
+ if ((QL_BSAGE_INVESTIGATE != 3) && (QL_BSAGE_INVESTIGATE != 6) && (QL_BSAGE_INVESTIGATE != 9))
goto L_Close;
- set @investigate, @investigate + 1;
- callfunc "updateBlueSageInvestigate";
+ set QL_BSAGE_INVESTIGATE, QL_BSAGE_INVESTIGATE + 1;
goto L_Close;
L_Helper:
@@ -86,7 +84,6 @@ L_Helper:
goto L_Close;
L_Close:
- set @investigate, 0;
set @silk_amount, 0;
set @silk_exp, 0;
close;