diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2017-12-03 19:19:11 +0100 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2017-12-03 19:19:11 +0100 |
commit | 4faa442d5ab55d2961907661e21538028d7372d8 (patch) | |
tree | db64420b2919a3d164225306e0551e9ab58452e7 /include/global.h | |
parent | 0250aefb73a995a6812a657193abeb96eb34d489 (diff) |
decompile and label mail
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 f3ec9ce33..a3e234cf0 100644 --- a/include/global.h +++ b/include/global.h @@ -356,10 +356,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; |