Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #If the player hasn't seen a Pokemon, the PokeDex will display their silhouette (instead of the usual ? sprite)
- #All changes are in UI_Pokedex_Main
- #Delete this line
- iconspecies = nil if !$player.seen?(iconspecies)
- #On this line:
- textpos.push([GameData::Species.get(iconspecies).name, 112, 58, 2, base, shadow]) if iconspecies
- #change iconspecies to $player.seen?(iconspecies), like so
- textpos.push([GameData::Species.get(iconspecies).name, 112, 58, 2, base, shadow]) if $player.seen?(iconspecies)
- #After this line in def setIconBitmap(species):
- @sprites["icon"].setSpeciesBitmap(species, gender, form, shiny)
- #Add
- 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
- #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:
- loop do
- break if i < 0 || !dexlist[i] || $player.seen?(dexlist[i][0])
- dexlist[i] = nil
- i -= 1
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement