From e5eccf47524d9c40eaa925ed5dccdffce4b5268b Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Fri, 1 Nov 2019 19:48:07 -0400 Subject: Better return type for EC_IsDeoxys --- src/easy_chat.c | 4 ++-- 1 file 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++) -- cgit v1.2.3