Document mail
This commit is contained in:
@@ -261,10 +261,10 @@ static void sub_81D1D44(u8 windowId, s32 itemId, u8 y)
|
||||
if (itemId == LIST_CANCEL)
|
||||
return;
|
||||
|
||||
StringCopy(buffer, gSaveBlock1Ptr->mail[6 + itemId].playerName);
|
||||
sub_81DB52C(buffer);
|
||||
StringCopy(buffer, gSaveBlock1Ptr->mail[PARTY_SIZE + itemId].playerName);
|
||||
ConvertInternationalPlayerName(buffer);
|
||||
length = StringLength(buffer);
|
||||
if (length <= 5)
|
||||
if (length < PLAYER_NAME_LENGTH - 1)
|
||||
ConvertInternationalString(buffer, LANGUAGE_JAPANESE);
|
||||
AddTextPrinterParameterized4(windowId, 1, 8, y, 0, 0, sPlayerNameTextColors, -1, buffer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user