mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
Added Gen 9 PBS files
This commit is contained in:
@@ -75,6 +75,8 @@ class Pokemon
|
||||
attr_accessor :fused
|
||||
# @return [Integer] this Pokémon's personal ID
|
||||
attr_accessor :personalID
|
||||
# A number used by certain species to evolve.
|
||||
attr_writer :evolution_counter
|
||||
# Used by Galarian Yamask to remember that it took sufficient damage from a
|
||||
# battle and can evolve.
|
||||
attr_accessor :ready_to_evolve
|
||||
@@ -114,6 +116,11 @@ class Pokemon
|
||||
return GameData::Species.get_species_form(@species, form_simple)
|
||||
end
|
||||
|
||||
def evolution_counter
|
||||
@evolution_counter ||= 0
|
||||
return @evolution_counter
|
||||
end
|
||||
|
||||
#=============================================================================
|
||||
# Species and form
|
||||
#=============================================================================
|
||||
@@ -971,6 +978,7 @@ class Pokemon
|
||||
#=============================================================================
|
||||
# Evolution checks
|
||||
#=============================================================================
|
||||
|
||||
# Checks whether this Pokemon can evolve because of levelling up.
|
||||
# @return [Symbol, nil] the ID of the species to evolve into
|
||||
def check_evolution_on_level_up
|
||||
|
||||
Reference in New Issue
Block a user