• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Staff applications for our PokéCommunity Daily and Social Media team are now open! Interested in joining staff? Then click here for more info!
  • 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.

Using BGM instead of ME when trainers spot you

KillerMapper

Helix Follower
  • 200
    Posts
    10
    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