Better return type for EC_IsDeoxys

This commit is contained in:
PikalaxALT 2019-11-01 19:48:07 -04:00
parent a20a2b415c
commit e5eccf4752

View File

@ -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++)