From e7a59a1a21cec81190434e397f62c245e73063e4 Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Wed, 22 Dec 2021 17:00:21 -0600 Subject: move pokemon mail data to src --- src/pokemon_mail.c | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'src/pokemon_mail.c') diff --git a/src/pokemon_mail.c b/src/pokemon_mail.c index 365bafd..a3d8fae 100644 --- a/src/pokemon_mail.c +++ b/src/pokemon_mail.c @@ -1,20 +1,13 @@ #include "global.h" +#include "pokemon_mail.h" +#include "data/pokemon_mail.h" -struct Pokemon_Mail -{ - char *headline; - char *text; -}; - -extern struct Pokemon_Mail gPokemonMail[]; - -char *GetPokemonMailHeadline(u8 index) +const char *GetPokemonMailHeadline(u8 index) { return gPokemonMail[index].headline; } - -char *GetPokemonMailText(u8 index) +const char *GetPokemonMailText(u8 index) { return gPokemonMail[index].text; } -- cgit v1.2.3