From 1ae67805bcf7ba402ce2a73b2fbf04b26ded377b Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Mon, 2 Jan 2017 03:01:17 -0800 Subject: battle type constants --- src/sound.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/sound.c') diff --git a/src/sound.c b/src/sound.c index 7345dde85..aa12ba477 100644 --- a/src/sound.c +++ b/src/sound.c @@ -5,6 +5,7 @@ #include "task.h" #include "songs.h" #include "m4a.h" +#include "battle.h" struct Fanfare { @@ -329,7 +330,7 @@ void PlayCry4(u16 species, s8 pan, u8 mode) } else { - if (!(gBattleTypeFlags & 0x40)) + if (!(gBattleTypeFlags & BATTLE_TYPE_40)) m4aMPlayVolumeControl(&gMPlay_BGM, 0xFFFF, 85); PlayCryInternal(species, pan, 125, 10, mode); } -- cgit v1.2.3