• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • 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 the Wild Pokemon Battle BGM in a Map for legendary?

RafaelMaker1

AceTrainerY
  • 10
    Posts
    11
    Years
    • Seen Nov 13, 2015
    I want to know how to change the wild battle BGM for legendary in a map.
    How to change a Encounter Battle BGM to another one,I want to define it for legendary Pokemon.:|
     
    In PokemonField script section, about at line 1000, in def pbWildBattle, when the script say "$PokemonGlobal.nextBattleBGM=nil", you can make a little variation by replacing it with (RAYQUAZA is a little example):

    if(species==PBSpecies,:RAYQUAZA) then
    $PokemonGlobal.nextBattleBGM=("Audio/BGM/YourTheme")
    else
    $PokemonGlobal.nextBattleBGM=nil
    end
     
    It gave an error:
    Spoiler:
     
    Be sure to write
    Code:
    PBSpecies[COLOR="Red"]:[/COLOR]:POKEMONNAME
    and not
    Code:
    PBSpecies[COLOR="red"],[/COLOR]:POKEMONNAME

    Folle64 made a mistake and put a coma.
     
    Back
    Top