aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorvulcandth <vulcandth@gmail.com>2022-06-06 16:25:34 -0500
committerGitHub <noreply@github.com>2022-06-06 17:25:34 -0400
commitc1ef7b75972fa4fbdf125bc85cc1a66f358151cd (patch)
treebcf71939ec5573ed5001c4a4b4342d26e5d8f9b1 /audio
parentImproved Virtual Console patch identifiers (#85) (diff)
downloadpokeyellow-c1ef7b75972fa4fbdf125bc85cc1a66f358151cd.tar.gz
pokeyellow-c1ef7b75972fa4fbdf125bc85cc1a66f358151cd.tar.xz
pokeyellow-c1ef7b75972fa4fbdf125bc85cc1a66f358151cd.zip
RGBDS syntax updates (#86)
New MACRO and DEF syntax
Diffstat (limited to 'audio')
-rw-r--r--audio/low_health_alarm.asm2
-rw-r--r--audio/pikachu_cries.asm4
2 files changed, 3 insertions, 3 deletions
diff --git a/audio/low_health_alarm.asm b/audio/low_health_alarm.asm
index a550cf70..08060aab 100644
--- a/audio/low_health_alarm.asm
+++ b/audio/low_health_alarm.asm
@@ -61,7 +61,7 @@ Music_DoLowHealthAlarm::
jr nz, .copyLoop
ret
-alarm_tone: MACRO
+MACRO alarm_tone
db \1 ; length
db \2 ; envelope
dw \3 ; frequency
diff --git a/audio/pikachu_cries.asm b/audio/pikachu_cries.asm
index 4ccc6181..52a228c7 100644
--- a/audio/pikachu_cries.asm
+++ b/audio/pikachu_cries.asm
@@ -1,8 +1,8 @@
-pcm: MACRO
+MACRO pcm
; All of the pcm data has one trailing byte that is never processed.
dw .End - .Start - 1
.Start
-\1
+ \1
.End
ENDM