fix: YA Hera Boss music fix

This commit is contained in:
Randall Rupper
2023-11-15 14:56:37 -07:00
parent 79bdace3b3
commit 52325979a7
3 changed files with 11 additions and 1 deletions

View File

@@ -285,4 +285,11 @@ 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.w #$0015 ; if boss music is playing, then fade out
.return
RTL
;--------------------------------------------------------------------------------