summaryrefslogtreecommitdiff
path: root/src/pokeball.c
diff options
context:
space:
mode:
authorcamthesaxman <cameronghall@cox.net>2019-07-29 21:17:54 -0500
committercamthesaxman <cameronghall@cox.net>2019-07-29 21:17:54 -0500
commitea0dfce3c41c6348cfbea086c291ab19744def9a (patch)
tree26c30719ebfb546dcbc7aa68e002a3db4b5bb30a /src/pokeball.c
parentdb4af549fdf13cdaca6654f7bb9ef54ecef14359 (diff)
gMPlay to gMPlayInfo
Diffstat (limited to 'src/pokeball.c')
-rw-r--r--src/pokeball.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pokeball.c b/src/pokeball.c
index 794201a0c..8a11440ff 100644
--- a/src/pokeball.c
+++ b/src/pokeball.c
@@ -17,7 +17,7 @@
#include "util.h"
#include "ewram.h"
-extern struct MusicPlayerInfo gMPlay_BGM;
+extern struct MusicPlayerInfo gMPlayInfo_BGM;
extern u16 gBattleTypeFlags;
extern u8 gBattlerTarget;
extern u8 gActiveBattler;
@@ -732,11 +732,11 @@ static void sub_8046C78(struct Sprite *sprite)
if (gBattleTypeFlags & BATTLE_TYPE_MULTI)
{
if (IsBGMPlaying())
- m4aMPlayStop(&gMPlay_BGM);
+ m4aMPlayStop(&gMPlayInfo_BGM);
}
else
{
- m4aMPlayVolumeControl(&gMPlay_BGM, 0xFFFF, 128);
+ m4aMPlayVolumeControl(&gMPlayInfo_BGM, 0xFFFF, 128);
}
}