From adfbf830f9b17be5f3d70531d83a53ae3595f279 Mon Sep 17 00:00:00 2001 From: scawful Date: Tue, 20 Feb 2024 09:57:27 -0500 Subject: [PATCH] Fix goldstar OAM tile glitch with duck --- Items/goldstar.asm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Items/goldstar.asm b/Items/goldstar.asm index eaa5fda..a9a76c2 100644 --- a/Items/goldstar.asm +++ b/Items/goldstar.asm @@ -956,6 +956,18 @@ BeginGoldstarOrHookshot: RTL } +MaybeUploadBirdGraphicsToOam: +{ + LDY $037A + CPY #$0104 + BEQ .here + LDY #$40E0 + STY $2116 + JML $008B30 + .here + JML $008B50 +} + pushpc org $07AB25 @@ -965,4 +977,7 @@ org $07AB3A ;$07AB40 JSL BeginGoldstarOrHookshot RTS +org $008B2A + JML MaybeUploadBirdGraphicsToOam + pullpc \ No newline at end of file