Advertisement
Guest User

Untitled

a guest
Sep 1st, 2015
784
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.81 KB | None | 0 0
  1. XD::Pokemon
  2. 0x00: u16 species (cf PokemonInfo.h)
  3. 0x02: u16 itemHeld (ItemInfo.h)
  4. 0x04: u16 currentHP
  5. 0x06: u16 happiness
  6. 0x08: u16 locationCaught
  7. // 0x09 -- 0xd :: ??
  8. 0x0e: u8 levelMet
  9. 0x0f: u8 ballCaughtWith
  10. 0x10: u8 OTGender (00 male 01 female 02 genderless=none)
  11. 0x11: u8 currentLevel
  12. 0x12: u8 Contest Luster
  13. 0x13: u8 pkrsStatus
  14. 0x14: u8 marks (bitfield)
  15. 0x15: 0xff ?
  16. 0x16: u16 status (3 psn, 4 psn (toxic ?), 5 par, 6 brn, 7 frzn, 8 slp)
  17. 0x17: ?
  18. 0x18 -- 0x1b : ? (0x50)
  19. 0x1d: u8 pkmFlags
  20. bit 7: egg flag
  21. bit 6: special (second) ability flag. Pokémon XD's catchable Pkms have a 50% chance to have their special ability
  22. bit 5: invalidity flag. MUST **NOT** BE SET for the Pokémon to be considered as valid ("not empty")
  23. bit 4: "not tradable in game" flag
  24. bit 3: ?
  25. bit 2: "caught" flag
  26. 0x1e 0x1f : ??
  27. 0x20: u32 experience
  28. 0x24: u16 SID
  29. 0x26: u16 TID
  30. 0x28: u32 PID
  31. 0x2c -- 0x32 : ?? (0 on shadow pkm)
  32. 0x33: u8 encounterType
  33. 0x34 -- 0x37 : Version info (actual region, original region, original language)
  34. 0x38: GC::PokemonString OTName (10+1 chars = 22 bytes)
  35. 0x4e: GC::PokemonString name (10+1 chars)
  36. 0x64: pkm name backup
  37. 0x7a -- 0x7b: ??
  38. 0x7c: u16 specialRibbons
  39. 0x7e -- 0x7f: ??
  40. 0x80: moves[4]{u16 moveID, u8 basePP (?), u8 nbPPUps}
  41. 0x90: u16 stats[6]
  42. 0x9c: u16 EVs[6]
  43. 0xa8: u8 IVs[6]
  44. 0xae: u8 contestStats[6] (0 to 255)
  45. 0xb3: u8 contestAchievements[5]
  46. 0xb7: unused
  47. 0xb8 : u16 ??
  48. 0xba: shadow pkm id
  49. 0xbc -- 0xbf : ??? ????
  50. 0xc0 -- 0xc1 : unused ?
  51. 0xc2: party identify (lead = 00, 01 otherwise)
  52.  
  53. Colosseum::Pokemon:
  54. pkm
  55. 0x00: u16 index
  56. 0x02 : u16 ? ? ? ? (0 on shadow pkm)
  57. 0x04 : u32 PID
  58. 0x08 : VersionInfo version(4 bytes)
  59. 0x0c : u16 locationCaught
  60. 0x0e : u8 levelMet
  61. 0x0f : u8 ballCaughtWith
  62. 0x10 : u8 OTGender
  63. 0x11 -- 0x13 : ? ? ? ? ?
  64. 0x14 : u16 SID
  65. 0x16 : u16 TID
  66. 0x18 : OT Name(10 + 1 chars, limited to 8 in game)
  67. 0x2e : Pkm Name(10 + 1, or 5 in game for jap.versions)
  68. 0x44 : Pkm name backup
  69. 0x5a -- 0x5b : u16 = field 0x02 backup
  70. 0x5c : u32 experience
  71. 0x60 : u8 currentLevel
  72. 0x61 -- 0x64 : ? ?
  73. 0x65 : u16 status (u8 on XD)
  74. 0x65 -- 0x67 : ? ?
  75. 0x68 : u32 ? ?
  76. 0x6c--0x78 ? ?
  77. 0x78 : moves info
  78. 0x88 : u16 itemHeld
  79. 0x8a : u16 currentHP
  80. 0x8c : u16 stats[6]
  81. 0x98 : u16 EVs[6]
  82. 0xa4 : u16 IVs[6]
  83. 0xb0 : u16 happinness
  84. 0xb2 : u8 contestsStats[5]
  85. 0xb7 : u8 contestsRibbons[5]
  86. 0xbc : u8 contestLuster
  87. 0xbd : u8 specialRibbons[12]
  88. 0xc9 : u8 unused ?
  89. 0xca : u8 pkrsStatus
  90. 0xcb : u8 flags[3] : egg, special ability, invalid pkm
  91. 0xcf : u8 marks
  92. // shadow pkm data ?
  93. 0xd0--0xd7 : ? ?
  94. 0xd8 : u16 shadowPkmID
  95. 0xda--0xdb : padding ?
  96. 0xdc : s32 purificationCounter
  97. 0xe0 : u32 expStored
  98. 0xe4 : u16 ? ?
  99. 0xe6 : u16 ? ?
  100. 0xfb : u8 encounterType
  101. 0xfc--0x138 : ? ? ? ? ? ? ? ? ? ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement