mirror of
https://github.com/pret/pokered.git
synced 2024-10-22 22:55:31 +00:00
Replace hard-coded value of CRY_SFX_START
This commit is contained in:
parent
50963770f3
commit
20a3d84396
1 changed files with 2 additions and 2 deletions
4
home.asm
4
home.asm
|
@ -333,10 +333,10 @@ GetCryData::
|
|||
call BankswitchBack
|
||||
|
||||
; Cry headers have 3 channels,
|
||||
; and start from index $14,
|
||||
; and start from index CRY_SFX_START,
|
||||
; so add 3 times the cry id.
|
||||
ld a, b
|
||||
ld c, $14
|
||||
ld c, CRY_SFX_START
|
||||
rlca ; * 2
|
||||
add b
|
||||
add c
|
||||
|
|
Loading…
Reference in a new issue