• 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.
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...
 

Leondrea

Trainer
Member
Joined
Jul 26, 2020
Posts
95
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