Fix loothud on door rando transitions
This commit is contained in:
@@ -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:
|
UpdateLootHUD:
|
||||||
PHP
|
PHP
|
||||||
REP #$30
|
REP #$30
|
||||||
|
|||||||
@@ -360,7 +360,7 @@ ClearSpriteData:
|
|||||||
STZ.w SprSourceItemId, X : STZ.w SprItemReceipt, X : STZ.w SprItemMWPlayer, X
|
STZ.w SprSourceItemId, X : STZ.w SprItemReceipt, X : STZ.w SprItemMWPlayer, X
|
||||||
STZ.w SprRedrawFlag, X
|
STZ.w SprRedrawFlag, X
|
||||||
DEX : BPL .loop
|
DEX : BPL .loop
|
||||||
JSL UpdateLootHUD
|
JSL ClearLootHUD
|
||||||
PLX
|
PLX
|
||||||
RTL
|
RTL
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user