• 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!
PokéDex Silhouettes

v20.1 PokéDex Silhouettes 2022-11-23

This resource pertains to version 20.1 of Pokémon Essentials.
Pokémon Essentials Version
v20.1 ➖
A screenshot of the Pokédex. Entry 151 is selected - it's listed as unknown, but a silhouette of Mew can be seen.

Just what it says on the tin - shows the silhouette of unseen Pokémon instead of displaying that ? sprite.

I personally think this option is more fun, because it lets players look at the shapes and wonder what could be behind them, and encourages them to seek out what looks cool. And if you're using canon mons in a game with a limited dex, this could let players know what they can and can't use in your game.

Code​


This isn't a plugin, because it's just changing a few lines in the scripts.

All changes are in UI_Pokedex_Main.

Step 1 - Delete this line:
Ruby:
iconspecies = nil if !$player.seen?(iconspecies)

Step 2 - On this line:
Ruby:
    textpos.push([GameData::Species.get(iconspecies).name, 112, 58, 2, base, shadow]) if iconspecies
change iconspecies to $player.seen?(iconspecies), like so
Ruby:
    textpos.push([GameData::Species.get(iconspecies).name, 112, 58, 2, base, shadow]) if $player.seen?(iconspecies)

Step 3 -
After this line in def setIconBitmap(species):
Ruby:
    @sprites["icon"].setSpeciesBitmap(species, gender, form, shiny)
Add:
Ruby:
    if !$player.seen?(@sprites["pokedex"].species)
      @sprites["icon"].tone = Tone.new(-255,-255,-255,255)
    else
      @sprites["icon"].tone = Tone.new(0,0,0,0)
    end

If you're using Essentials Deluxe, you'll actually have to make this change in Essentials Deluxe/Essentials Patches/Pokedex.rb, under this line -
Ruby:
    @sprites["icon"].setSpeciesBitmap(*poke_data)

Step 4 (Optional) -
Typically, the PokeDex only goes up to the highest number the player has seen. To go up to the last dex number, delete this section:
Ruby:
      loop do
        break if i < 0 || !dexlist[i] || $player.seen?(dexlist[i][0])
        dexlist[i] = nil
        i -= 1
      end
Credits
Credit to TechSkylander1518, please!
Author
TechSkylander1518
Views
3,488
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from TechSkylander1518

Latest reviews

Worked like a charm, and provides a cool incentive for catching the dex
Back
Top