summaryrefslogtreecommitdiff
path: root/src/string_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string_util.c')
-rw-r--r--src/string_util.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/string_util.c b/src/string_util.c
index 43195a219..514e7031f 100644
--- a/src/string_util.c
+++ b/src/string_util.c
@@ -19,11 +19,14 @@ static u8 *ExpandPlaceholder_GoodLeader(void);
static u8 *ExpandPlaceholder_EvilLegendary(void);
static u8 *ExpandPlaceholder_GoodLegendary(void);
+COMM_4(u8 gUnknownStringVar[16])
+
const u8 gEmptyString_81E72B0[] = _"";
const u8 gRightPointingTriangleString[] = _"▶";
-const u8 sDigits[] = @"0123456789ABCDEF";
-const s32 sPowersOfTen[] =
+static const u8 sDigits[] = @"0123456789ABCDEF";
+
+static const s32 sPowersOfTen[] =
{
1,
10,
@@ -37,12 +40,12 @@ const s32 sPowersOfTen[] =
1000000000,
};
-const u8 sSetBrailleFont[] = { 0xFC, 0x06, 0x06, 0xFF };
-const u8 sGotoLine2[] = { 0xFE, 0xFC, 0x0E, 0x02, 0xFF };
+static const u8 sSetBrailleFont[] = { 0xFC, 0x06, 0x06, 0xFF };
+static const u8 sGotoLine2[] = { 0xFE, 0xFC, 0x0E, 0x02, 0xFF };
typedef u8 *(*ExpandPlaceholderFunc)(void);
-const ExpandPlaceholderFunc sExpandPlaceholderFuncs[] =
+static const ExpandPlaceholderFunc sExpandPlaceholderFuncs[] =
{
ExpandPlaceholder_UnknownStringVar,
ExpandPlaceholder_PlayerName,
@@ -74,8 +77,6 @@ extern u8 gExpandedPlaceholder_Groudon[];
extern u8 gExpandedPlaceholder_Brendan[];
extern u8 gExpandedPlaceholder_May[];
-extern u8 gUnknownStringVar[];
-
u8 *StringCopy10(u8 *dest, u8 *src)
{
u8 i;