File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
- levelUpPossible = generalCounter3
1
+ ; y reg tracks lines crossing multiple of 10 from @linesCleared until addPoints
2
2
3
3
playState_updateLinesAndStatistics:
4
4
jsr updateMusicSpeed
@@ -8,7 +8,6 @@ playState_updateLinesAndStatistics:
8
8
9
9
@linesCleared:
10
10
ldy #$00
11
- sty levelUpPossible
12
11
tax
13
12
dec lineClearStatsByType-1 ,x
14
13
bpl @noCarry
@@ -79,7 +78,7 @@ checkLevelUp:
79
78
and #$0F
80
79
bne @lineLoop
81
80
82
- inc levelUpPossible ; used by floorcap check below
81
+ iny ; used by floorcap check below
83
82
lda practiseType
84
83
cmp #MODE_TAPQTY
85
84
beq @lineLoop
@@ -173,7 +172,7 @@ checkLinecap: ; set linecapState
173
172
cmp #LINECAP_FLOOR
174
173
bne @floorLinecapEnd
175
174
; check level up was possible
176
- lda levelUpPossible
175
+ tya
177
176
beq @floorLinecapEnd
178
177
lda #$A
179
178
sta garbageHole
You can’t perform that action at this time.
0 commit comments