Renamed gBaseStats to gSpeciesInfo

This commit is contained in:
Eduardo Quezada
2022-10-24 17:01:48 -03:00
parent e752c8a2f9
commit 3ed485632f
25 changed files with 146 additions and 146 deletions
+1 -1
View File
@@ -3540,7 +3540,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]);
}
}