summaryrefslogtreecommitdiff
path: root/world/map/npc/048-2/helperJanitor.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/048-2/helperJanitor.txt')
-rw-r--r--world/map/npc/048-2/helperJanitor.txt15
1 files changed, 6 insertions, 9 deletions
diff --git a/world/map/npc/048-2/helperJanitor.txt b/world/map/npc/048-2/helperJanitor.txt
index 0d0d884b..babfa5e2 100644
--- a/world/map/npc/048-2/helperJanitor.txt
+++ b/world/map/npc/048-2/helperJanitor.txt
@@ -4,13 +4,11 @@
// Elias is the janitor of the mansion
// part of investigation subquest, gives initial hint on the visitor with the mask
-048-2,40,41,0|script|Elias|365
+048-2,40,41,0|script|Elias|110
{
- set @investigate, ((QUEST_BlueSage & $@Q_BlueSageInvestigate_MASK) >> $@Q_BlueSageInvestigate_SHIFT);
-
- if (@investigate == 11) goto L_Thank;
- if ((@investigate == 4) || (@investigate == 7) || (@investigate == 10)) goto L_Confirmed;
- if ((@investigate == 3) || (@investigate == 6) || (@investigate == 9)) goto L_Worry;
+ if (QL_BSAGE_INVESTIGATE == 11) goto L_Thank;
+ if ((QL_BSAGE_INVESTIGATE == 4) || (QL_BSAGE_INVESTIGATE == 7) || (QL_BSAGE_INVESTIGATE == 10)) goto L_Confirmed;
+ if ((QL_BSAGE_INVESTIGATE == 3) || (QL_BSAGE_INVESTIGATE == 6) || (QL_BSAGE_INVESTIGATE == 9)) goto L_Worry;
if (QUEST_BlueSage > 0) goto L_ShortHello;
mes "[Elias]";
@@ -33,7 +31,7 @@ L_ShortHello:
mes "[Elias]";
mes "\"Welcome back. I heard you're helping with the cleanup efforts in the library.";
mes "Thank you very much.\"";
- if ((@investigate != 2) && (@investigate != 5) && (@investigate != 8))
+ if ((QL_BSAGE_INVESTIGATE != 2) && (QL_BSAGE_INVESTIGATE != 5) && (QL_BSAGE_INVESTIGATE != 8))
goto L_Close;
menu
"Can you tell me if there were any unusual visitors before the accident?",L_Next;
@@ -48,7 +46,7 @@ L_Next:
mes "[Elias]";
mes "\"Do you think he may have had something to do with the accident? We're a very hospitable house, so I didn't see a reason to deny him the entrance. I mean, his mask might have been a bit unusual, but hey, there could've been many reasons why someone would wear a mask, don't you think?\"";
- set @investigate, @investigate + 1;
+ set QL_BSAGE_INVESTIGATE, QL_BSAGE_INVESTIGATE + 1;
callfunc "updateBlueSageInvestigate";
menu
@@ -76,6 +74,5 @@ L_Thank:
goto L_Close;
L_Close:
- set @investigate, 0;
close;
}