Commit 780a0456 authored by Scott Duensing's avatar Scott Duensing

REALLY dumb bug fixed in map rendering.

parent 1a68ad9e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment