Function getRandomPartyMemberFunc
- getRandomPartyMemberFunc(speciesPool, trainerSlot?, ignoreEvolution?, postProcess?): ((scene: default, level: number, strength: PartyMemberStrength) => EnemyPokemon)
Parameters
- speciesPool: Species[]
- trainerSlot: TrainerSlot = TrainerSlot.TRAINER
- ignoreEvolution: boolean = false
Optional
postProcess: ((enemyPokemon: EnemyPokemon) => void)- (enemyPokemon): void
Returns void
Randomly selects one of the
Species
fromspeciesPool
, determines its evolution, level, and strength. Then adds Pokemon to scene.