From 20a3d843960efc48fc2e6b9e89dcf77c8341cc82 Mon Sep 17 00:00:00 2001 From: dannye <33dannye@gmail.com> Date: Fri, 29 May 2020 17:30:15 -0500 Subject: Replace hard-coded value of CRY_SFX_START --- home.asm | 4 ++-- 1 file 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 -- cgit v1.2.3