summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2017-06-12 18:49:08 -0700
committerMarcus Huderle <huderlem@gmail.com>2017-06-17 13:46:56 -0700
commit5329d3040022b3409d3cf4b5931ea23751cb5bed (patch)
tree470d18318db0b77bca27a93caa6f01e8e423b0f5 /macros
parent8f8e8f78f9df2a2f5ba8628b9a1a47ea00fd71a6 (diff)
Dump sound effects
Diffstat (limited to 'macros')
-rwxr-xr-xmacros/sound.asm17
1 files changed, 17 insertions, 0 deletions
diff --git a/macros/sound.asm b/macros/sound.asm
index 2f88716..35ba240 100755
--- a/macros/sound.asm
+++ b/macros/sound.asm
@@ -237,3 +237,20 @@ callchannel: macro
endchannel: macro
db $ff
endm
+
+;format: pitch length (in 16ths)
+; volume
+; pitch (% of the octave. e.g. $80 would be halfway between octaves)
+; octave
+soundeffect_note: MACRO
+ db \1
+ db \2
+ db \3
+ db \4
+ENDM
+
+soundeffect_percussion: MACRO
+ db \1
+ db \2
+ db \3
+ENDM