Skip to content

Commit fc6a22d

Browse files
authored
Make OAM init consistent between versions (#101)
Later revisions in the collision tutorial correct this error to be ld [hli],a ld [hli],a If not present later, during the ball movement code the paddle bounces around the screen instead.
1 parent 98ad48f commit fc6a22d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unbricked/objects/main.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ ClearOam:
7878
ld [hli], a
7979
ld a, 0
8080
ld [hli], a
81-
ld [hl], a
81+
ld [hli], a
8282
; ANCHOR_END: init-object
8383

8484
; ANCHOR: enable-oam

0 commit comments

Comments
 (0)