aboutsummaryrefslogtreecommitdiffstats
path: root/audio/engine_3.asm
diff options
context:
space:
mode:
Diffstat (limited to 'audio/engine_3.asm')
-rw-r--r--audio/engine_3.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/audio/engine_3.asm b/audio/engine_3.asm
index e5d285a3..f524875f 100644
--- a/audio/engine_3.asm
+++ b/audio/engine_3.asm
@@ -15,9 +15,9 @@ Audio3_UpdateMusic::
ld a, [wMuteAudioAndPauseMusic]
and a
jr z, .applyAffects
- bit 7, a
+ bit BIT_MUTE_AUDIO, a
jr nz, .nextChannel
- set 7, a
+ set BIT_MUTE_AUDIO, a
ld [wMuteAudioAndPauseMusic], a
xor a ; disable all channels' output
ldh [rNR51], a
@@ -197,7 +197,7 @@ Audio3_sound_ret:
.dontDisable
jr .afterDisable
.returnFromCall
- res 1, [hl]
+ res BIT_SOUND_CALL, [hl]
ld d, $0
ld a, c
add a
@@ -377,8 +377,8 @@ Audio3_toggle_perfect_pitch:
ld hl, wChannelFlags1
add hl, bc
ld a, [hl]
- xor $1
- ld [hl], a ; flip bit 0 of wChannelFlags1
+ xor 1 << BIT_PERFECT_PITCH
+ ld [hl], a
jp Audio3_sound_ret
Audio3_vibrato: