mirror of
https://github.com/pret/pokeemerald.git
synced 2026-08-24 19:15:33 -05:00
Use the constant for the max total of EVs
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user