Fixed changing a Pokémon's form with an item not doing certain things, fixed alternate forms not inheriting certain properties from the base form

This commit is contained in:
Maruno17
2021-05-03 19:25:49 +01:00
parent c5cc1eadac
commit b563e73027
3 changed files with 15 additions and 1 deletions

View File

@@ -662,6 +662,8 @@ module Compiler
:base_stats => contents["BaseStats"] || base_data.base_stats,
:evs => contents["EffortPoints"] || base_data.evs,
:base_exp => contents["BaseEXP"] || base_data.base_exp,
:growth_rate => base_data.growth_rate,
:gender_ratio => base_data.gender_ratio,
:catch_rate => contents["Rareness"] || base_data.catch_rate,
:happiness => contents["Happiness"] || base_data.happiness,
:moves => moves,
@@ -674,6 +676,7 @@ module Compiler
:wild_item_rare => contents["WildItemRare"] || base_data.wild_item_rare,
:egg_groups => contents["Compatibility"] || base_data.egg_groups.clone,
:hatch_steps => contents["StepsToHatch"] || base_data.hatch_steps,
:incense => base_data.incense,
:evolutions => evolutions,
:height => contents["Height"] || base_data.height,
:weight => contents["Weight"] || base_data.weight,