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
@@ -3539,7 +3539,7 @@ void TrySetLinkBattleTowerEnemyPartyLevel(void)
u32 species = GetMonData(&gEnemyParty[i], MON_DATA_SPECIES, NULL);
if (species)
{
SetMonData(&gEnemyParty[i], MON_DATA_EXP, &gExperienceTables[gBaseStats[species].growthRate][enemyLevel]);
SetMonData(&gEnemyParty[i], MON_DATA_EXP, &gExperienceTables[gSpeciesInfo[species].growthRate][enemyLevel]);
CalculateMonStats(&gEnemyParty[i]);
}
}