Index gBardSounds_Moves and gBardSounds_Pokemon with constants

This commit is contained in:
GriffinR
2021-01-28 15:42:51 -05:00
parent 8fe4d004e3
commit 89b85a49ec
6 changed files with 779 additions and 785 deletions
+1 -3
View File
@@ -1,5 +1,3 @@
// Includes
#include "global.h"
#include "bard_music.h"
#include "constants/easy_chat.h"
@@ -21,7 +19,7 @@ const struct BardSound *GetWordSounds(u16 word)
u32 subword;
const struct BardSound (*ptr)[6];
if (ECWord_CheckIfOutsideOfValidRange(word))
if (IsBardWordInvalid(word))
{
return gBardSound_InvalidWord;
}