Skip to navigation


Sound: ResetMusic

[NES version, Bank 7]

Name: ResetMusic [Show more] Type: Subroutine Category: Sound Summary: Reset the current tune to the default and stop all sounds (music and sound effects)
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * ResetVariables calls ResetMusic * ShowStartScreen calls ResetMusic
.ResetMusic LDA #0 ; Set newTune to select the default tune (tune 0, the STA newTune ; "Elite Theme") and clear bit 7 to indicate we are not ; in the process of changing tunes ; Fall through into StopSounds_b6 to stop all sounds ; (music and sound effects)