shadow_pokemon.txt now supports sections for individual forms of a species

This commit is contained in:
Maruno17
2023-03-11 23:14:19 +00:00
parent 02129f5507
commit 7f5aea63bb
3 changed files with 40 additions and 4 deletions

View File

@@ -30,9 +30,7 @@ class Pokemon
end
def shadow_data
ret = GameData::ShadowPokemon.try_get(species_data.id)
ret = GameData::ShadowPokemon.try_get(@species) if !ret
return ret
return GameData::ShadowPokemon.get_species_form(@species, form_simple)
end
def max_gauge_size