Sync/document battle_message.c

This commit is contained in:
GriffinR
2022-08-12 13:08:40 -04:00
parent a530bb3a74
commit a064849864
33 changed files with 776 additions and 433 deletions
+4 -4
View File
@@ -54,10 +54,10 @@ u8 *StringCopy_Nickname(u8 *dest, const u8 *src)
return &dest[i];
}
u8 *StringGetEnd10(u8 *str)
u8 *StringGet_Nickname(u8 *str)
{
u8 i;
u32 limit = 10;
u32 limit = POKEMON_NAME_LENGTH;
for (i = 0; i < limit; i++)
if (str[i] == EOS)
@@ -67,10 +67,10 @@ u8 *StringGetEnd10(u8 *str)
return &str[i];
}
u8 *StringCopy7(u8 *dest, const u8 *src)
u8 *StringCopy_PlayerName(u8 *dest, const u8 *src)
{
s32 i;
s32 limit = 7;
s32 limit = PLAYER_NAME_LENGTH;
for (i = 0; i < limit; i++)
{