Fix loothud on door rando transitions

This commit is contained in:
2026-05-16 21:10:09 -05:00
parent 2477918df9
commit fd3f7f4513
2 changed files with 21 additions and 1 deletions

View File

@@ -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

View File

@@ -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