diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-01-14 21:27:45 -0500 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2020-01-15 16:00:45 -0500 |
commit | 04d176334ad590d3462e3c1eb75c1313705ae183 (patch) | |
tree | 865ca807901bf57e63523b19f2d535c7ef391f89 /src/string_util.c | |
parent | 2f81b4a204d051aeb88580dc63381011ec49fcbb (diff) |
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)) |