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
@@ -4187,7 +4187,7 @@ static s32 IsRequestedTradeInPlayerParty(u32 type, u32 species)
for (i = 0; i < gPlayerPartyCount; i++)
{
species = GetMonData(&gPlayerParty[i], MON_DATA_SPECIES2);
if (gBaseStats[species].type1 == type || gBaseStats[species].type2 == type)
if (gSpeciesInfo[species].type1 == type || gSpeciesInfo[species].type2 == type)
return UR_TRADE_MATCH;
}
return UR_TRADE_NOTYPE;