summaryrefslogtreecommitdiff
path: root/src/sound.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2017-01-02 01:26:00 -0800
committerYamaArashi <shadow962@live.com>2017-01-02 01:26:00 -0800
commite1120f3a62097abb80bfa2f910d98ef53f1e5671 (patch)
tree7794cd054e9eb88928951cc1ebd31c6bba63fc5d /src/sound.c
parent145e90483b2a30698f917f62e585aa7fa4794588 (diff)
gBattleTypeFlags
Diffstat (limited to 'src/sound.c')
-rw-r--r--src/sound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sound.c b/src/sound.c
index 69accd1c2..7345dde85 100644
--- a/src/sound.c
+++ b/src/sound.c
@@ -15,7 +15,7 @@ struct Fanfare
// Hack: different prototype than definition
u32 SpeciesToCryId(u32);
-extern u16 gUnknown_020239F8;
+extern u16 gBattleTypeFlags;
extern struct MusicPlayerInfo *gMPlay_PokemonCry;
extern u8 gPokemonCryBGMDuckingCounter;
@@ -329,7 +329,7 @@ void PlayCry4(u16 species, s8 pan, u8 mode)
}
else
{
- if (!(gUnknown_020239F8 & 0x40))
+ if (!(gBattleTypeFlags & 0x40))
m4aMPlayVolumeControl(&gMPlay_BGM, 0xFFFF, 85);
PlayCryInternal(species, pan, 125, 10, mode);
}