Use specific name limits for string limit functions
This commit is contained in:
+2
-2
@@ -953,7 +953,7 @@ static void DisplayPartyPokemonDataForMultiBattle(u8 slot)
|
||||
{
|
||||
menuBox->infoRects->blitFunc(menuBox->windowId, 0, 0, 0, 0, FALSE);
|
||||
StringCopy(gStringVar1, gMultiPartnerParty[actualSlot].nickname);
|
||||
StringGetEnd10(gStringVar1);
|
||||
StringGet_Nickname(gStringVar1);
|
||||
ConvertInternationalPlayerName(gStringVar1);
|
||||
DisplayPartyPokemonBarDetail(menuBox->windowId, gStringVar1, 0, menuBox->infoRects->dimensions);
|
||||
DisplayPartyPokemonLevel(gMultiPartnerParty[actualSlot].level, menuBox);
|
||||
@@ -1621,7 +1621,7 @@ static s8 GetNewSlotDoubleLayout(s8 slotId, s8 movementDir)
|
||||
u8* GetMonNickname(struct Pokemon *mon, u8 *dest)
|
||||
{
|
||||
GetMonData(mon, MON_DATA_NICKNAME, dest);
|
||||
return StringGetEnd10(dest);
|
||||
return StringGet_Nickname(dest);
|
||||
}
|
||||
|
||||
#define tKeepOpen data[0]
|
||||
|
||||
Reference in New Issue
Block a user