mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Bugfixes (#104)
* Bugfixes Fixed pbLearnMove not asking you to replace a move if you have the max amount of moves Removed instance of hasOwned Co-authored-by: Maruno17 <serialcolour@hotmail.com>
This commit is contained in:
@@ -44,7 +44,7 @@ module PokeBattle_BattleCommon
|
||||
@caughtPokemon.each do |pkmn|
|
||||
pbPlayer.pokedex.register(pkmn) # In case the form changed upon leaving battle
|
||||
# Record the Pokémon's species as owned in the Pokédex
|
||||
if !pbPlayer.hasOwned?(pkmn.species)
|
||||
if !pbPlayer.owned?(pkmn.species)
|
||||
pbPlayer.pokedex.set_owned(pkmn.species)
|
||||
if $Trainer.has_pokedex
|
||||
pbDisplayPaused(_INTL("{1}'s data was added to the Pokédex.",pkmn.name))
|
||||
|
||||
Reference in New Issue
Block a user