Replace hard-coded value of CRY_SFX_START

This commit is contained in:
dannye 2020-05-29 17:30:15 -05:00
parent 50963770f3
commit 20a3d84396

View file

@ -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