summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2020-05-29 17:30:15 -0500
committerdannye <33dannye@gmail.com>2020-05-29 17:30:15 -0500
commit20a3d843960efc48fc2e6b9e89dcf77c8341cc82 (patch)
tree482bff94e14c878a7abb9824a43e343fe070769b
parent50963770f3dbb953df904bc6c822713e210a24da (diff)
Replace hard-coded value of CRY_SFX_START
-rw-r--r--home.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home.asm b/home.asm
index 28fb81c9..b8fefeb9 100644
--- a/home.asm
+++ b/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