summaryrefslogtreecommitdiff
path: root/engine/time.asm
diff options
context:
space:
mode:
authorxCrystal <rgr.crystal@gmail.com>2017-12-28 13:15:46 +0100
committerxCrystal <rgr.crystal@gmail.com>2017-12-28 13:15:46 +0100
commit9457679af8d36a140db7b8832df595e8310e6bb4 (patch)
treed3bf8b1b424582f66add4f2b8d95f409cfafecb2 /engine/time.asm
parente2b378f5e32ea1416fbc9ac5e96d23be244e4a6b (diff)
Prefix engine_flags wram addresses with w
Diffstat (limited to 'engine/time.asm')
-rwxr-xr-xengine/time.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/time.asm b/engine/time.asm
index 61ef614c3..799a24f49 100755
--- a/engine/time.asm
+++ b/engine/time.asm
@@ -101,7 +101,7 @@ CheckDailyResetTimer:: ; 11452
call CheckDayDependentEventHL
ret nc
xor a
- ld hl, DailyFlags
+ ld hl, wDailyFlags
ld [hli], a
ld [hli], a
ld [hli], a
@@ -226,14 +226,14 @@ CheckUnusedTwoDayTimer: ; 1150c
; 1151c
; XXX
- ld hl, DailyFlags
+ ld hl, wDailyFlags
set 2, [hl]
ret
; 11522
; XXX
and a
- ld hl, DailyFlags
+ ld hl, wDailyFlags
bit 2, [hl]
ret nz
scf