Fix for Hera boss music fadeout when falling

This commit is contained in:
codemann8
2023-10-10 01:26:30 -05:00
parent edad66a5a8
commit 70badade72
2 changed files with 10 additions and 0 deletions

View File

@@ -213,3 +213,10 @@ CheckHeraBossDefeated:
LDA RoomDataWRAM[$07].high : AND.w #$00FF : BEQ +
SEC : RTL
+ CLC : RTL
FallingMusicFadeOut:
CMP.w #$0017 ; what we wrote over
BNE .return
LDA.w $0130 : AND.w #$00FF : CMP.b #$15 ; if boss music is playing, then fade out
.return
RTL