mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-21 11:43:37 +01:00
Use the constant for the max total of EVs
This commit is contained in:
parent
c506cf747f
commit
fb69d97b24
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user