summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authoraljohnston112 <aljohnston112@gmail.com>2020-12-07 11:44:16 -0600
committerGitHub <noreply@github.com>2020-12-07 12:44:16 -0500
commit7b9d8767d4a00fb8ffb125d306ccfc212873ea2d (patch)
treedc027ab4ce80c83d4f3ed34b5b56c08aecb1abc0 /engine
parent5e9d43e39b9408c687ae8f35d54b2de9842588ee (diff)
Identified two magic numbers and cleaned up some comments (#783)
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 37c3f0a3c..fbdd8a178 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