Skip to content

Commit 5654a0b

Browse files
committed
Clear harddropBuffer before hard drop
1 parent fc90555 commit 5654a0b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/playstate/active.asm

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ harddrop_tetrimino:
4949
lda #0
5050
sta autorepeatY
5151
sta completedLines
52+
53+
ldy #$13
54+
@clearBuffer:
55+
sta harddropBuffer,y
56+
dey
57+
bpl @clearBuffer
58+
5259
jsr playState_lockTetrimino
5360

5461
; check for gameOver

0 commit comments

Comments
 (0)