mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 22:24:58 +00:00
Fixed changing a Pokémon's species to a single gendered/non-gendered one not updating its gender, enabled a bred Mr. Mime/Meowth to inherit Galarian forms
This commit is contained in:
@@ -122,6 +122,7 @@ class Pokemon
|
||||
@species = new_species_data.species
|
||||
@form = new_species_data.form if new_species_data.form != 0
|
||||
@forced_form = nil
|
||||
@gender = nil if singleGendered?
|
||||
@level = nil # In case growth rate is different for the new species
|
||||
@ability = nil
|
||||
calc_stats
|
||||
|
||||
Reference in New Issue
Block a user