From 7b9d8767d4a00fb8ffb125d306ccfc212873ea2d Mon Sep 17 00:00:00 2001 From: aljohnston112 Date: Mon, 7 Dec 2020 11:44:16 -0600 Subject: Identified two magic numbers and cleaned up some comments (#783) Improve the audio engine's comments and replace some magic numbers with constants --- engine/pokedex/pokedex.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine') 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 -- cgit v1.2.3