aboutsummaryrefslogtreecommitdiffstats
path: root/constants
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-03-30 16:56:42 -0700
committeryenatch <yenatch@gmail.com>2014-03-30 16:56:42 -0700
commit0d51959c83aa0f361e53bf93d184c9d31543d953 (patch)
tree79a702432e9eec93619bafc28d2f91222413aa73 /constants
parentStop using [$ff00+$xx] syntax. (diff)
downloadpokeyellow-0d51959c83aa0f361e53bf93d184c9d31543d953.tar.gz
pokeyellow-0d51959c83aa0f361e53bf93d184c9d31543d953.tar.xz
pokeyellow-0d51959c83aa0f361e53bf93d184c9d31543d953.zip
Use labels instead of static addresses in sound pointers.
Static address substraction would wreak havoc in other memory configurations.
Diffstat (limited to 'constants')
-rw-r--r--constants/music_constants.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/constants/music_constants.asm b/constants/music_constants.asm
index 3d2ac3f8..30d11543 100644
--- a/constants/music_constants.asm
+++ b/constants/music_constants.asm
@@ -1,7 +1,7 @@
; Song ids are calculated by address to save space.
music_const: MACRO
-\1 EQUS "((\2 - $4000) / 3)"
+\1 EQUS "((\2 - SFX_Headers_02) / 3)"
ENDM
music_const MUSIC_PALLET_TOWN, Music_PalletTown