aboutsummaryrefslogtreecommitdiffstats
path: root/audio/engine_3.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-07-15 12:26:16 -0400
committerGitHub <noreply@github.com>2020-07-15 12:26:16 -0400
commite18e5d50b5e154c1a7c94a2a1f39a3a99daa689a (patch)
treed8a157ae5aa323a00873efe79eb4693327b8bb70 /audio/engine_3.asm
parentMerge pull request #269 from Rangi42/master (diff)
parentDon't compare strings with ==; use STRCMP (diff)
downloadpokeyellow-e18e5d50b5e154c1a7c94a2a1f39a3a99daa689a.tar.gz
pokeyellow-e18e5d50b5e154c1a7c94a2a1f39a3a99daa689a.tar.xz
pokeyellow-e18e5d50b5e154c1a7c94a2a1f39a3a99daa689a.zip
Merge pull request #273 from Rangi42/master
Clean up some data, using macros for multiline list entries
Diffstat (limited to 'audio/engine_3.asm')
-rw-r--r--audio/engine_3.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/engine_3.asm b/audio/engine_3.asm
index e8ee38c9..f86658a2 100644
--- a/audio/engine_3.asm
+++ b/audio/engine_3.asm
@@ -1346,12 +1346,12 @@ Audio3_PlaySound::
ld [wMusicTempo + 1], a
ld [wMusicWaveInstrument], a
ld [wSfxWaveInstrument], a
- ld d, $8
+ ld d, NUM_CHANNELS
ld hl, wChannelReturnAddresses
call .FillMem
ld hl, wChannelCommandPointers
call .FillMem
- ld d, $4
+ ld d, NUM_MUSIC_CHANS
ld hl, wChannelSoundIDs
call .FillMem
ld hl, wChannelFlags1