Fixed Hera boss music playing after boss defeated

This commit is contained in:
codemann8
2023-05-12 20:37:33 -05:00
parent 81a3fcf773
commit 71916fb320
2 changed files with 2 additions and 2 deletions

View File

@@ -2338,7 +2338,7 @@ JSL.l HeartPieceSpawnDelayFix
org $05F08A ; <- 2F08A - sprite_heart_upgrades.asm : 324 - (LDA $7EF36B : INC A : AND.b #$03 : STA $7EF36B : BNE .got_4_piecese) item determination
JSL.l HeartPieceGet
BCS $18 ; reinsert the near branch that appears midway through what we overrode
NOP #22
BRA + : NOP #20 : +
;--------------------------------------------------------------------------------
org $06C0B0 ; <- 340B0 - sprite prep
JSL.l HeartPieceSpritePrep

View File

@@ -210,6 +210,6 @@ Underworld_DoorDown_Entry:
;
; A=16bit XY=8bit
CheckHeraBossDefeated:
LDA RoomDataWRAM[$08].high : AND.w #$00FF : BEQ +
LDA RoomDataWRAM[$07].high : AND.w #$00FF : BEQ +
SEC : RTL
+ CLC : RTL