Supressed awkward/abrupt music changes in dungeons when DR is enabled

This commit is contained in:
codemann8
2021-07-12 15:41:59 -05:00
parent 1c9936d231
commit 0bce51af4e
2 changed files with 18 additions and 0 deletions

View File

@@ -283,3 +283,17 @@ Overworld_MosaicDarkWorldChecks:
.done
RTL
;--------------------------------------------------------------------------------
;--------------------------------------------------------------------------------
; This is the where the music can change due to an UW transition
;
; On entry, A=16bit XY=8bit, A & X safe to mod, Y unknown
Underworld_DoorDown_Entry:
LDA.l DRMode : TAX : LDA.w #0 : CPX #0 : BNE .done
.vanilla
LDX #$14 : LDA $A0 ; thing we wrote over - prepare Sanc music track, load current room ID
.done
RTL
;--------------------------------------------------------------------------------