From 3a3da54f80316707cd35b818490f1bf3cf324bd6 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 10 Dec 2022 20:42:10 -0300 Subject: Get rid of GUARDS_DONE_BITARRAY too --- npc/003-1/lieutenantdausen.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/npc/003-1/lieutenantdausen.txt b/npc/003-1/lieutenantdausen.txt index 76db334fc..6d0bbcd8c 100644 --- a/npc/003-1/lieutenantdausen.txt +++ b/npc/003-1/lieutenantdausen.txt @@ -557,7 +557,7 @@ function script CheckGuard { if ($@GM_OVERRIDE) npctalk3 l("Hello, I am G-@@, of the @@ order.", .@guard_id, $@GuardBits[.@guard_id]); - if (GUARDS_DONE_BITARRAY & $@GuardBits[.@guard_id]) + if (getq3(TulimsharQuest_WaterForGuard) & $@GuardBits[.@guard_id]) { mesn; mesq l("Thanks for help! Other guards may need help too!"); @@ -565,7 +565,7 @@ function script CheckGuard { } else { while (.@count_tmp < 18) { - if (GUARDS_DONE_BITARRAY & $@GuardBits[.@count_tmp]) + if (getq3(TulimsharQuest_WaterForGuard) & $@GuardBits[.@count_tmp]) .@guard_count = (.@guard_count + 1); .@count_tmp = (.@count_tmp + 1); @@ -580,7 +580,7 @@ function script CheckGuard { getexp 32, 2; Zeny = (Zeny + 30); - GUARDS_DONE_BITARRAY = GUARDS_DONE_BITARRAY | $@GuardBits[.@guard_id]; + setq3 TulimsharQuest_WaterForGuard, getq3(TulimsharQuest_WaterForGuard) | $@GuardBits[.@guard_id]; setq2 TulimsharQuest_WaterForGuard, .@guard_count; // Update questlog if (.@guard_count >= 17) { -- cgit v1.2.3-60-g2f50