File tree Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ drawFloor:
9
9
; x10
10
10
lda multBy10Table , x
11
11
tax
12
- ; draw block tiles ($7B )
13
- lda #BLOCK_TILES
12
+ ; draw block tiles+3 ($7E )
13
+ lda #BLOCK_TILES + 3
14
14
@ loop :
15
15
sta playfield + $ 46 , X
16
16
inx
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ playState_checkForCompletedRows:
102
102
tax
103
103
ldy multBy10Table,x
104
104
ldx #$0A
105
- lda #BLOCK_TILES
105
+ lda #BLOCK_TILES+ 3
106
106
@drawFloorSurface:
107
107
sta playfield,y
108
108
iny
Original file line number Diff line number Diff line change
1
+ levelUpPossible = generalCounter3
2
+
1
3
playState_updateLinesAndStatistics:
2
4
jsr updateMusicSpeed
3
5
lda completedLines
4
6
bne @linesCleared
5
7
jmp addPoints
6
8
7
9
@linesCleared:
10
+ ldy #$00
11
+ sty levelUpPossible
8
12
tax
9
13
dec lineClearStatsByType-1 ,x
10
14
bpl @noCarry
@@ -75,6 +79,7 @@ checkLevelUp:
75
79
and #$0F
76
80
bne @lineLoop
77
81
82
+ inc levelUpPossible ; used by floorcap check below
78
83
lda practiseType
79
84
cmp #MODE_TAPQTY
80
85
beq @lineLoop
@@ -115,7 +120,7 @@ checkLevelUp:
115
120
lda crashState
116
121
ora #$08
117
122
sta crashState
118
- lda #$06 ; checked in floor linecap stuff, just below
123
+ lda #$06
119
124
sta soundEffectSlot1Init
120
125
lda renderFlags
121
126
ora #RENDER_LEVEL
@@ -167,10 +172,9 @@ checkLinecap: ; set linecapState
167
172
lda linecapState
168
173
cmp #LINECAP_FLOOR
169
174
bne @floorLinecapEnd
170
- ; check level up sound is happening
171
- lda soundEffectSlot1Init
172
- cmp #6
173
- bne @floorLinecapEnd
175
+ ; check level up was possible
176
+ lda levelUpPossible
177
+ beq @floorLinecapEnd
174
178
lda #$A
175
179
sta garbageHole
176
180
lda #1
You can’t perform that action at this time.
0 commit comments