diff options
author | SphericalIce <sphericalice@outlook.com> | 2021-01-07 21:11:45 +0000 |
---|---|---|
committer | SphericalIce <sphericalice@outlook.com> | 2021-01-07 21:11:45 +0000 |
commit | fb69d97b24209cb7828a49b29ab1fb30c9baa02f (patch) | |
tree | 8d262ae3b57c0439b5f1cb74ddf01a1a976c17a6 | |
parent | c506cf747fa2e0a0eaff428cfd28ada7ffa58b67 (diff) |
Use the constant for the max total of EVs
-rw-r--r-- | src/field_specials.c | 2 |
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; } |