summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2019-11-01 19:48:07 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2019-11-01 19:48:07 -0400
commite5eccf47524d9c40eaa925ed5dccdffce4b5268b (patch)
tree1519033fd796e93ea79b9cc8fde29c53969e3c1a
parenta20a2b415c89e94c8bae0c9b1b678469db81c9a1 (diff)
Better return type for EC_IsDeoxys
-rw-r--r--src/easy_chat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/easy_chat.c b/src/easy_chat.c
index ab998a2ae..fd96f6a30 100644
--- a/src/easy_chat.c
+++ b/src/easy_chat.c
@@ -50,7 +50,7 @@ static void PopulateAlphabeticalGroups(void);
static u16 GetUnlockedWordsInECGroup(u16);
static u16 GetUnlockedWordsInAlphabeticalGroup(u16);
static bool8 UnlockedECMonOrMove(u16, u8);
-static int EC_IsDeoxys(u16 species);
+static bool32 EC_IsDeoxys(u16 species);
static bool8 IsWordUnlocked(u16 word);
#include "data/easy_chat/easy_chat_groups.h"
@@ -719,7 +719,7 @@ static bool8 UnlockedECMonOrMove(u16 wordIndex, u8 groupId)
}
}
-static int EC_IsDeoxys(u16 species)
+static bool32 EC_IsDeoxys(u16 species)
{
u32 i;
for (i = 0; i < ARRAY_COUNT(sDeoxysValue); i++)