Skip to content

Commit 303a93f

Browse files
Merge pull request #122 from zohassadar/harddrop_fix
Clear harddropBuffer before hard drop
2 parents 3155e03 + 5654a0b commit 303a93f

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)