Save another 3 bytes

This commit is contained in:
Olli Savia 2020-07-13 12:09:01 +03:00 committed by greg-king5
parent 306f421aa9
commit e2ec517aae

View file

@ -270,16 +270,14 @@ PATTERN_SOLID:
@NEXT_COLUMN: @NEXT_COLUMN:
sta (tmp2),y sta (tmp2),y
adc #ROWS
iny iny
cpy #COLS adc #ROWS
bne @NEXT_COLUMN bcc @NEXT_COLUMN
; Step to next row on screen. ; Step to next row on screen.
lda tmp2 lda tmp2
clc adc #COLS-1 ; Carry is set
adc #COLS
sta tmp2 sta tmp2
inx inx