summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/field_specials.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/field_specials.c b/src/field_specials.c
index 51030a387..1863a462c 100644
--- a/src/field_specials.c
+++ b/src/field_specials.c
@@ -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;
}