diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2020-01-16 09:53:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-16 09:53:08 -0500 |
commit | fad367402892e1c25634c4448936d84a621c341c (patch) | |
tree | b796aba2ae57729cae5f78767336082dd46a6b21 /src/string_util.c | |
parent | 0bc479db34154988c6322bf5f2bb6d48556f62c3 (diff) | |
parent | 884b46a5dc26ae9e0c0abcf7e0d69c1122a30e22 (diff) |
Merge pull request #225 from GriffinRichards/doc-questlog
Document some quest log
Diffstat (limited to 'src/string_util.c')
-rw-r--r-- | src/string_util.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/string_util.c b/src/string_util.c index ccef95f71..4c1106df8 100644 --- a/src/string_util.c +++ b/src/string_util.c @@ -472,20 +472,20 @@ u8 *GetExpandedPlaceholder(u32 id) static const ExpandPlaceholderFunc funcs[] = { - ExpandPlaceholder_UnknownStringVar, - ExpandPlaceholder_PlayerName, - ExpandPlaceholder_StringVar1, - ExpandPlaceholder_StringVar2, - ExpandPlaceholder_StringVar3, - ExpandPlaceholder_KunChan, - ExpandPlaceholder_RivalName, - ExpandPlaceholder_Version, - ExpandPlaceholder_Magma, - ExpandPlaceholder_Aqua, - ExpandPlaceholder_Maxie, - ExpandPlaceholder_Archie, - ExpandPlaceholder_Groudon, - ExpandPlaceholder_Kyogre, + [PLACEHOLDER_ID_UNKNOWN] = ExpandPlaceholder_UnknownStringVar, + [PLACEHOLDER_ID_PLAYER] = ExpandPlaceholder_PlayerName, + [PLACEHOLDER_ID_STRING_VAR_1] = ExpandPlaceholder_StringVar1, + [PLACEHOLDER_ID_STRING_VAR_2] = ExpandPlaceholder_StringVar2, + [PLACEHOLDER_ID_STRING_VAR_3] = ExpandPlaceholder_StringVar3, + [PLACEHOLDER_ID_KUN] = ExpandPlaceholder_KunChan, + [PLACEHOLDER_ID_RIVAL] = ExpandPlaceholder_RivalName, + [PLACEHOLDER_ID_VERSION] = ExpandPlaceholder_Version, + [PLACEHOLDER_ID_MAGMA] = ExpandPlaceholder_Magma, + [PLACEHOLDER_ID_AQUA] = ExpandPlaceholder_Aqua, + [PLACEHOLDER_ID_MAXIE] = ExpandPlaceholder_Maxie, + [PLACEHOLDER_ID_ARCHIE] = ExpandPlaceholder_Archie, + [PLACEHOLDER_ID_GROUDON] = ExpandPlaceholder_Groudon, + [PLACEHOLDER_ID_KYOGRE] = ExpandPlaceholder_Kyogre, }; if (id >= ARRAY_COUNT(funcs)) |