aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/battle_transitions.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-11-05 16:55:42 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-11-05 16:55:42 -0500
commit3de7ab601d465581accfe3ff171aeed2808c9647 (patch)
treeab357b894c9457b3d1d38fd49300df34412168f8 /engine/battle/battle_transitions.asm
parentRemove trailing whitespace (diff)
downloadpokeyellow-3de7ab601d465581accfe3ff171aeed2808c9647.tar.gz
pokeyellow-3de7ab601d465581accfe3ff171aeed2808c9647.tar.xz
pokeyellow-3de7ab601d465581accfe3ff171aeed2808c9647.zip
Sync more with pokered
Diffstat (limited to 'engine/battle/battle_transitions.asm')
-rw-r--r--engine/battle/battle_transitions.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/battle_transitions.asm b/engine/battle/battle_transitions.asm
index 82c3318c..6d3a4f9c 100644
--- a/engine/battle/battle_transitions.asm
+++ b/engine/battle/battle_transitions.asm
@@ -355,7 +355,7 @@ BattleTransition_FlashScreenPalettes:
; used for low level trainer dungeon battles
BattleTransition_Shrink:
- ld c, 9
+ ld c, SCREEN_HEIGHT / 2
.loop
push bc
xor a
@@ -389,7 +389,7 @@ BattleTransition_Shrink:
; used for high level trainer dungeon battles
BattleTransition_Split:
- ld c, 9
+ ld c, SCREEN_HEIGHT / 2
xor a
ldh [hAutoBGTransferEnabled], a
.loop