diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-02-28 10:28:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-28 10:28:43 -0500 |
commit | 1912b0cf0a0f42f23200ecffcb22651015478ef6 (patch) | |
tree | d855404809d36965aaa76784bae08bdf6ea92cc7 /src/international_string_util.c | |
parent | 2dfa84c10ff497d73b3a201480fa568ba62e5a38 (diff) | |
parent | ea748ff7f51a7c119658930f878d046cc8b83c51 (diff) |
Merge branch 'master' into doc-rtcscreen
Diffstat (limited to 'src/international_string_util.c')
-rw-r--r-- | src/international_string_util.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/international_string_util.c b/src/international_string_util.c index c2b4b43cf..ed1e17816 100644 --- a/src/international_string_util.c +++ b/src/international_string_util.c @@ -152,7 +152,7 @@ void PadNameString(u8 *dest, u8 padChar) dest[length] = EOS; } -void sub_81DB52C(u8 *str) +void ConvertInternationalPlayerName(u8 *str) { if (StringLength(str) < PLAYER_NAME_LENGTH - 1) ConvertInternationalString(str, LANGUAGE_JAPANESE); @@ -160,14 +160,14 @@ void sub_81DB52C(u8 *str) StripExtCtrlCodes(str); } -void sub_81DB554(u8 *str, u8 arg1) +void ConvertInternationalPlayerNameStripChar(u8 *str, u8 removeChar) { u8 *buffer; if (StringLength(str) < PLAYER_NAME_LENGTH - 1) { ConvertInternationalString(str, LANGUAGE_JAPANESE); } - else if (arg1 == EXT_CTRL_CODE_BEGIN) + else if (removeChar == EXT_CTRL_CODE_BEGIN) { StripExtCtrlCodes(str); } @@ -177,7 +177,7 @@ void sub_81DB554(u8 *str, u8 arg1) while (buffer[1] != EOS) buffer++; - while (buffer >= str && buffer[0] == arg1) + while (buffer >= str && buffer[0] == removeChar) { buffer[0] = EOS; buffer--; |