summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2017-10-09 20:25:41 -0400
committerProjectRevoTPP <projectrevotpp@hotmail.com>2017-10-09 20:25:41 -0400
commitf1d07acc48e483f00f8d6d573af12199f68123d4 (patch)
tree6e9ace8e4822e19224561dc99728d80699eaa635 /include/global.h
parent6d66081be0b1b26ce55a6f1a2a20644e2ae5c7f7 (diff)
parent8914645231c9301579ed39bdd9200ad50e5296d0 (diff)
Merge branch 'master' of https://github.com/pret/pokeemerald into use_build
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h37
1 files changed, 19 insertions, 18 deletions
diff --git a/include/global.h b/include/global.h
index e0c09d29a..e98b01ee2 100644
--- a/include/global.h
+++ b/include/global.h
@@ -225,24 +225,25 @@ extern struct SaveBlock2 *gSaveBlock2Ptr;
struct SecretBaseRecord
{
- /*ID?*/ /*0x1A08*/ u8 sbr_field_0;
- /*0x1A09*/ u8 sbr_field_1_0:4;
- /*0x1A09*/ u8 gender:1;
- /*0x1A09*/ u8 sbr_field_1_5:1;
- /*0x1A09*/ u8 sbr_field_1_6:2;
- /*0x1A0A*/ u8 sbr_field_2[7]; // 0xFF bytes?
- /*0x1A12*/ u8 trainerId[4]; // byte 0 is used for determining trainer class
- /*0x1A16*/ u16 sbr_field_e;
- /*0x1A18*/ u8 sbr_field_10;
- /*0x1A19*/ u8 sbr_field_11;
- /*0x1A1A*/ u8 decorations[16];
- /*0x1A2A*/ u8 decorationPos[16];
- /*0x1A3A*/ u32 partyPersonality[6];
- /*0x1A54*/ u16 partyMoves[6 * 4];
- /*0x1A84*/ u16 partySpecies[6];
- /*0x1A90*/ u16 partyHeldItems[6];
- /*0x1A9C*/ u8 partyLevels[6];
- /*0x1AA2*/ u8 partyEVs[6];
+ u8 sbr_field_0;
+ u8 sbr_field_1_0:4;
+ u8 gender:1;
+ u8 sbr_field_1_5:1;
+ u8 sbr_field_1_6:2;
+ u8 trainerName[7];
+ u8 trainerId[4]; // byte 0 is used for determining trainer class
+ u8 language;
+ u16 sbr_field_e;
+ u8 sbr_field_10;
+ u8 sbr_field_11;
+ u8 decorations[16];
+ u8 decorationPos[16];
+ u32 partyPersonality[6];
+ u16 partyMoves[6 * 4];
+ u16 partySpecies[6];
+ u16 partyHeldItems[6];
+ u8 partyLevels[6];
+ u8 partyEVs[6];
};
#include "game_stat.h"