diff options
| author | yenatch <yenatch@gmail.com> | 2014-03-30 16:56:42 -0700 |
|---|---|---|
| committer | yenatch <yenatch@gmail.com> | 2014-03-30 16:56:42 -0700 |
| commit | 0d51959c83aa0f361e53bf93d184c9d31543d953 (patch) | |
| tree | 79a702432e9eec93619bafc28d2f91222413aa73 /constants | |
| parent | Stop using [$ff00+$xx] syntax. (diff) | |
| download | pokeyellow-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.asm | 2 |
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 |
