From d81a19c367b8d50c7ddb01e9f88cc432ec9305a1 Mon Sep 17 00:00:00 2001 From: cassidoxa Date: Mon, 1 Jan 2024 22:28:17 -0500 Subject: [PATCH 1/2] Update HUD when picking up bonk key --- bookofmudora.asm | 1 + 1 file changed, 1 insertion(+) diff --git a/bookofmudora.asm b/bookofmudora.asm index 9a6bcc8..60c476f 100644 --- a/bookofmudora.asm +++ b/bookofmudora.asm @@ -65,6 +65,7 @@ GiveBonkItem: PHY : LDY.b #$24 : JSL.l AddInventory : PLY ; do inventory processing for a small key LDA.l CurrentSmallKeys : INC A : STA.l CurrentSmallKeys LDA.b #$2F : JSL.l Sound_SetSfx3PanLong + INC.w UpdateHUDFlag RTL .notKey PHY : TAY : JSL.l Link_ReceiveItem : PLY From cec4e0430b8839e128ddeb22ba2bce69293a65f7 Mon Sep 17 00:00:00 2001 From: cassidoxa Date: Tue, 2 Jan 2024 00:26:12 -0500 Subject: [PATCH 2/2] Fix narrow heart piece sprite shadow flickering --- heartpieces.asm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/heartpieces.asm b/heartpieces.asm index c54f10c..f86894d 100644 --- a/heartpieces.asm +++ b/heartpieces.asm @@ -45,9 +45,11 @@ DrawHeartPieceGFX: LDA.w SpriteControl, X : ORA.b #$20 : STA.w SpriteControl, X PLA JSL.l DrawDynamicTile + REP #$21 LDA.b Scrap00 - CLC : ADC.b #$04 + ADC.w #$0004 STA.b Scrap00 + SEP #$20 JSL.l Sprite_DrawShadowLong BRA .done +