diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-01-28 15:42:51 -0500 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2021-01-28 15:55:33 -0500 |
commit | 89b85a49ec30d613244bd5c76f0a86ab1022bc48 (patch) | |
tree | 28bd3b8fc74f4512cd13e9924960b49e60988b3e /src/easy_chat.c | |
parent | 8fe4d004e369ee8378f4295b0e3926fbe9df7627 (diff) |
Index gBardSounds_Moves and gBardSounds_Pokemon with constants
Diffstat (limited to 'src/easy_chat.c')
-rw-r--r-- | src/easy_chat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/easy_chat.c b/src/easy_chat.c index 6bb77bc84..fa3d4472a 100644 --- a/src/easy_chat.c +++ b/src/easy_chat.c @@ -4876,7 +4876,7 @@ bool8 sub_811EAA4(u16 easyChatWord) } } -bool8 ECWord_CheckIfOutsideOfValidRange(u16 easyChatWord) +bool8 IsBardWordInvalid(u16 easyChatWord) { int numWordsInGroup; u8 groupId = EC_GROUP(easyChatWord); @@ -4888,11 +4888,11 @@ bool8 ECWord_CheckIfOutsideOfValidRange(u16 easyChatWord) { case EC_GROUP_POKEMON: case EC_GROUP_POKEMON_2: - numWordsInGroup = gNumSpeciesNames; + numWordsInGroup = gNumBardWords_Species; break; case EC_GROUP_MOVE_1: case EC_GROUP_MOVE_2: - numWordsInGroup = gUnknown_085FA1D4; + numWordsInGroup = gNumBardWords_Moves; break; default: numWordsInGroup = gEasyChatGroups[groupId].numWords; |