Rename the internal PlayCry function to _PlayCryHeader.

This commit is contained in:
yenatch 2014-07-18 09:59:03 -07:00
parent ab018a5094
commit 251517812f
4 changed files with 5 additions and 6 deletions

View File

@ -5,7 +5,6 @@
; Notable functions: ; Notable functions:
; FadeMusic ; FadeMusic
; PlayStereoSFX ; PlayStereoSFX
; PlayCry
_SoundRestart:: ; e8000 _SoundRestart:: ; e8000
; restart sound operation ; restart sound operation
@ -2364,7 +2363,7 @@ _PlayMusic:: ; e8b30
ret ret
; e8b79 ; e8b79
PlayCry:: ; e8b79 _PlayCryHeader:: ; e8b79
; Play cry de using parameters: ; Play cry de using parameters:
; CryPitch ; CryPitch
; CryLength ; CryLength

View File

@ -1354,7 +1354,7 @@ BattleAnimCmd_E1: ; cc807 (33:4807)
ld a, 1 ld a, 1
ld [$c2bc], a ld [$c2bc], a
callab PlayCry callab _PlayCryHeader
.done .done
pop af pop af

View File

@ -179,11 +179,11 @@ PlayCryHeader:: ; 3be3
ld a, [hl] ld a, [hl]
ld [CryLength + 1], a ld [CryLength + 1], a
ld a, BANK(PlayCry) ld a, BANK(_PlayCryHeader)
ld [hROMBank], a ld [hROMBank], a
ld [MBC3RomBank], a ld [MBC3RomBank], a
call PlayCry call _PlayCryHeader
pop af pop af
ld [hROMBank], a ld [hROMBank], a

View File

@ -99748,7 +99748,7 @@ Functionfb841: ; fb841
ld [CryLength], a ld [CryLength], a
ld a, h ld a, h
ld [CryLength + 1], a ld [CryLength + 1], a
callba PlayCry callba _PlayCryHeader
call WaitSFX call WaitSFX
.asm_fb876 .asm_fb876