summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2017-11-12 22:59:36 +0100
committerDizzyEggg <jajkodizzy@wp.pl>2017-11-12 22:59:36 +0100
commitc4674735d20e163fb35cbd87088e6f029a14d5f8 (patch)
treead653884a8a5b085af0add7ab51cb843f85cedf5 /include/global.h
parent558bf2f7d0c9be70ec0da4b9ef28c105c5d11622 (diff)
start working on recorded battle
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/global.h b/include/global.h
index 3421517d7..f544ab701 100644
--- a/include/global.h
+++ b/include/global.h
@@ -167,9 +167,11 @@ struct BerryCrush
u32 unk;
};
+#define PLAYER_NAME_LENGTH 8
+
struct SaveBlock2
{
- /*0x00*/ u8 playerName[8];
+ /*0x00*/ u8 playerName[PLAYER_NAME_LENGTH];
/*0x08*/ u8 playerGender; // MALE, FEMALE
/*0x09*/ u8 specialSaveWarp;
/*0x0A*/ u8 playerTrainerId[4];