1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 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; }