Skip to content

Commit c287378

Browse files
committed
playfieldAddr already 0, save 2 bytes
1 parent 58373f0 commit c287378

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modes/crunch.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ advanceGameCrunch:
3838
dec generalCounter
3939
bpl @nextRow
4040

41-
; restore playfieldAddr and set vramRow for rendering
41+
; set vramRow to render entire playfield
4242
lda #$00
4343
sta vramRow
44-
sta playfieldAddr
4544
crunchReturn:
4645
rts
4746

4847
; for init only. row determined by generalCounter
48+
; playfieldAddr ends restored to 0 as top row is done last
4949
advanceSidesInit:
5050
ldy generalCounter
5151
lda multBy10Table,y

0 commit comments

Comments
 (0)