Advertisement
Kaphotics

X/Y Item Structure Notes

Aug 30th, 2014
1,813
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. Authors: Kaphotics, Magical, Zhorken
  2.  
  3. Item Stats Structure
  4. 0x00 uint16 Purchase Price (in units of $10)
  5. 0x02 uint8 Held effect?
  6. 0x03 uint8 Effect argument
  7. 0x04 uint8 Natural Gift effect
  8. 0x05 uint8 Fling effect
  9. 0x06 uint8 Fling power
  10. 0x07 uint8 Natural Gift power
  11. 0x08 uint16 Bits 0-4: Natural Gift type (31=n/a)
  12. Flags?
  13. Bit 9 = Key Item
  14. 0x0A uint8 Use effect?
  15. 0x0B uint8 0 / 1 = Balls / 2 = Medicine /
  16. 3 = Poké Doll + Fluffy Tail + Poké Toy
  17. 0x0C uint8 0 / 1
  18. 0x0D uint8 0 / 1 / 2 / 3 = Battle items / 4 = Balls / 5 = Mail
  19. 0x0E uint8 1 = Usable by pokémon, consumed
  20. 0x0F uint8 Order in pocket
  21. 0x10 uint8 Status problems cured
  22. 1 = SLP / 2 = PSN / 4 = BRN / 8 = FRZ
  23. 16 = PAR / 32 = Confusion / 64 = Infatuation
  24. 128 = Guard Spec.
  25. 0x11 uint8 1 = Revive / 3 = Revive party / 5 = Level up /
  26. 8 = Evolution stone
  27. 0x11 bits 4..7 Attack boost
  28. 0x12 bits 0..3 Defense boost
  29. 0x12 bits 4..7 Special Attack boost
  30. 0x13 bits 0..3 Special Defense boost
  31. 0x13 bits 4..7 Speed boost
  32. 0x14 bits 0..3 Accuracy boost
  33. 0x14 bits 4..5 Critical Hit boost
  34. 0x14 bits 5..7 4 = PP Up / 8 = PP Max
  35. 0x15 uint8 1 = Ether / 2 = Elixer / 4 = Heal / 8 = HP Up
  36. 16 = Raises ATK / 32 = DEF / 64 = SPD / 128 = SPATK
  37. 0x16 uint8 1 = SPDEF / 2 = Wings / 4,8,16 = Friendship
  38. 0x17 int8 Effort gain (HP)
  39. 0x18 int8 Effort gain (Attack)
  40. 0x19 int8 Effort gain (Defense)
  41. 0x1A int8 Effort gain (Speed)
  42. 0x1B int8 Effort gain (Special Attack)
  43. 0x1C int8 Effort gain (Special Defense)
  44. 0x1D uint8 HP gain (0xFF = full, FE 50%, FD 25%)
  45. 0x1E uint8 PP gain
  46. 0x1F int8 Friendship gain
  47. 0x20 int8 Friendship gain
  48. 0x21 int8 Friendship gain
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement