Fix for item receipt after GT boss heart container collected
This commit is contained in:
@@ -107,10 +107,11 @@ SetCutsceneFlag:
|
|||||||
CLC
|
CLC
|
||||||
RTL
|
RTL
|
||||||
.dungeon_prize
|
.dungeon_prize
|
||||||
LDA.w ItemReceiptID : TAX
|
JSR.w PrizeAncillaCheck : BCC .no_cutscene
|
||||||
LDA.l InventoryTable_properties,X : BPL .no_cutscene
|
LDA.w ItemReceiptID : TAX
|
||||||
PLX
|
LDA.l InventoryTable_properties,X : BPL .no_cutscene
|
||||||
SEC
|
PLX
|
||||||
|
SEC
|
||||||
RTL
|
RTL
|
||||||
|
|
||||||
AnimatePrizeCutscene:
|
AnimatePrizeCutscene:
|
||||||
@@ -324,3 +325,15 @@ CheckDungeonWorld:
|
|||||||
.dark_world
|
.dark_world
|
||||||
SEP #$02
|
SEP #$02
|
||||||
RTL
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user