summaryrefslogtreecommitdiff
path: root/src/battle_script_commands.c
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2018-01-09 21:30:54 -0600
committerDiegoisawesome <diego@domoreaweso.me>2018-01-09 21:30:54 -0600
commit3241b1405f003217d3041ae445eb10d039c0a654 (patch)
tree34bd6a73538ddd4fc6b4d8ca5f5a3812752dc1a9 /src/battle_script_commands.c
parent73d3a21c2d0a0352cd314e7211fac316cd03b351 (diff)
Add symbols to music_player_table
Also rename gMPlay structs to gMPlayInfo
Diffstat (limited to 'src/battle_script_commands.c')
-rw-r--r--src/battle_script_commands.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c
index 4ddf2472e..c7976fc2a 100644
--- a/src/battle_script_commands.c
+++ b/src/battle_script_commands.c
@@ -112,7 +112,7 @@ extern u16 gBattle_BG1_Y;
extern u16 gBattle_BG2_X;
extern u16 gBattle_BG2_Y;
extern u16 gBattle_BG3_X;
-extern struct MusicPlayerInfo gMPlay_BGM;
+extern struct MusicPlayerInfo gMPlayInfo_BGM;
struct TrainerMoney
{
@@ -7103,10 +7103,10 @@ static void atk76_various(void)
}
break;
case 21:
- m4aMPlayVolumeControl(&gMPlay_BGM, 0xFFFF, 0x55);
+ m4aMPlayVolumeControl(&gMPlayInfo_BGM, 0xFFFF, 0x55);
break;
case 22:
- m4aMPlayVolumeControl(&gMPlay_BGM, 0xFFFF, 0x100);
+ m4aMPlayVolumeControl(&gMPlayInfo_BGM, 0xFFFF, 0x100);
break;
case 23:
gBattleStruct->field_2A2 |= gBitTable[gActiveBank];