Fix endgame dark woods music

This commit is contained in:
qwertymodo
2019-10-12 13:02:20 -07:00
parent bb2fdc8041
commit dd6fd2576f
3 changed files with 26 additions and 5 deletions

View File

@@ -259,6 +259,27 @@ PsychoSolder_MusicCheck:
RTL
;--------------------------------------------------------------------------------
;--------------------------------------------------------------------------------
; Additional dark world checks to determine whether or not to fade out music
; on mosaic transitions
;
; On entry, A = $8A (overworld area being loaded)
Overworld_MosaicDarkWorldChecks:
CMP.b #$40 : beq .checkCrystals
CMP.b #$42 : beq .checkCrystals
CMP.b #$50 : beq .checkCrystals
CMP.b #$51 : bne .doFade
.checkCrystals
LDA $7EF37A : CMP.b #$7F : BEQ .done
.doFade
LDA.b #$F1 : STA $012C ; thing we wrote over, fade out music
.done
RTL
;--------------------------------------------------------------------------------
;--------------------------------------------------------------------------------
!SPCFreeSpace = $0700