Fix issue with LH/BS half volume issue when exiting to Kakariko
This commit is contained in:
@@ -2282,6 +2282,9 @@ JSL Overworld_DetermineAndSetMusic : NOP
|
|||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
org $9DFD27
|
org $9DFD27
|
||||||
JSL Overworld_DetermineAndSetMusic : NOP
|
JSL Overworld_DetermineAndSetMusic : NOP
|
||||||
|
;--------------------------------------------------------------------------------
|
||||||
|
org $829253
|
||||||
|
JSL FixHalfVolumeOnSpawnExitToOverworld : NOP
|
||||||
;================================================================================
|
;================================================================================
|
||||||
|
|
||||||
;================================================================================
|
;================================================================================
|
||||||
|
|||||||
10
music.asm
10
music.asm
@@ -229,3 +229,13 @@ FallingMusicFadeOut:
|
|||||||
.return
|
.return
|
||||||
RTL
|
RTL
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
|
FixHalfVolumeOnSpawnExitToOverworld:
|
||||||
|
BEQ .exit : STA.w MusicControlRequest ; what we wrote over
|
||||||
|
LDA.w DungeonID : BNE .exit
|
||||||
|
LDA.b LinkPosY+1 : ROR : LDA.b LinkPosY : ROR
|
||||||
|
CMP.b #$DC : BCS .exit ; check if link loading in room from a spawn
|
||||||
|
; set queue to half volume to trigger full volume on exit
|
||||||
|
LDA.b #$F2 : STA.w MusicControlQueue
|
||||||
|
.exit
|
||||||
|
RTL
|
||||||
|
;--------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user