summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSphericalIce <sphericalice@outlook.com>2021-01-07 21:11:45 +0000
committerSphericalIce <sphericalice@outlook.com>2021-01-07 21:11:45 +0000
commitfb69d97b24209cb7828a49b29ab1fb30c9baa02f (patch)
tree8d262ae3b57c0439b5f1cb74ddf01a1a976c17a6 /src
parentc506cf747fa2e0a0eaff428cfd28ada7ffa58b67 (diff)
Use the constant for the max total of EVs
Diffstat (limited to 'src')
-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;
}