summaryrefslogtreecommitdiff
path: root/macros/scripts
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2019-09-03 22:36:32 -0500
committerdannye <33dannye@gmail.com>2019-09-03 22:36:32 -0500
commite0583934874a8fddb1204efd4357146be617cb1f (patch)
treeea428f8fc842b100d1f613d9f51ff600ebe8093e /macros/scripts
parentfc051f21300bc2cfdbbb013fb7dbf6bd3b0e9b2d (diff)
Rename dnote to drum_note and dspeed to drum_speed
Diffstat (limited to 'macros/scripts')
-rw-r--r--macros/scripts/audio.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/macros/scripts/audio.asm b/macros/scripts/audio.asm
index 111887c98..afbd2ef13 100644
--- a/macros/scripts/audio.asm
+++ b/macros/scripts/audio.asm
@@ -1,18 +1,18 @@
channel_count: MACRO
-num_channels = \1 - 1
+_num_channels = \1 - 1
ENDM
channel: MACRO
- dn (num_channels << 2), \1 - 1 ; channel id
+ dn (_num_channels << 2), \1 - 1 ; channel id
dw \2 ; address
-num_channels = 0
+_num_channels = 0
ENDM
note: MACRO
dn (\1), (\2) - 1 ; pitch, length
ENDM
-dnote: MACRO
+drum_note: MACRO
note \1, \2 ; drum instrument, length
ENDM
@@ -65,7 +65,7 @@ note_type: MACRO
ENDM
; only valid on the noise channel
-dspeed: MACRO
+drum_speed: MACRO
note_type \1 ; note length
ENDM