From fb69d97b24209cb7828a49b29ab1fb30c9baa02f Mon Sep 17 00:00:00 2001 From: SphericalIce Date: Thu, 7 Jan 2021 21:11:45 +0000 Subject: Use the constant for the max total of EVs --- src/field_specials.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3