Fix for item receipt after GT boss heart container collected

This commit is contained in:
cassidoxa
2023-08-31 15:17:07 -04:00
parent 29176fa194
commit 71e6d54276

View File

@@ -107,6 +107,7 @@ SetCutsceneFlag:
CLC
RTL
.dungeon_prize
JSR.w PrizeAncillaCheck : BCC .no_cutscene
LDA.w ItemReceiptID : TAX
LDA.l InventoryTable_properties,X : BPL .no_cutscene
PLX
@@ -324,3 +325,15 @@ CheckDungeonWorld:
.dark_world
SEP #$02
RTL
PrizeAncillaCheck:
PHX
LDX.w CurrentSpriteSlot
LDA.w AncillaVelocityZ,X : BNE .prize ; Only prizes should have Z velocity after
PLX ; room boss heart container is collected
CLC
RTS
.prize
PLX
SEC
RTS