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
@@ -4187,7 +4187,7 @@ static s32 IsRequestedTypeOrEggInPlayerParty(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;