rename 'LoadSFX' to '_PlaySFX'

This commit is contained in:
yenatch 2013-10-08 13:13:35 -04:00
parent 546c17ad37
commit 963fe4808b
2 changed files with 4 additions and 4 deletions

View File

@ -2465,7 +2465,7 @@ PlayCry: ; e8b79
ret ret
; e8c04 ; e8c04
LoadSFX: ; e8c04 _PlaySFX: ; e8c04
; clear channels if they aren't already ; clear channels if they aren't already
call MusicOff call MusicOff
ld hl, $c1cc ; Channel5Flags ld hl, $c1cc ; Channel5Flags
@ -2574,7 +2574,7 @@ PlayStereoSFX: ; e8ca6
; standard procedure if stereo's off ; standard procedure if stereo's off
ld a, [Options] ld a, [Options]
bit 5, a bit 5, a
jp z, LoadSFX jp z, _PlaySFX
; else, let's go ahead with this ; else, let's go ahead with this
ld hl, MusicID ld hl, MusicID

View File

@ -3203,13 +3203,13 @@ PlaySFX: ; 3c23
.play .play
ld a, [hROMBank] ld a, [hROMBank]
push af push af
ld a, BANK(LoadSFX) ld a, BANK(_PlaySFX)
ld [hROMBank], a ld [hROMBank], a
ld [MBC3RomBank], a ; bankswitch ld [MBC3RomBank], a ; bankswitch
ld a, e ld a, e
ld [CurSFX], a ld [CurSFX], a
call LoadSFX call _PlaySFX
pop af pop af
ld [hROMBank], a ld [hROMBank], a