diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-12-28 21:34:16 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-28 21:34:16 -0600 |
commit | 6512ebff67e163a5a6c0f5e19847e2a4dda19ad1 (patch) | |
tree | 028f81d66b2cd990d163062280e558a080b30071 /src/pokemon_mail.c | |
parent | 7a1956f51d3bbba5f49f97526b79efafa85792bb (diff) | |
parent | f0ef6ae481ec2cc655f1606f074de38ef26276c4 (diff) |
Merge pull request #90 from pret/pokemon_mail_data
Pokemon mail data and some decomp
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; } |