summaryrefslogtreecommitdiff
path: root/include/save_block_2.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/save_block_2.h')
-rw-r--r--include/save_block_2.h20
1 files changed, 16 insertions, 4 deletions
diff --git a/include/save_block_2.h b/include/save_block_2.h
index b086e566..bfac686d 100644
--- a/include/save_block_2.h
+++ b/include/save_block_2.h
@@ -3,6 +3,15 @@
#include "pokemon.h"
+struct SavArrayHeader
+{
+ u32 id;
+ u32 size;
+ u32 offset;
+ u16 field_C;
+ u16 field_E;
+};
+
struct SaveBlock2
{
/* 0x00000 */ u16 playerName[OT_NAME_LENGTH + 1];
@@ -12,10 +21,13 @@ struct SaveBlock2
/* 0x00019 */ u8 origin;
/* 0x0001A */ u8 badges;
/* 0x0001B */ u8 avatar;
- /* 0x0001C */ u8 filler_0001C[0x14];
- /* 0x00030 */ struct PlayerParty party;
- // TODO: finish this st ruct
-};
+ /* 0x0001C */ u8 filler_0001C[0x1F8];
+ /* 0x00214 */ u8 dynamic_region[0x20000];
+ /* 0x20214 */ u8 filler_20214[16];
+ /* 0x20224 */ struct SavArrayHeader arrayHeaders[36];
+ /* 0x20464 */ u8 filler_20464[0x44];
+ // TODO: finish this struct
+}; // size: 0x204A8
struct String * FUN_020239A0(struct SaveBlock2 *, u32 heap_id);
u32 FUN_020239BC(struct SaveBlock2 *);