From 5c640a05f1b1182372543e52022aab91e1a5c7ca Mon Sep 17 00:00:00 2001 From: codemann8 Date: Tue, 9 May 2023 00:10:07 -0500 Subject: [PATCH] Fixed issue with menu not allowing DPad input during menus if standing item is visible --- keydrop/dynamic_si_vram.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keydrop/dynamic_si_vram.asm b/keydrop/dynamic_si_vram.asm index a7e2162..f4893db 100644 --- a/keydrop/dynamic_si_vram.asm +++ b/keydrop/dynamic_si_vram.asm @@ -219,7 +219,7 @@ DrawSlottedTile: PLA : SEC : RTL + PLA - STA.b $BD ; store loot ID temporarily, will get overwritten in Sprite_DrawMultiple_quantity_preset call + STA.b $07 ; store loot ID temporarily, will get overwritten in Sprite_DrawMultiple_quantity_preset call JSL.l IsNarrowSprite : BCS .narrow ; TODO: Instead of loading the whole fixed 16 bytes from DynamicOAMTile**_** into !SPRITE_DYNAMIC_OAM @@ -273,7 +273,7 @@ DrawSlottedTile: .draw ; special handling - LDY.b $BD : CPY.b #$B2 : BNE + ; fairy + LDY.b $07 : CPY.b #$B2 : BNE + ; fairy LDA.b $1A : AND.w #$0020 : BEQ ++ ; alternate every 32 frames LDA.w !SPRITE_DYNAMIC_OAM+4 : CLC : ADC.w #$02 ; use other fairy GFX STA.w !SPRITE_DYNAMIC_OAM+4