mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 22:24:58 +00:00
Fixed some minor bugs from previous commits
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user