diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-03-24 23:19:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-24 23:19:48 -0400 |
commit | 35b68c68ee565b9b232252e4f37ea082e9310560 (patch) | |
tree | aeacb544f27db8f63b17b7e808b28f4a1e12acde /src/sound.c | |
parent | d8b76e6fb545efd69bfb18322a67243520e4d11d (diff) | |
parent | 7f70b570dd2e18a34a2c0ee558f404c15c77371c (diff) |
Merge pull request #404 from PikalaxALT/misc_doc
[PARTIALLY LEAK INFORMED] Miscellaneous cleanup and documentation
Diffstat (limited to 'src/sound.c')
-rw-r--r-- | src/sound.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sound.c b/src/sound.c index e956896e8..e14cd4c4e 100644 --- a/src/sound.c +++ b/src/sound.c @@ -16,7 +16,7 @@ struct Fanfare // TODO: what are these extern u8 gDisableMapMusicChangeOnMapLoad; -extern u8 gUnknown_203F174; +extern u8 gDisableHelpSystemVolumeReduce; // ewram EWRAM_DATA struct MusicPlayerInfo* gMPlay_PokemonCry = NULL; @@ -630,14 +630,14 @@ bool8 IsSpecialSEPlaying(void) return TRUE; } -void sub_8072474(u16 volume) +void SetBGMVolume_SuppressHelpSystemReduction(u16 volume) { - gUnknown_203F174 = 1; + gDisableHelpSystemVolumeReduce = TRUE; m4aMPlayVolumeControl(&gMPlayInfo_BGM, 0xFFFF, volume); } -void sub_807249C(void) +void BGMVolumeMax_EnableHelpSystemReduction(void) { - gUnknown_203F174 = 0; + gDisableHelpSystemVolumeReduce = FALSE; m4aMPlayVolumeControl(&gMPlayInfo_BGM, 0xFFFF, 256); } |