mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 22:24:58 +00:00
The Pokédex entry of a newly obtained species now only shows if that species is in an unlocked Dex list
This commit is contained in:
@@ -86,7 +86,7 @@ module Battle::CatchAndStoreMixin
|
||||
# Record the Pokémon's species as owned in the Pokédex
|
||||
if !pbPlayer.owned?(pkmn.species)
|
||||
pbPlayer.pokedex.set_owned(pkmn.species)
|
||||
if $player.has_pokedex
|
||||
if $player.has_pokedex && $player.pokedex.species_in_unlocked_dex?(pkmn.species)
|
||||
pbDisplayPaused(_INTL("{1}'s data was added to the Pokédex.", pkmn.name))
|
||||
pbPlayer.pokedex.register_last_seen(pkmn)
|
||||
@scene.pbShowPokedex(pkmn.species)
|
||||
|
||||
Reference in New Issue
Block a user