Hiya.
I wanted to add ghost pokemon like those in pokemon tower in Fire Red, and so i followed the 'adding ghosts' tutorial on the pokemon essentials wikia page. Couldn't get it to work right so i added this to 'PField_EncounterModifiers and everything seemed to work.
However, i can't for the life of me figure out why i get "pokemon too scared to move" in trainer battles and why, when the ghost switch is disabled, all wild pokemon are named 'Ghost'. Even after deleting the code above from EncounterModifiers.
I know i messed up somewhere, if anyone could shed some light on this it would be greatly appreaciated!
I wanted to add ghost pokemon like those in pokemon tower in Fire Red, and so i followed the 'adding ghosts' tutorial on the pokemon essentials wikia page. Couldn't get it to work right so i added this to 'PField_EncounterModifiers and everything seemed to work.
Code:
if $game_switches[116]
pokemon.species=PBSpecies::GHOST
pokemon.level=15
pokemon.name="Ghost"
end
However, i can't for the life of me figure out why i get "pokemon too scared to move" in trainer battles and why, when the ghost switch is disabled, all wild pokemon are named 'Ghost'. Even after deleting the code above from EncounterModifiers.
I know i messed up somewhere, if anyone could shed some light on this it would be greatly appreaciated!