Use the constant for the max total of EVs

This commit is contained in:
SphericalIce 2021-01-07 21:11:45 +00:00
parent c506cf747f
commit fb69d97b24

View File

@ -1414,7 +1414,7 @@ void GiveLeadMonEffortRibbon(void)
bool8 Special_AreLeadMonEVsMaxedOut(void)
{
if (GetMonEVCount(&gPlayerParty[GetLeadMonIndex()]) >= 510)
if (GetMonEVCount(&gPlayerParty[GetLeadMonIndex()]) >= MAX_TOTAL_EVS)
{
return TRUE;
}