summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-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) {