Skip to content

Commit

Permalink
Make OAM init consistent between versions (#101)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
EdHeller authored Aug 7, 2024
1 parent 98ad48f commit fc6a22d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unbricked/objects/main.asm
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ ClearOam:
ld [hli], a
ld a, 0
ld [hli], a
ld [hl], a
ld [hli], a
; ANCHOR_END: init-object

; ANCHOR: enable-oam
Expand Down

0 comments on commit fc6a22d

Please sign in to comment.