mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Card Flip digits are shifted 1px up, not 2px left
This commit is contained in:
parent
d342bf9b45
commit
e671636bba
@ -41,7 +41,7 @@ _CardFlip:
|
|||||||
ld bc, 1 tiles
|
ld bc, 1 tiles
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
|
|
||||||
call CardFlip_ShiftDigitsLeftTwoPixels
|
call CardFlip_ShiftDigitsUpOnePixel
|
||||||
call CardFlip_InitTilemap
|
call CardFlip_InitTilemap
|
||||||
call CardFlip_InitAttrPals
|
call CardFlip_InitAttrPals
|
||||||
call EnableLCD
|
call EnableLCD
|
||||||
@ -594,7 +594,9 @@ CardFlip_CopyOAM:
|
|||||||
jr nz, .loop
|
jr nz, .loop
|
||||||
ret
|
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 de, vTiles0 tile "0"
|
||||||
ld hl, vTiles0 tile "0" + 2
|
ld hl, vTiles0 tile "0" + 2
|
||||||
ld bc, 10 tiles - 2
|
ld bc, 10 tiles - 2
|
||||||
|
Loading…
Reference in New Issue
Block a user