REALLY dumb bug fixed in map rendering.

This commit is contained in:
Scott Duensing 2019-06-24 21:17:35 -05:00
parent 1a68ad9e6c
commit 780a045672

View file

@ -382,15 +382,15 @@ loopY equ 9
drawTop phy ; Keep Y for later
ldy offset ; Y is now offset into map data
lda [<mapData],y
and #$ff00 ; We only want 8 bits
lda [mapData],y
and #$00ff ; We only want 8 bits
sta tileX
iny
lda [<mapData],y
and #$ff00 ; We only want 8 bits
lda [mapData],y
and #$00ff ; We only want 8 bits
sta tileY
iny
sta offset
sty offset
ply ; Y is our loop counter again
phx ; Protect from clobbering