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

@@ -365,7 +365,7 @@ Link_ReceiveItem_HUDRefresh:
+
JSL.l HUD_RefreshIconLong ; thing we wrote over
INC.w UpdateHUD
INC.w UpdateHUDFlag
JSL.l PostItemGet
RTL
;--------------------------------------------------------------------------------
@@ -380,7 +380,7 @@ HandleBombAbsorbtion:
LDA.b #$04 : STA.w ItemCursor ; set selected item to bombs
LDA.b #$01 : STA.w CurrentYItem ; set selected item to bombs
JSL.l HUD_RebuildLong
INC.w UpdateHUD
INC.w UpdateHUDFlag
+
RTL
;--------------------------------------------------------------------------------