mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Use labels instead of static addresses in sound pointers.
Static address substraction would wreak havoc in other memory configurations.
This commit is contained in:
parent
ebce80653c
commit
0d51959c83
3 changed files with 15 additions and 22 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue