Skip to content

Commit fba14ba

Browse files
Fixed unbricked paddle collision (#59)
1 parent 489e1cb commit fba14ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unbricked/collision/main.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,10 @@ BounceDone:
193193
ld a, [_OAMRAM + 1] ; Paddle's X position.
194194
sub a, 8
195195
cp a, b
196-
jp c, PaddleBounceDone
196+
jp nc, PaddleBounceDone
197197
add a, 8 + 16 ; 8 to undo, 16 as the width.
198198
cp a, b
199-
jp nc, PaddleBounceDone
199+
jp c, PaddleBounceDone
200200

201201
ld a, -1
202202
ld [wBallMomentumY], a

0 commit comments

Comments
 (0)