summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/games/card_flip.asm6
1 files changed, 4 insertions, 2 deletions
diff --git a/engine/games/card_flip.asm b/engine/games/card_flip.asm
index a87be3dae..59c8b9ceb 100644
--- a/engine/games/card_flip.asm
+++ b/engine/games/card_flip.asm
@@ -41,7 +41,7 @@ _CardFlip:
ld bc, 1 tiles
call CopyBytes
- call CardFlip_ShiftDigitsLeftTwoPixels
+ call CardFlip_ShiftDigitsUpOnePixel
call CardFlip_InitTilemap
call CardFlip_InitAttrPals
call EnableLCD
@@ -594,7 +594,9 @@ CardFlip_CopyOAM:
jr nz, .loop
ret
-CardFlip_ShiftDigitsLeftTwoPixels:
+CardFlip_ShiftDigitsUpOnePixel:
+; The top rows of digits 1-9 become the bottom rows of 0-8,
+; so this routine relies on the top rows being blank.
ld de, vTiles0 tile "0"
ld hl, vTiles0 tile "0" + 2
ld bc, 10 tiles - 2