summaryrefslogtreecommitdiff
path: root/engine/events/overworld.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/events/overworld.asm')
-rw-r--r--engine/events/overworld.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/events/overworld.asm b/engine/events/overworld.asm
index 15c00bb6..9350fb1e 100644
--- a/engine/events/overworld.asm
+++ b/engine/events/overworld.asm
@@ -282,7 +282,7 @@ FlashFunction:
farcall CheckBadge
jr c, .nozephyrbadge
ld a, [wTimeOfDayPalset]
- cp %11111111 ; 3, 3, 3, 3
+ cp DARKNESS_PALSET
jr nz, .notadarkcave
.useflash
call UseFlash