mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Rename the internal PlayCry function to _PlayCryHeader.
This commit is contained in:
parent
ab018a5094
commit
251517812f
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user