summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authoraljohnston112 <aljohnston112@gmail.com>2020-12-07 11:44:12 -0600
committerGitHub <noreply@github.com>2020-12-07 12:44:12 -0500
commit5fa09837807556162bdb2e890fba0a79476dc143 (patch)
treeaa0b8a6bce893936f154bc703d415664eec27403 /engine
parent74abd20b77039f5c68ad3e7271f600ed2315f124 (diff)
Cleaned up some comments and changed a magic number to maskbits NUM_CHANNELS (#68)
Improve the audio engine's comments and replace some magic numbers with constants
Diffstat (limited to 'engine')
-rw-r--r--engine/pokedex/pokedex.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/pokedex/pokedex.asm b/engine/pokedex/pokedex.asm
index 873a6e3c..85293010 100644
--- a/engine/pokedex/pokedex.asm
+++ b/engine/pokedex/pokedex.asm
@@ -374,7 +374,7 @@ Pokedex_UpdateDexEntryScreen:
ld a, [wLastVolume]
and a
jr z, .max_volume
- ld a, $77
+ ld a, MAX_VOLUME
ld [wLastVolume], a
.max_volume