summaryrefslogtreecommitdiff
path: root/npc/005-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-12-10 20:36:11 -0300
committerJesusaves <cpntb1@ymail.com>2022-12-10 20:36:11 -0300
commitbe184457e230467d2c7b6c59882acec0ebd750cf (patch)
treef8440312ebfedea7fa710465dc418938d70a3f69 /npc/005-3
parent48f7c8e533a12c345fc28ad5cbc47281ead9b039 (diff)
downloadserverdata-be184457e230467d2c7b6c59882acec0ebd750cf.tar.gz
serverdata-be184457e230467d2c7b6c59882acec0ebd750cf.tar.bz2
serverdata-be184457e230467d2c7b6c59882acec0ebd750cf.tar.xz
serverdata-be184457e230467d2c7b6c59882acec0ebd750cf.zip
Get rid of STARTAREA
Diffstat (limited to 'npc/005-3')
-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;