Fix HUD item icon not refreshing after last bomb spent

Rename UpdateHUD to UpdateHUDFlag, replace with UpdateHUD vanilla JSR
label
This commit is contained in:
cassidoxa
2023-09-07 16:29:45 -04:00
parent 7dc71cf1ac
commit 790f3f0ba3
12 changed files with 32 additions and 22 deletions

View File

@@ -1406,8 +1406,7 @@ org $8DFB29 : BRA UpdateHUDBuffer_update_item_check_arrows
;--------------------------------------------------------------------------------
org $8DF1AB : JSR.w RebuildHUD_update
org $8DDFC8 : JSR.w RebuildHUD_update
org $8DDB88 ; Don't rebuild HUD twice on icon refresh
NOP #3 ; Not sure why this is here
org $8DDB85 : JSR.w RebuildHUD_IconExpanded
;--------------------------------------------------------------------------------
org $87A205 : JSL.l RebuildHUD_update_long
org $8AEF62 : JSL.l RebuildHUD_update_long
@@ -1422,6 +1421,15 @@ warnpc $8E8000
;--------------------------------------------------------------------------------
org $8DEDE8
JSL.l DrawHeartPiecesMenu : BRA DrawEquipment_in_a_dungeon
;--------------------------------------------------------------------------------
org $8DAFDD
RebuildHUD_IconExpanded:
JSR.w UpdateHUD
JSR.w RebuildHUD
INC.w UpdateHUDFlag
RTS
warnpc $8DB080
;================================================================================
; 300 Rupee NPC