mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 05:34:58 +00:00
Refactored checking whether a Pokémon/species is single gendered, tweaked console message.
This commit is contained in:
@@ -26,6 +26,12 @@ module GameData
|
||||
def name
|
||||
return _INTL(@real_name)
|
||||
end
|
||||
|
||||
# @return [Boolean] whether a Pokémon with this gender ratio can only ever
|
||||
# be a single gender
|
||||
def single_gendered?
|
||||
return @female_chance.nil?
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user