diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-12-22 17:00:21 -0600 |
---|---|---|
committer | Seth Barberee <seth.barberee@gmail.com> | 2021-12-22 17:00:21 -0600 |
commit | e7a59a1a21cec81190434e397f62c245e73063e4 (patch) | |
tree | 7e3087f7f4cb67ae605c7993c8aaca22d46ed956 /src/pokemon_mail.c | |
parent | 7a1956f51d3bbba5f49f97526b79efafa85792bb (diff) |
move pokemon mail data to src
Diffstat (limited to 'src/pokemon_mail.c')
-rw-r--r-- | src/pokemon_mail.c | 15 |
1 files changed, 4 insertions, 11 deletions
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; } |