summaryrefslogtreecommitdiff
path: root/audio/engine.asm
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2019-11-18 18:16:50 +0100
committermid-kid <esteve.varela@gmail.com>2019-11-18 18:21:57 +0100
commit739a60b33c54021c975f22d627e4b5e40206fe37 (patch)
treeb451d2dc8e34a5b40a5c8316223c3cc4a7c8600d /audio/engine.asm
parent1c41b2e579315ca582157fb3c824bda8ce4ecbbe (diff)
Make the map setup commands match the actual function names better
These functions used as map setup commands are used in other places, too, so I can't prefix them under the same. The names should match except I won't repeat "map" in a map setup command name.
Diffstat (limited to 'audio/engine.asm')
-rw-r--r--audio/engine.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/engine.asm b/audio/engine.asm
index 748e17361..ec0252982 100644
--- a/audio/engine.asm
+++ b/audio/engine.asm
@@ -6,7 +6,7 @@
; FadeMusic
; PlayStereoSFX
-_MapSetup_Sound_Off::
+_InitSound::
; restart sound operation
; clear all relevant hardware registers & wram
push hl
@@ -62,7 +62,7 @@ MusicFadeRestart:
push af
ld a, [wMusicFadeID]
push af
- call _MapSetup_Sound_Off
+ call _InitSound
pop af
ld [wMusicFadeID], a
pop af
@@ -2797,7 +2797,7 @@ ChannelPointers:
ClearChannels::
; runs ClearChannel for all 4 channels
-; doesn't seem to be used, but functionally identical to MapSetup_Sound_Off
+; doesn't seem to be used, but functionally identical to InitSound
ld hl, rNR50
xor a
ld [hli], a