• Hi, Guest!
    Some images might be missing as we move away from using embedded images, sorry for the mess!
    From now on, you'll be required to use a third party to host images. You can learn how to add images here, and if your thread is missing images you can request them here.
    Do not use Discord to host any images you post, these links expire quickly!
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:
  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