summaryrefslogtreecommitdiff
path: root/src/contest.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-11-17 22:11:03 -0500
committerGriffinR <griffin.g.richards@gmail.com>2021-11-17 22:11:03 -0500
commit1b35f9adad4f7471cb8a95ab78b9512d2c239156 (patch)
tree94ce723d0ffd5bf828abd016516cf1ffb59c4f7c /src/contest.c
parentb9fa18bdd4a44e219c7678c26d692b2be4baeea3 (diff)
Use specific name limits for string limit functions
Diffstat (limited to 'src/contest.c')
-rw-r--r--src/contest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contest.c b/src/contest.c
index b5a035ff8..ced9f90cd 100644
--- a/src/contest.c
+++ b/src/contest.c
@@ -2794,7 +2794,7 @@ void CreateContestMonFromParty(u8 partyIndex)
gContestMons[gContestPlayerMonIndex].highestRank = 0;
gContestMons[gContestPlayerMonIndex].species = GetMonData(&gPlayerParty[partyIndex], MON_DATA_SPECIES);
GetMonData(&gPlayerParty[partyIndex], MON_DATA_NICKNAME, name);
- StringGetEnd10(name);
+ StringGet_Nickname(name);
if (gLinkContestFlags & LINK_CONTEST_FLAG_IS_LINK)
{
StripMonNameForLinkContest(name, GetMonData(&gPlayerParty[partyIndex], MON_DATA_LANGUAGE));