mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
Replace hard-coded value of CRY_SFX_START
This commit is contained in:
parent
50963770f3
commit
20a3d84396
4
home.asm
4
home.asm
|
@ -333,10 +333,10 @@ GetCryData::
|
||||||
call BankswitchBack
|
call BankswitchBack
|
||||||
|
|
||||||
; Cry headers have 3 channels,
|
; Cry headers have 3 channels,
|
||||||
; and start from index $14,
|
; and start from index CRY_SFX_START,
|
||||||
; so add 3 times the cry id.
|
; so add 3 times the cry id.
|
||||||
ld a, b
|
ld a, b
|
||||||
ld c, $14
|
ld c, CRY_SFX_START
|
||||||
rlca ; * 2
|
rlca ; * 2
|
||||||
add b
|
add b
|
||||||
add c
|
add c
|
||||||
|
|
Loading…
Reference in a new issue