Redump easy chat to C

This commit is contained in:
PikalaxALT
2019-11-01 13:36:16 -04:00
parent 4c53392a3f
commit a8c2fecbd5
33 changed files with 13955 additions and 4999 deletions
+26
View File
@@ -30,6 +30,32 @@ enum
EC_GROUP_POKEMON_2,
};
struct EasyChatWordInfo
{
const u8 *text;
int alphabeticalOrder;
int enabled;
};
typedef union
{
const u16 *valueList;
const struct EasyChatWordInfo *words;
} EasyChatGroupWordData;
struct EasyChatGroup
{
EasyChatGroupWordData wordData;
u16 numWords;
u16 numEnabledWords;
};
struct EasyChatWordsByLetter
{
const u16 *words;
int numWords;
};
void InitEasyChatPhrases(void);
void easy_chat_input_maybe(void);
void CopyEasyChatWord(u8 *dest, u16 word);