Skip to content

Commit 68f5c8f

Browse files
committed
save 11 bytes
1 parent 2415527 commit 68f5c8f

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

src/playstate/updatestats.asm

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -348,17 +348,11 @@ addLineClearPoints:
348348
bne @notMarathon
349349
lda startLevel
350350
@notMarathon:
351-
cmp #$FF
352-
bne @noverflow
353-
lda #1
354-
sta factorA24+1
355-
lda #0
356351
sta factorA24+0
357-
jmp @multSetupEnd
352+
inc factorA24+0
353+
bne @noverflow
354+
inc factorA24+1
358355
@noverflow:
359-
adc #1
360-
sta factorA24
361-
@multSetupEnd:
362356

363357
lda completedLines
364358
beq addLineClearPoints_end ; skip with 0 completed lines

0 commit comments

Comments
 (0)