Fixed some minor bugs from previous commits

This commit is contained in:
Maruno17
2021-04-14 22:56:12 +01:00
parent 9f70b29795
commit 4bc744e3fb
7 changed files with 10 additions and 5 deletions

View File

@@ -22,6 +22,8 @@ class Player < Trainer
attr_accessor :has_pokedex
# @return [Boolean] whether the Pokégear has been obtained
attr_accessor :has_pokegear
# @return [Boolean] whether the player has running shoes (i.e. can run)
attr_accessor :has_running_shoes
# @return [Boolean] whether the creator of the Pokémon Storage System has been seen
attr_accessor :seen_storage_creator
# @return [Boolean] whether Mystery Gift can be used from the load screen

View File

@@ -143,7 +143,7 @@ end
# @deprecated Use {Player#has_fateful_species?} instead. This alias is slated to be removed in v20.
def pbHasFatefulSpecies?(species)
Deprecation.warn_method('pbHasSpecies?', 'v20', 'Player#has_fateful_species?')
Deprecation.warn_method('pbHasFatefulSpecies?', 'v20', 'Player#has_fateful_species?')
return $Trainer.has_fateful_species?(species)
end