diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2016-12-12 02:08:36 -0500 |
---|---|---|
committer | YamaArashi <YamaArashi@users.noreply.github.com> | 2016-12-11 23:08:36 -0800 |
commit | 36214115534dd9329b5c02d78595967e671b6caf (patch) | |
tree | 953d530079418c9e69679ecc74bde7df367089b9 /include/global.h | |
parent | cd1db96498c4ac9ec940611a114a604800e12c2a (diff) |
decompile load_save.c (#125)
* start decompiling load_save.c
* almost finish decompiling load_save.c
* finish decompiling load_save.c
* i cannot hex math
* formatting
Diffstat (limited to 'include/global.h')
-rw-r--r-- | include/global.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/global.h b/include/global.h index ce2267642..be35f1299 100644 --- a/include/global.h +++ b/include/global.h @@ -169,6 +169,11 @@ struct EasyChatPair u16 words[2]; }; /*size = 0x8*/ +struct SaveBlock1_2B4C_Struct +{ + u8 filler[0x24]; +}; + struct SaveBlock1 { /*0x00*/ struct Coords16 pos; @@ -230,7 +235,9 @@ struct SaveBlock1 /*0x2B0D*/ u8 outbreakPokemonProbability; /*0x2B0E*/ u8 filler_2B0E[0xE]; /*0x2B1C*/ u16 unk2B1C[4]; - /*0x2B24*/ u8 filler_2B24[0x2B0]; + /*0x2B24*/ u8 filler_2B24[0x28]; + /*0x2B4C*/ struct SaveBlock1_2B4C_Struct unkSave[16]; + /*0x2D8C*/ u8 filler_2D8C[0x48]; /*0x2DD4*/ struct EasyChatPair easyChatPairs[5]; //Dewford trend [0] and some other stuff /*0x2DFC*/ u8 filler_2DFC[0x100]; /*0x2EFC*/ struct SB1_2EFC_Struct sb1_2EFC_struct[5]; @@ -284,7 +291,7 @@ struct SaveBlock2 { /*0x00*/ u8 playerName[8]; /*0x08*/ u8 playerGender; // MALE, FEMALE - /*0x09*/ u8 sb2_field_9; + /*0x09*/ u8 specialSaveWarp; /*0x0A*/ u8 playerTrainerId[4]; /*0x0E*/ u16 playTimeHours; /*0x10*/ u8 playTimeMinutes; |