summaryrefslogtreecommitdiff
path: root/engine/battle_start.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle_start.asm')
-rw-r--r--engine/battle_start.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle_start.asm b/engine/battle_start.asm
index 4ef26cae3..69b08fb41 100644
--- a/engine/battle_start.asm
+++ b/engine/battle_start.asm
@@ -264,8 +264,8 @@ StartTrainerBattle_Flash: ; 8c3ab (23:43ab)
ret
.DoFlashAnimation: ; 8c3b3 (23:43b3)
- ld a, [wd847]
- cp -1
+ ld a, [wTimeOfDayPalset]
+ cp %11111111 ; dark cave
jr z, .done
ld hl, wcf64
ld a, [hl]