From be184457e230467d2c7b6c59882acec0ebd750cf Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 10 Dec 2022 20:36:11 -0300 Subject: Get rid of STARTAREA --- npc/005-3/barrel.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'npc/005-3') 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; -- cgit v1.2.3-70-g09d2