how would i use the script Kernel.pbAddPokemon in an event to add a level 13 honedge that knows tackle, swords dance, fury cutter, and shadow sneak.
poke = PokeBattle_Pokemon.new(:AEGISLASH, 13)
poke.moves = [
PBMove.new(getConst(PBMoves,:TACKLE)),
PBMove.new(getConst(PBMoves,:SWORDSDANCE)),
PBMove.new(getConst(PBMoves,:FURYCUTTER)),
PBMove.new(getConst(PBMoves,:SHADOWSNEAK))
]
Kernel.pbAddPokemon(poke)
Read the error message and see if making sure the lines don't start with a ( or [ fixes it.
Where do I put this code?
poke=PokeBattle_Pokemon.new(:MAGIKARP,10,$Trainer)
pbAddPokemon(poke)
Read the error message and see if making sure the lines don't start with a ( or [ fixes it.
poke=PokeBattle_Pokemon.new(:AEGISLASH, 13,$Trainer)