summaryrefslogtreecommitdiff
path: root/wram.asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-12-07 11:28:58 -0500
committerPikalaxALT <PikalaxALT@gmail.com>2015-12-07 11:28:58 -0500
commit159d3efc8f369fcb284ef63a69ec502fb199597a (patch)
tree3266a9e47bce36092eb896bce84c553d853187ca /wram.asm
parent02d05255fe96e9c06d176c0960395fb5aeb36211 (diff)
new and updated music macros
Diffstat (limited to 'wram.asm')
-rw-r--r--wram.asm20
1 files changed, 8 insertions, 12 deletions
diff --git a/wram.asm b/wram.asm
index bfa7008b2..cb06b0be4 100644
--- a/wram.asm
+++ b/wram.asm
@@ -87,7 +87,7 @@ channel_struct: MACRO
; Addreses are Channel1 (c101).
\1MusicID:: dw
\1MusicBank:: db
-\1Flags:: db ; 0:on/off 1:subroutine 4:noise
+\1Flags:: db ; 0:on/off 1:subroutine 3:sfx 4:noise 5:rest
\1Flags2:: db ; 0:vibrato on/off 2:duty
\1Flags3:: db ; 0:vibrato up/down
\1MusicAddress:: dw
@@ -209,11 +209,10 @@ Channel7:: channel_struct Channel7 ; c22d
Channel8:: channel_struct Channel8 ; c25f
ds 1 ; c291
-wc292:: ds 1
-wc293:: ds 1
-wc294:: ds 1
-wc295:: ds 1
-wc296:: ds 1
+wCurTrackDuty:: ds 1
+wCurTrackIntensity:: ds 1
+wCurTrackFrequency:: dw
+wc296:: ds 1 ; used only in an unused function
wc297:: ds 1
CurMusicByte:: ; c298
@@ -254,7 +253,7 @@ NoiseSampleAddressLo:: ; c2a0
ds 1
NoiseSampleAddressHi:: ; c2a1
ds 1
-wc2a2:: ; noise delay? ; c2a2
+wNoiseSampleDelay:: ; noise delay? ; c2a2
ds 1
; c2a3
ds 1
@@ -565,12 +564,9 @@ BattleMonNick:: ds PKMN_NAME_LENGTH ; c621
BattleMon:: battle_struct BattleMon ; c62c
-wc64c::
- ds 1
+ ds 2
-wc64d:: ds 1
-wWildMon::
-wc64e:: ds 1
+wWildMon:: ds 1
ds 1
wEnemyTrainerItem1:: ds 1
wEnemyTrainerItem2:: ds 1