summaryrefslogtreecommitdiff
path: root/macros/scripts
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2020-01-05 15:41:55 -0600
committerdannye <33dannye@gmail.com>2020-01-05 15:41:55 -0600
commit99d16d616d5f70754dd6aa567e478e587a733d8c (patch)
tree29c9f79173bfb197cbfaf59d35a3416aac7ff5c3 /macros/scripts
parent331ed51264615a7edc794e7d29b361f3e5770652 (diff)
Update docs/music_commands.md
and remove the pokered compatibility macros
Diffstat (limited to 'macros/scripts')
-rw-r--r--macros/scripts/audio.asm18
1 files changed, 6 insertions, 12 deletions
diff --git a/macros/scripts/audio.asm b/macros/scripts/audio.asm
index 6e99cc3b0..92654ff9a 100644
--- a/macros/scripts/audio.asm
+++ b/macros/scripts/audio.asm
@@ -118,11 +118,6 @@ toggle_sfx: MACRO
db toggle_sfx_cmd
ENDM
-; for compatibility with red
-execute_music: MACRO
- toggle_sfx
-ENDM
-
enum pitch_slide_cmd ; $e0
pitch_slide: MACRO
db pitch_slide_cmd
@@ -150,7 +145,9 @@ ENDM
enum toggle_noise_cmd ; $e3
toggle_noise: MACRO
db toggle_noise_cmd
- db \1 ; drum kit
+ IF _NARG > 0
+ db \1 ; drum kit
+ ENDC
ENDM
enum force_stereo_panning_cmd ; $e4
@@ -175,11 +172,6 @@ pitch_offset: MACRO
bigdw \1 ; pitch offset
ENDM
-; for compatibility with red
-toggle_perfect_pitch: MACRO
- pitch_offset 1
-ENDM
-
enum unknownmusic0xe7_cmd ; $e7
unknownmusic0xe7: MACRO
db unknownmusic0xe7_cmd
@@ -235,7 +227,9 @@ ENDM
enum sfx_toggle_noise_cmd ; $f0
sfx_toggle_noise: MACRO
db sfx_toggle_noise_cmd
- db \1 ; drum kit
+ IF _NARG > 0
+ db \1 ; drum kit
+ ENDC
ENDM
enum music0xf1_cmd ; $f1