summaryrefslogtreecommitdiff
path: root/npc/005-3/barrel.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/005-3/barrel.txt')
-rw-r--r--npc/005-3/barrel.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/005-3/barrel.txt b/npc/005-3/barrel.txt
index 160e779e8..6f49589bc 100644
--- a/npc/005-3/barrel.txt
+++ b/npc/005-3/barrel.txt
@@ -18,9 +18,9 @@ function script CheckBarrel {
@count_tmp = 0;
if ($@GM_OVERRIDE)
npctalk3 l("Hello, I am B-@@, of the @@ order.", @barrel, $@BarrelBits[@barrel]);
- if (STARTAREA & $@BarrelBits[@barrel])
+ if (getq2(CandorQuest_Barrel) & $@BarrelBits[@barrel])
goto L_Empty;
- STARTAREA = STARTAREA | $@BarrelBits[@barrel];
+ setq2 CandorQuest_Barrel, getq2(CandorQuest_Barrel) | $@BarrelBits[@barrel];
goto L_Loop;
@@ -50,7 +50,7 @@ L_BarrelTally:
L_Loop:
while (@count_tmp < 8) {
@count_tmp = (@count_tmp + 1);
- if (STARTAREA & $@BarrelBits[@count_tmp])
+ if (getq2(CandorQuest_Barrel) & $@BarrelBits[@count_tmp])
@barrel_count = (@barrel_count + 1);
}
goto L_BarrelTally;