Skip to content

Commit 1aad0ee

Browse files
committed
fix tests
1 parent 941b8fc commit 1aad0ee

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/playstate/updatestats.asm

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,6 @@ checkLinecap: ; set linecapState
174174

175175
addPoints:
176176
inc playState
177-
addPointsRaw:
178-
.if NO_SCORING
179-
rts
180-
.endif
181177
lda practiseType
182178
cmp #MODE_CHECKERBOARD
183179
beq handlePointsCheckerboard
@@ -195,11 +191,18 @@ addPointsRaw:
195191
lda #4
196192
sta completedLines
197193
@notTapQuantity:
194+
198195
lda crashMode
199196
cmp #CRASH_OFF
200197
beq @crashDisabled
201198
jsr testCrash
202199
@crashDisabled:
200+
201+
addPointsRaw:
202+
.if NO_SCORING
203+
rts
204+
.endif
205+
203206
lda holdDownPoints
204207
cmp #$02
205208
bmi @noPushDown

src/ram.asm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,8 @@ oamStaging: .res $100 ; $0200 ; format: https://wiki.nesd
170170
statsByType: .res $E ; $03F0
171171
.res 2
172172
playfield: .res $c8 ; $0400
173-
.res $38
173+
.res $38 ; still technically part of playfield
174+
174175
.res $100 ; $500 ; 2 player playfield
175176

176177
practiseType: .res 1 ; $600

0 commit comments

Comments
 (0)