Merge pull request #1810 from AsparagusEduardo/pret/pr/baseStatsRename

Renamed gBaseStats to gSpeciesInfo
This commit is contained in:
GriffinR
2022-11-18 17:45:23 -05:00
committed by GitHub
25 changed files with 173 additions and 173 deletions
+1 -1
View File
@@ -1196,7 +1196,7 @@ void IsGrassTypeInParty(void)
if (GetMonData(pokemon, MON_DATA_SANITY_HAS_SPECIES) && !GetMonData(pokemon, MON_DATA_IS_EGG))
{
species = GetMonData(pokemon, MON_DATA_SPECIES);
if (gBaseStats[species].type1 == TYPE_GRASS || gBaseStats[species].type2 == TYPE_GRASS)
if (gSpeciesInfo[species].type1 == TYPE_GRASS || gSpeciesInfo[species].type2 == TYPE_GRASS)
{
gSpecialVar_Result = TRUE;
return;