summaryrefslogtreecommitdiff
path: root/npc/003-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-12-10 20:42:10 -0300
committerJesusaves <cpntb1@ymail.com>2022-12-10 20:42:10 -0300
commit3a3da54f80316707cd35b818490f1bf3cf324bd6 (patch)
tree75f52dd2ad8e23031d0537705f0a27b24f672620 /npc/003-1
parentbe184457e230467d2c7b6c59882acec0ebd750cf (diff)
downloadserverdata-3a3da54f80316707cd35b818490f1bf3cf324bd6.tar.gz
serverdata-3a3da54f80316707cd35b818490f1bf3cf324bd6.tar.bz2
serverdata-3a3da54f80316707cd35b818490f1bf3cf324bd6.tar.xz
serverdata-3a3da54f80316707cd35b818490f1bf3cf324bd6.zip
Get rid of GUARDS_DONE_BITARRAY too
Diffstat (limited to 'npc/003-1')
-rw-r--r--npc/003-1/lieutenantdausen.txt6
1 files 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) {