diff options
author | Cameron Hall <camthesaxman@users.noreply.github.com> | 2018-01-05 22:39:18 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-05 22:39:18 -0600 |
commit | f3399955b15f622aec629dbd9bee3090a69e2ce0 (patch) | |
tree | 4b47c9fb0f2db74dcbc56cedec839523c86a5647 /include/global.h | |
parent | f5fbe5b66226f4e7e38fe5d4638831d1ce19b36b (diff) | |
parent | e95436b9024f2c32a2a005c97cf35f426fadab62 (diff) |
Merge pull request #504 from camthesaxman/decompile_easy_chat
decompile easy_chat.s
Diffstat (limited to 'include/global.h')
-rw-r--r-- | include/global.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/global.h b/include/global.h index 76300d36d..0764718ca 100644 --- a/include/global.h +++ b/include/global.h @@ -33,7 +33,7 @@ int strcmp (const char *, const char *); #define POKEMON_NAME_LENGTH 10 #define OT_NAME_LENGTH 7 -#define min(a, b) ((a) <= (b) ? (a) : (b)) +#define min(a, b) ((a) < (b) ? (a) : (b)) #define max(a, b) ((a) >= (b) ? (a) : (b)) // why does GF hate 2d arrays @@ -682,7 +682,7 @@ struct SaveBlock1 /* 0x02025734 */ /*0x2B40*/ u16 unk2B40[6]; } easyChats; /*0x2B4C*/ struct MailStruct mail[16]; - /*0x2D8C*/ u8 unk2D8C[4]; + /*0x2D8C*/ u8 unk2D8C[4]; // What is this? Apparently it's supposed to be 64 bytes in size. /*0x2D90*/ u8 filler_2D90[0x4]; /*0x2D94*/ union MauvilleMan mauvilleMan; /*0x2DD4*/ struct EasyChatPair easyChatPairs[5]; //Dewford trend [0] and some other stuff |