summaryrefslogtreecommitdiff
path: root/src/pokemon_mail.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pokemon_mail.c')
-rw-r--r--src/pokemon_mail.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/pokemon_mail.c b/src/pokemon_mail.c
new file mode 100644
index 0000000..365bafd
--- /dev/null
+++ b/src/pokemon_mail.c
@@ -0,0 +1,20 @@
+#include "global.h"
+
+struct Pokemon_Mail
+{
+ char *headline;
+ char *text;
+};
+
+extern struct Pokemon_Mail gPokemonMail[];
+
+char *GetPokemonMailHeadline(u8 index)
+{
+ return gPokemonMail[index].headline;
+}
+
+
+char *GetPokemonMailText(u8 index)
+{
+ return gPokemonMail[index].text;
+}