summaryrefslogtreecommitdiff
path: root/include/easy_chat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/easy_chat.h')
-rw-r--r--include/easy_chat.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/easy_chat.h b/include/easy_chat.h
index a487c9456..f1031bd7b 100644
--- a/include/easy_chat.h
+++ b/include/easy_chat.h
@@ -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);