summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2017-12-03 19:19:11 +0100
committerDizzyEggg <jajkodizzy@wp.pl>2017-12-03 19:19:11 +0100
commit4faa442d5ab55d2961907661e21538028d7372d8 (patch)
treedb64420b2919a3d164225306e0551e9ab58452e7 /include/global.h
parent0250aefb73a995a6812a657193abeb96eb34d489 (diff)
decompile and label mail
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h6
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;