From e671636bba211b30a15b86bf748989b6e61dcf0a Mon Sep 17 00:00:00 2001 From: Rangi Date: Mon, 18 Feb 2019 11:35:28 -0500 Subject: [PATCH] Card Flip digits are shifted 1px up, not 2px left --- engine/games/card_flip.asm | 6 ++++-- 1 file 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