summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2017-10-17 20:07:09 -0700
committerGitHub <noreply@github.com>2017-10-17 20:07:09 -0700
commita335716a41ebed9b221a7569ab426a2efdd5d719 (patch)
tree40f8248de079d616af7b68f9f44f6f26e9466c55 /include/global.h
parente424136fc5e648084125775e45f9084c33ea7303 (diff)
parent687fee8891816c7d9b21670ba326edde8b15dce1 (diff)
Merge pull request #447 from huderlem/secret_base
Finish secret_base decompilation
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/global.h b/include/global.h
index 6b0a0cb01..7c1ac9c68 100644
--- a/include/global.h
+++ b/include/global.h
@@ -130,12 +130,12 @@ struct UCoords16
struct SecretBaseRecord
{
- /*ID?*/ /*0x1A08*/ u8 sbr_field_0;
+ /*0x1A08*/ u8 secretBaseId;
/*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?
+ /*0x1A0A*/ u8 playerName[OT_NAME_LENGTH];
/*0x1A11*/ u8 trainerId[4]; // byte 0 is used for determining trainer class
/*0x1A16*/ u16 sbr_field_e;
/*0x1A18*/ u8 sbr_field_10;