shithub: pokered

Download patch

ref: 20a3d843960efc48fc2e6b9e89dcf77c8341cc82
parent: 50963770f3dbb953df904bc6c822713e210a24da
author: dannye <33dannye@gmail.com>
date: Fri May 29 13:30:15 EDT 2020

Replace hard-coded value of CRY_SFX_START

--- a/home.asm
+++ b/home.asm
@@ -333,10 +333,10 @@
 	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