summaryrefslogtreecommitdiff
path: root/include/easy_chat.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-11-01 13:36:16 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2019-11-01 13:36:16 -0400
commita8c2fecbd5427ad504d5b9be543edf549e792508 (patch)
treebf3cf22abf677eb657544774b29ce7cf006dd740 /include/easy_chat.h
parent4c53392a3f0ade1cc7b5e262be5ebb5d64320a57 (diff)
Redump easy chat to C
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);