• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • It's time to vote for your favorite Pokémon Battle Revolution protagonist in our new weekly protagonist poll! Click here to cast your vote and let us know which PBR protagonist you like most.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Other Question] Playing music continuously

princessyiris

Banned
  • 34
    Posts
    5
    Years
    • Seen Feb 6, 2020
    I've got a weird question, but hopefully one that there's an obvious solution to:
    In my game, I don't have any BGM for wild battles, victory themes, or anything like that. When the player gets into a wild battle and KOs, catches, or runs away from it, the music is the route theme throughout. HOWEVER, the route theme will restart once the player exits from the battle and returns to the overworld. Is there a way to prevent this from happening?
    🤔
    I want the same song to be playing on the overworld, during battle, and after the player finishes the battle WITHOUT resetting the song after every battle.
     
    Hmmm, I did use '$game_map.autoplayAsCue' to fix a issue here (to turn back the Soundtrack into OW): https://www.pokecommunity.com/threads/398249/page-2

    Try to use CTRL+SHIFT+F and check inside Battle or Scene script use '$game_map.autoplayAsCue'. If so, try to remove and see if work like you want.
     
    It didn't work. The overworld music is still playing from the beginning every time I enter and exit a wild battle.
    I feel like it's trying to play a WildVictoryME even though I don't have one, then it starts playing the overworld music from the beginning because it thinks there's a different audio playing.
     
    I think, without being 100% certain, that using "$game_system.setDefaultBGM("XXX")" would result in the effect you are looking for - it keeps playing above anything else without interruption.
     
    How would I go about using that? Just set it as a script during transitions between areas or something? Does it stay active when the player resets the game?
     
    The easiest way would be to event it by inserting it as a script in any event you like. I am not sure about the saving/loading part, you'll need to test that yourself; but if music changes when you restart the game, I guess you could edit the script handling music on loading as well.
     
    Didn't end up working. The music still starts from the beginning when you exit battle.
     
    Back
    Top