Fix cave state item cutscene flag with boss hearts

Add item substitutions
This commit is contained in:
cassidoxa
2023-08-25 21:11:48 -04:00
parent 5ac2f8c537
commit 90ffa8bd23
7 changed files with 17 additions and 1 deletions

View File

@@ -520,6 +520,7 @@ LoadPowder:
PHX
JSL.l Sprite_SpawnDynamically ; thing we wrote over
%GetPossiblyEncryptedItem(WitchItem, SpriteItemValues)
JSL.l AttemptItemSubstitution
JSL.l ResolveLootIDLong
STA.w SpriteID, Y
TYX
@@ -572,6 +573,7 @@ LoadMushroom:
LDA.b #$00 : STA.l RedrawFlag
%GetPossiblyEncryptedItem(MushroomItem, SpriteItemValues)
JSL.l AttemptItemSubstitution
JSR.w ResolveLootID
STA.w SpriteID,X
JSL.l PrepDynamicTile