• 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.
  • There is an important update regarding account security and 2FA. Please click here for more information.
  • 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.
  • Imgur has blocked certain regions from viewing any images uploaded to their site. If you use Imgur, please consider replacing any image links/embeds you may have on PokéCommunity so everyone can see your images. Click here to learn more.

Using BGM instead of ME when trainers spot you

KillerMapper

Helix Follower
  • 190
    Posts
    11
    Years
    Hello there,

    Currently, we can assign to each trainer type a ME who will be played when the trainer spots you.
    The problem is that ME doesn't loop, so if the player waits a little, the map BGM will be played again before the battle.
    Since I can now use FMod, I would like to use a BGM for the music loop feature (with tagged .ogg).

    I tried to play the ME as a BGM in pbPlayTrainerIntroME (which is used by pbTrainerIntro). It works, but this will replace the map BGM after the battle. So I need to put back the current map's BGM after the battle. I have found where I could put back the BGM in pbTrainerBattle, but I just don't know how to retrieve the current map BGM.

    For now I put back the map BGM in each trainer event. Not the better way, but it works perfectly. I would like to avoid doing this on all events though...

    Thanks for any help.
     
    Back
    Top