summaryrefslogtreecommitdiff
path: root/src/apprentice.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/apprentice.c
parentb9fa18bdd4a44e219c7678c26d692b2be4baeea3 (diff)
Use specific name limits for string limit functions
Diffstat (limited to 'src/apprentice.c')
-rw-r--r--src/apprentice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apprentice.c b/src/apprentice.c
index 6255b9215..2ab2f0e5a 100644
--- a/src/apprentice.c
+++ b/src/apprentice.c
@@ -127,7 +127,7 @@ void BufferApprenticeChallengeText(u8 saveApprenticeId)
for (i = 0; num != 0 && i < APPRENTICE_COUNT; num /= 10, i++)
;
- StringCopy7(gStringVar1, gSaveBlock2Ptr->apprentices[saveApprenticeId].playerName);
+ StringCopy_PlayerName(gStringVar1, gSaveBlock2Ptr->apprentices[saveApprenticeId].playerName);
ConvertInternationalString(gStringVar1, gSaveBlock2Ptr->apprentices[saveApprenticeId].language);
ConvertIntToDecimalStringN(gStringVar2, gSaveBlock2Ptr->apprentices[saveApprenticeId].number, STR_CONV_MODE_RIGHT_ALIGN, i);
challengeText = sApprenticeChallengeTexts[gSaveBlock2Ptr->apprentices[saveApprenticeId].id];