Use labels instead of static addresses in sound pointers.

Static address substraction would wreak havoc in other memory configurations.
This commit is contained in:
yenatch 2014-03-30 16:56:42 -07:00
parent ebce80653c
commit 0d51959c83
3 changed files with 15 additions and 22 deletions

View file

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