From fc6a22dca4f40717457d3f664b328f7dde0eaa35 Mon Sep 17 00:00:00 2001 From: EdHeller Date: Wed, 7 Aug 2024 02:08:09 -0500 Subject: [PATCH] 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. --- unbricked/objects/main.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unbricked/objects/main.asm b/unbricked/objects/main.asm index 4709159..b0126da 100644 --- a/unbricked/objects/main.asm +++ b/unbricked/objects/main.asm @@ -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