aboutsummaryrefslogtreecommitdiffstats
path: root/audio/engine_3.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2022-09-11 23:34:59 -0500
committerdannye <33dannye@gmail.com>2022-09-12 00:53:37 -0500
commitecab35295aefb44227ba38f257dc40c8c10474e3 (patch)
treed04160bc19180ee50a941d121f90cc7071e7a672 /audio/engine_3.asm
parentReplace Hard-Coded Number With Constant (diff)
parentAdd `UNUSED_TYPE`/`UNUSED_TYPE_END` constants (diff)
downloadpokeyellow-ecab35295aefb44227ba38f257dc40c8c10474e3.tar.gz
pokeyellow-ecab35295aefb44227ba38f257dc40c8c10474e3.tar.xz
pokeyellow-ecab35295aefb44227ba38f257dc40c8c10474e3.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'audio/engine_3.asm')
-rw-r--r--audio/engine_3.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/engine_3.asm b/audio/engine_3.asm
index 06698ca5..36de3fff 100644
--- a/audio/engine_3.asm
+++ b/audio/engine_3.asm
@@ -57,7 +57,7 @@ Audio3_PlaySound::
and a
jr z, .playChannel
ld a, e
- cp Ch8
+ cp CHAN8
jr nz, .notNoiseChannel
ld a, [wSoundID]
cp NOISE_INSTRUMENTS_END
@@ -124,7 +124,7 @@ Audio3_PlaySound::
push bc
ld b, 0
ld c, a
- cp Ch4
+ cp CHAN4
jr c, .skipSettingFlag
ld hl, wChannelFlags1
add hl, bc
@@ -167,12 +167,12 @@ Audio3_PlaySound::
jr c, .cry
jr .done
.cry
- ld hl, wChannelSoundIDs + Ch5
+ ld hl, wChannelSoundIDs + CHAN5
ld [hli], a
ld [hli], a
ld [hli], a
ld [hl], a
- ld hl, wChannelCommandPointers + Ch7 * 2 ; sfx wave channel pointer
+ ld hl, wChannelCommandPointers + CHAN7 * 2 ; sfx wave channel pointer
ld de, Audio3_CryRet
ld [hl], e
inc hl