diff options
author | Diegoisawesome <diego@domoreaweso.me> | 2017-12-17 22:51:40 -0600 |
---|---|---|
committer | Diegoisawesome <diego@domoreaweso.me> | 2017-12-17 22:51:40 -0600 |
commit | 6a674e1e83db097d7a31a3786d12e42987f09f70 (patch) | |
tree | 2aaad3869de2a5ec02f71b30cd325e066d944d1f /include/global.h | |
parent | 720bd555bce8141e5e321e082cf80e7f4401d455 (diff) | |
parent | 46fa2557d777096803ff90ba95d5500a9c03d2c5 (diff) |
Merge remote-tracking branch 'Egg/decompile_mail_data'
Diffstat (limited to 'include/global.h')
-rw-r--r-- | include/global.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/global.h b/include/global.h index 63bb55165..9fe0d975f 100644 --- a/include/global.h +++ b/include/global.h @@ -379,10 +379,12 @@ struct EasyChatPair u16 words[2]; }; /*size = 0x8*/ +#define MAIL_WORDS_COUNT 9 + struct MailStruct { - /*0x00*/ u16 words[9]; - /*0x12*/ u8 playerName[8]; + /*0x00*/ u16 words[MAIL_WORDS_COUNT]; + /*0x12*/ u8 playerName[PLAYER_NAME_LENGTH]; /*0x1A*/ u8 trainerId[4]; /*0x1E*/ u16 species; /*0x20*/ u16 itemId; |