Fix issue with music silence in DR when straight stairs lead to pre-Aga room
This commit is contained in:
@@ -2206,6 +2206,10 @@ dl Overworld_FinishMirrorWarp
|
|||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
org $8AB949 ; <- Bank0A.asm:270 (Different from US ROM)
|
org $8AB949 ; <- Bank0A.asm:270 (Different from US ROM)
|
||||||
JSL BirdTravel_LoadTargetAreaMusic : NOP #16
|
JSL BirdTravel_LoadTargetAreaMusic : NOP #16
|
||||||
|
;--------------------------------------------------------------------------------
|
||||||
|
org $8292D9
|
||||||
|
BRA + : NOP #4 : +
|
||||||
|
JSL FixPreAgaMusicFadeOut : db $B0 ; BCS
|
||||||
;================================================================================
|
;================================================================================
|
||||||
|
|
||||||
;================================================================================
|
;================================================================================
|
||||||
|
|||||||
@@ -293,3 +293,12 @@ FallingMusicFadeOut:
|
|||||||
.return
|
.return
|
||||||
RTL
|
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