Skip to content

Commit

Permalink
Fix Stats screen at max volume
Browse files Browse the repository at this point in the history
resolves #27
  • Loading branch information
vulcandth committed May 2, 2024
1 parent c1ef958 commit d404fd9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion engine/pokemon/mon_menu.asm
Original file line number Diff line number Diff line change
Expand Up @@ -643,9 +643,11 @@ _OpenPartyStats:
predef StatsScreenInit
; This ensures that MaxVolume works as it should if we're in the middle of
; playing a cry.
ld a, $77
ld a, MAX_VOLUME
ld [wLastVolume], a
call MaxVolume
xor a
ld [wLastVolume], a
call ExitMenu
xor a
ret
Expand Down

0 comments on commit d404fd9

Please sign in to comment.