Yeah, and I was hoping maybe Gym leaders could have their own personal battle music too?
That's also possible with this version. The background music for specific types
of Trainers can be set in trainernames.txt. You may, for example, want to use
one kind of music for Elite Four members and Gym Leaders. You can make this
possible by editing the appropriate lines in the file:
Code:
72,LEADER_Brawly,LEADER,80,GymLeaderTheme.mid
...
80,ELITEFOUR_Phoebe,ELITE FOUR,100,EliteFourTheme.mid
(Please note that the lines above are just examples.)
As of the current version, the background music is set within the two functions
pbTrainerBattle in the script section PokemonTrainers (near line 175),
and pbWildBattle in the script section PokemonField (near line 120).
RMXPUer462:
I don't intend to support Trainers with shiny Pokemon in the game system; however,
you can edit the scripts to support such functionality. Go to the script section
PokemonTrainers and replace line 37 with the following:
Code:
pokemon=PokeBattle_Pokemon.new(species,level)
if trainerid==PBTrainers::LEADER_Brawly
pokemon.makeShiny
end
The makeShiny method is defined in the script section PokeBattle_Pokemon, as of
the latest version. Edit the line "if trainerid==PBTrainers::LEADER_Brawly" to
specify the Trainer types who will have shiny Pokemon. For example, the following
specifies that Campers and Picnickers will have shiny Pokemon:
Code:
if trainerid==PBTrainers::CAMPER || trainerid==PBTrainers::PICNICKER
See the script section PBTrainers for other Trainer types.