summaryrefslogtreecommitdiff
path: root/src/bard_music.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-01-28 15:42:51 -0500
committerGriffinR <griffin.g.richards@gmail.com>2021-01-28 15:55:33 -0500
commit89b85a49ec30d613244bd5c76f0a86ab1022bc48 (patch)
tree28bd3b8fc74f4512cd13e9924960b49e60988b3e /src/bard_music.c
parent8fe4d004e369ee8378f4295b0e3926fbe9df7627 (diff)
Index gBardSounds_Moves and gBardSounds_Pokemon with constants
Diffstat (limited to 'src/bard_music.c')
-rw-r--r--src/bard_music.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bard_music.c b/src/bard_music.c
index 1a61c25ff..d1da97a6c 100644
--- a/src/bard_music.c
+++ b/src/bard_music.c
@@ -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;
}