diff options
author | drifloony <drifloony@users.noreply.github.com> | 2017-07-21 15:34:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-21 15:34:05 -0700 |
commit | 8ed167339c52b32e5149077e9e2c91f981268af9 (patch) | |
tree | 765873e0da27644ad94fcf0eee9a8f76f95e96c6 /src/sound.c | |
parent | 95d3a7848ca07ad7035d1a717b489c4ea303a3ba (diff) | |
parent | 68e47a6fa0b56451223c22dc9a759534c988db5b (diff) |
Merge branch 'master' into mon_markings
Diffstat (limited to 'src/sound.c')
-rw-r--r-- | src/sound.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/sound.c b/src/sound.c index c9c4916b0..8d23b7d7a 100644 --- a/src/sound.c +++ b/src/sound.c @@ -17,8 +17,9 @@ struct Fanfare u32 SpeciesToCryId(u32); extern u16 gBattleTypeFlags; -extern struct MusicPlayerInfo *gMPlay_PokemonCry; -extern u8 gPokemonCryBGMDuckingCounter; + +static EWRAM_DATA struct MusicPlayerInfo *gMPlay_PokemonCry = NULL; +static EWRAM_DATA u8 gPokemonCryBGMDuckingCounter = 0; static u16 sCurrentMapMusic; static u16 sNextMapMusic; @@ -26,7 +27,8 @@ static u8 sMapMusicState; static u8 sMapMusicFadeInSpeed; static u16 sFanfareCounter; -extern bool8 gDisableMusic; +bool8 gDisableMusic; + extern struct MusicPlayerInfo gMPlay_BGM; extern struct MusicPlayerInfo gMPlay_SE1; extern struct MusicPlayerInfo gMPlay_SE2; |