Skip to content

Commit ee81463

Browse files
authored
Remove stray jr in VBlank wait
Also fix the jump target
1 parent c6d7c2b commit ee81463

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/part2/objects.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ Main:
103103
; Wait until it's *not* VBlank
104104
ld a, [rLY]
105105
cp 144
106-
jr nc, Main
106+
jp nc, Main
107107
WaitVBlank2:
108108
ld a, [rLY]
109109
cp 144
110-
jp c, Main
110+
jp c, WaitVBlank2
111111
112112
; Move the paddle one pixel to the right.
113113
ld a, [_OAMRAM + 1]

0 commit comments

Comments
 (0)