From 3a5974b456d75331797f3487366f7d8c37574069 Mon Sep 17 00:00:00 2001 From: cassidoxa Date: Thu, 31 Aug 2023 16:38:53 -0400 Subject: [PATCH] Only check if we're getting a chest item if boss heart flag is set --- dungeondrops.asm | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/dungeondrops.asm b/dungeondrops.asm index a3aa120..48d3535 100644 --- a/dungeondrops.asm +++ b/dungeondrops.asm @@ -107,7 +107,7 @@ SetCutsceneFlag: CLC RTL .dungeon_prize - JSR.w PrizeAncillaCheck : BCC .no_cutscene + LDA.w ItemReceiptMethod : CMP.b #$01 : BEQ .no_cutscene LDA.w ItemReceiptID : TAX LDA.l InventoryTable_properties,X : BPL .no_cutscene PLX @@ -326,14 +326,3 @@ CheckDungeonWorld: 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