diff --git a/gk/loot_hud.asm b/gk/loot_hud.asm index 6f9fc3c..943b6e9 100644 --- a/gk/loot_hud.asm +++ b/gk/loot_hud.asm @@ -1,3 +1,23 @@ +pushpc +org $82C0C3 +JSL TransitionLinkOutOfDoorEnding +NOP +pullpc + +ClearLootHUD: + PHP + REP #$20 + LDA.w #!BlankTile : STA.w EnemyDropIndicator + PLP + RTL + +TransitionLinkOutOfDoorEnding: + ; what we wrote over + STZ.w $0418 + INC.b $B0 + +; fall into UpdateLootHUD + UpdateLootHUD: PHP REP #$30 diff --git a/keydrop/standing_items.asm b/keydrop/standing_items.asm index f0ae86e..f3d7758 100644 --- a/keydrop/standing_items.asm +++ b/keydrop/standing_items.asm @@ -360,7 +360,7 @@ ClearSpriteData: STZ.w SprSourceItemId, X : STZ.w SprItemReceipt, X : STZ.w SprItemMWPlayer, X STZ.w SprRedrawFlag, X DEX : BPL .loop - JSL UpdateLootHUD + JSL ClearLootHUD PLX RTL