GameFreak Gen 6 Data

From ProjectPokemon Wiki
Revision as of 19:32, 17 February 2016 by Bond697 (talk | contribs)
Jump to navigation Jump to search

HeapData

Offset Description
0x0 Heap pointer
0x4 Bitflags for heap


Heap Bitflags

Offset Description
0 In use
1 Main heap


Pokemon Accessor

Offset Type Description
0x0 u32 vtable pointer
0x4 u32 is pkm in party
0x8 u32 pointer to pkm data
0xC bool is pkm data encrypted
0xD bool encrypt pkm data (?)


Pokemon Temp Data

Offset Type Description
0x0 u32 Encryption constant
0x8 u64 pid and 0
0x10 u32 tid/sid
0x18 u16 National dex ID
0x1A u8 Form
0x1E u16 Gender
0x20 u16 Nature
0x22 u8 Ability number
0x23 u8 Pid count to generate to increase shiny chance
0x24 u16 HP IV
0x26 u16 ATK IV
0x28 u16 DEF IV
0x2A u16 SPA IV
0x2C u16 SPD IV
0x2E u16 SPE IV
0x30 u32 Friendship
0x6C u8 Language idx
0x6D u8 Country ID
0x6E u8 Trainer mem text
0x6F u8 3DS Region


gfl::fs::ver4::ArcFileAccessor Data

Offset Description
0x0 vtable
0x4 Ptr to GARC memory block
0x8 Ptr to FATO data in block
0xC Ptr to FATB data in block
0x10 Ptr to FIMB data in block