diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-11-17 22:11:03 -0500 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2021-11-17 22:11:03 -0500 |
commit | 1b35f9adad4f7471cb8a95ab78b9512d2c239156 (patch) | |
tree | 94ce723d0ffd5bf828abd016516cf1ffb59c4f7c /src/pokemon.c | |
parent | b9fa18bdd4a44e219c7678c26d692b2be4baeea3 (diff) |
Use specific name limits for string limit functions
Diffstat (limited to 'src/pokemon.c')
-rw-r--r-- | src/pokemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pokemon.c b/src/pokemon.c index 1607e1a40..939c2429d 100644 --- a/src/pokemon.c +++ b/src/pokemon.c @@ -4647,7 +4647,7 @@ void CopyPlayerPartyMonToBattleData(u8 battlerId, u8 partyIndex) gBattleMons[battlerId].type2 = gBaseStats[gBattleMons[battlerId].species].type2; gBattleMons[battlerId].ability = GetAbilityBySpecies(gBattleMons[battlerId].species, gBattleMons[battlerId].abilityNum); GetMonData(&gPlayerParty[partyIndex], MON_DATA_NICKNAME, nickname); - StringCopy10(gBattleMons[battlerId].nickname, nickname); + StringCopy_Nickname(gBattleMons[battlerId].nickname, nickname); GetMonData(&gPlayerParty[partyIndex], MON_DATA_OT_NAME, gBattleMons[battlerId].otName); hpSwitchout = &gBattleStruct->hpOnSwitchout[GetBattlerSide(battlerId)]; |