summaryrefslogtreecommitdiff
path: root/engine/battle_start.asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-12-14 11:12:18 -0500
committerPikalaxALT <PikalaxALT@gmail.com>2015-12-14 11:12:18 -0500
commitc635e30777ba57e3fd4249862fd562936d0d47bd (patch)
tree7686a09931e78c5d01e43f557c3dabc60eeed6fe /engine/battle_start.asm
parent8a439dbd0509d37c8d29e340a6544b3c09be4a72 (diff)
map setup and warps
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]