You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
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.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user