• 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?".
  • 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.

How to change Battle BGM in Battle...

Maruno

Lead Dev of Pokémon Essentials
  • 5,286
    Posts
    16
    Years
    • Seen May 3, 2024
    Try this:

    Code:
    if isConst?(@opponent.trainertype,PBTrainers,:RIVAL)
     

    Maruno

    Lead Dev of Pokémon Essentials
  • 5,286
    Posts
    16
    Years
    • Seen May 3, 2024
    You might be able to simplify that for the user, by putting the trainer type/music filename/message in an array in the script section Settings, like how the rival naming does it. If either the music/message is blank/nil for a given trainer, ignore that part.
     
    Back
    Top