diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-12-10 20:36:11 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-12-10 20:36:11 -0300 |
commit | be184457e230467d2c7b6c59882acec0ebd750cf (patch) | |
tree | f8440312ebfedea7fa710465dc418938d70a3f69 /npc/005-3 | |
parent | 48f7c8e533a12c345fc28ad5cbc47281ead9b039 (diff) | |
download | serverdata-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.txt | 6 |
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; |