summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2018-12-16 14:19:06 -0500
committerGitHub <noreply@github.com>2018-12-16 14:19:06 -0500
commit83ff516c8280e4c196053e347a5802375a7066f9 (patch)
tree856e63dd64373abc8f240f1b3dcb34b3c945ec7b /audio
parente025ab9db0b85cadb42e9b72ac408a58f8133672 (diff)
parente51339f01a52603820749249b625d2093b611a8e (diff)
Merge pull request #579 from Rangi42/master
Miscellaneous
Diffstat (limited to 'audio')
-rw-r--r--audio/engine.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/engine.asm b/audio/engine.asm
index 551f1e0aa..a23b00fb2 100644
--- a/audio/engine.asm
+++ b/audio/engine.asm
@@ -1138,7 +1138,7 @@ ParseMusic:
call GetMusicByte ; store next byte in a
cp endchannel_cmd
jr z, .endchannel
- cp first_music_cmd
+ cp FIRST_MUSIC_CMD
jr c, .readnote
; then it's a command
.readcommand
@@ -1350,7 +1350,7 @@ ParseMusicCommand:
; reload command
ld a, [wCurMusicByte]
; get command #
- sub first_music_cmd
+ sub FIRST_MUSIC_CMD
ld e, a
ld d, 0
; seek command pointer