Fix issue with music silence in DR when straight stairs lead to pre-Aga room
This commit is contained in:
@@ -2285,6 +2285,10 @@ JSL Overworld_DetermineAndSetMusic : NOP
|
||||
;--------------------------------------------------------------------------------
|
||||
org $829253
|
||||
JSL FixHalfVolumeOnSpawnExitToOverworld : NOP
|
||||
;--------------------------------------------------------------------------------
|
||||
org $8292D9
|
||||
BRA + : NOP #4 : +
|
||||
JSL FixPreAgaMusicFadeOut : db $B0 ; BCS
|
||||
;================================================================================
|
||||
|
||||
;================================================================================
|
||||
|
||||
@@ -239,3 +239,12 @@ FixHalfVolumeOnSpawnExitToOverworld:
|
||||
.exit
|
||||
RTL
|
||||
;--------------------------------------------------------------------------------
|
||||
FixPreAgaMusicFadeOut:
|
||||
LDA.l DRMode : TAX : CPX.b #$01 : BCS .exit_no_fade+1
|
||||
LDA.b RoomIndex : CMP.w #$0030 : BEQ .exit_and_fade ; what we
|
||||
CMP.w #$0040 : BEQ .exit_and_fade ; wrote over
|
||||
.exit_no_fade
|
||||
SEC : RTL
|
||||
.exit_and_fade
|
||||
CLC : RTL
|
||||
;--------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user