• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • The Eevee Expo Game Jam has concluded! 🎉 Head on over to the game jam forum to play through the games.
    Don't forget to come back September 21st to vote for your favorites!
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Resource icon

Resource Random_Pokémon 2017-08-13

aiyinsi

A wild Minun appeared!
Member
Joined
May 17, 2017
Posts
256
leilou submitted a new resource:

Random_Pokémon - generates a random Pokémon with random moves,level,species

This script main purpose is to generate random Pokémon with the getRandomPokemon function. You can influence Species and moves with the appropriate white and blacklist. Random moves can be turned off. It's also possible to either set the level or have it generated randomly.

The function getRandomPokemon returns a PokeBattler_Pokemon ... so there is a function addPokemon that can add PokeBattler_Pokemon to your team/storage.

There are also the functions getAllPokemonList, filterUnevolved...

Read more about this resource...
 
You can always try it out for yourself. Safe to assume it doesn't, though.

I have a tutorial on getting random IDs from game data here, though it'd be a little more complex if you were trying to do the random moves like this script has.
it actually doesn't work for me.


Screenshot 2022-12-07 164520.png
 
Back
Top