• 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!
Fill PokéDex / View Pokedex via event

Resource Fill PokéDex / View Pokedex via event N/A

TechSkylander1518 submitted a new resource:

Fill PokéDex - Just a quick bit of code to fill the player's PokéDex!

For debugging, there's the Fill Boxes command (though it's a bit slower), but if you wanted to fill a player's PokeDex without giving them a buttload of Pokemon, you'd be out of luck! So, here's that!

Ruby:
Expand Collapse Copy
  def fillPokedex
    for i in 1..PBSpecies.maxValue
      $Trainer.setSeen(i)    
      $Trainer.setOwned(i)    
      $Trainer.formseen[i] = [[],[]]
      speciesData = pbLoadSpeciesData
      formdata    = pbLoadFormToSpecies
      formdata[i] = [i] if !formdata[i]...

Read more about this resource...
 
Wow, that´s really good and useful when making a story where the player needs to access the Pokédex via an Event and the Pokedex is filled and it can be turned off, that's really amazing!
 
Back
Top