summaryrefslogtreecommitdiff
path: root/src/name_string_util.c
diff options
context:
space:
mode:
authorgolem galvanize <golemgalvanize@github.com>2018-01-09 16:48:01 -0500
committergolem galvanize <golemgalvanize@github.com>2018-01-09 16:48:01 -0500
commitc7722a492017dbd8a5fb3bb216062eb62129daf5 (patch)
tree2a5c0ba6a6b9364aa93eb4a9a89b35153954ab63 /src/name_string_util.c
parent2d141bc612ffecc984f6b4238c2791ba8419a192 (diff)
parent85174ad6193d3d58b92deaaedf8c510440ed85ee (diff)
fixing merge conflicts
Diffstat (limited to 'src/name_string_util.c')
-rw-r--r--src/name_string_util.c40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/name_string_util.c b/src/name_string_util.c
deleted file mode 100644
index f1a935453..000000000
--- a/src/name_string_util.c
+++ /dev/null
@@ -1,40 +0,0 @@
-#include "global.h"
-#include "name_string_util.h"
-#include "string_util.h"
-#include "text.h"
-
-void PadNameString(u8 *a1, u8 a2)
-{
- u8 i;
-
- StripExtCtrlCodes(a1);
- i = StringLength(a1);
-
- if (a2 == 0xFC)
- {
- while (i < 6)
- {
- a1[i] = 0xFC;
- a1[i + 1] = 7;
- i += 2;
- }
- }
- else
- {
- while (i < 6)
- {
- a1[i] = a2;
- i++;
- }
- }
-
- a1[i] = EOS;
-}
-
-void SanitizeNameString(u8 *a1)
-{
- if (StringLength(a1) < 6)
- ConvertInternationalString(a1, 1);
- else
- StripExtCtrlCodes(a1);
-}