You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Rename the internal PlayCry function to _PlayCryHeader.
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
; Notable functions:
|
||||
; FadeMusic
|
||||
; PlayStereoSFX
|
||||
; PlayCry
|
||||
|
||||
_SoundRestart:: ; e8000
|
||||
; restart sound operation
|
||||
@@ -2364,7 +2363,7 @@ _PlayMusic:: ; e8b30
|
||||
ret
|
||||
; e8b79
|
||||
|
||||
PlayCry:: ; e8b79
|
||||
_PlayCryHeader:: ; e8b79
|
||||
; Play cry de using parameters:
|
||||
; CryPitch
|
||||
; CryLength
|
||||
|
@@ -1354,7 +1354,7 @@ BattleAnimCmd_E1: ; cc807 (33:4807)
|
||||
ld a, 1
|
||||
ld [$c2bc], a
|
||||
|
||||
callab PlayCry
|
||||
callab _PlayCryHeader
|
||||
|
||||
.done
|
||||
pop af
|
||||
|
@@ -179,11 +179,11 @@ PlayCryHeader:: ; 3be3
|
||||
ld a, [hl]
|
||||
ld [CryLength + 1], a
|
||||
|
||||
ld a, BANK(PlayCry)
|
||||
ld a, BANK(_PlayCryHeader)
|
||||
ld [hROMBank], a
|
||||
ld [MBC3RomBank], a
|
||||
|
||||
call PlayCry
|
||||
call _PlayCryHeader
|
||||
|
||||
pop af
|
||||
ld [hROMBank], a
|
||||
|
Reference in New Issue
Block a user