User:SnorlaxMonster/Wonder Card data structure (Generation VI): Difference between revisions

Found out Kaphotics has already done this here: http://projectpokemon.org/wiki/6th_Generation_Wonder_Card_Map
(Mainly for personal use)
 
(Found out Kaphotics has already done this here: http://projectpokemon.org/wiki/6th_Generation_Wonder_Card_Map)
Line 1: Line 1:
Most things are done in two-byte pairs (characters are all two-byte pairs).
{| border="1" style="border: 1px solid #999; border-collapse: collapse"
{| border="1" style="border: 1px solid #999; border-collapse: collapse"
|- style="background: #ccc"
|- style="background: #ccc"
Line 7: Line 6:
|- style="background: #eee"
|- style="background: #eee"
| 0x00-0x01
| 0x00-0x01
| '''unknown''' (WC type?)
| WC ID
| '''unknown''' (WC type?)
| WC ID
|- style="background: #eee"
|- style="background: #eee"
| 0x02-0x4B
| 0x02-0x4B
Line 14: Line 13:
| Event title
| Event title
|- style="background: #eee"
|- style="background: #eee"
| 0x4C-0x53
| 0x4C-0x4F
| '''unknown''' (date received?)<!--differs between instances of the same event-->
| Date received (YYYYMMDD)
| '''unknown''' (date received?)
| Date received (YYYYMMDD)
|- style="background: #eee"
|- style="background: #eee"
| 0x54-0x65
| 0x50
| WC text type
| WC text type
|- style="background: #eee"
| 0x51
| Card type (0 for Pokémon)
| Card type (1 for item)
|- style="background: #eee"
| 0x52
| Usage status
| ''null''
|- style="background: #eee"
| 0x53-0x65
| ''null''
| ''null''
| ''null''
| ''null''
Line 31: Line 42:
|- style="background: #eee"
|- style="background: #eee"
| 0x6A-0x6B
| 0x6A-0x6B
| '''unknown'''
| Secret ID
| ''null''
| ''null''
|- style="background: #eee"
|- style="background: #eee"
Line 47: Line 58:
|- style="background: #eee"
|- style="background: #eee"
| 0x74-0x75
| 0x74-0x75
| Ribbon (bitlist)
| Ribbon (bitlist)<!--this may actually extend into the nulls above, but nothing has Ribbons in that range-->
| ''null''
| ''null''
|- style="background: #eee"
|- style="background: #eee"
| 0x76-0x77
| 0x76
| Poké Ball
| Poké Ball
| 255
| 255
|- style="background: #eee"
| 0x77
| ''null''
| ''null''
|- style="background: #eee"
|- style="background: #eee"
| 0x78-0x79
| 0x78-0x79
Line 94: Line 109:
| ''null''
| ''null''
|- style="background: #eee"
|- style="background: #eee"
| 0xA2-0xA3
| 0xA2
| Ability (see below)
| Ability (see below)
| ''null''
|- style="background: #eee"
| 0xA3
| '''unknown''' (Shiny? (2 always?, 3 never?))
| ''null''
| ''null''
|- style="background: #eee"
|- style="background: #eee"
| 0xA4-0xA5
| 0xA4-0xA5
| ''null''
| Egg [[List of locations by index number (Generation VI)|met location]]
| ''null''
| ''null''
|- style="background: #eee"
|- style="background: #eee"
Line 106: Line 125:
| ''null''
| ''null''
|- style="background: #eee"
|- style="background: #eee"
| 0xA8-0xA9
| 0xA8
| [[Level]]
| Met [[Level]]
| ''null''
| ''null''
|- style="background: #eee"
|- style="background: #eee"
| 0xAA-0xAE
| 0xA9-0xAD
| Contest stats
| ''null''
| ''null''
|- style="background: #eee"
| 0xAE
| [[Sheen]]
| ''null''
| ''null''
|- style="background: #eee"
|- style="background: #eee"
| 0xAF-0xB4
| 0xAF-0xB4
| FF
| forced IVs (255 unset, 254 priority)
| ''null''
| ''null''
|- style="background: #eee"
|- style="background: #eee"
| 0xB5
| 0xB5
| ''null''
| #31 IVs to force
| ''null''
| ''null''
|- style="background: #eee"
|- style="background: #eee"
Line 126: Line 149:
| ''null''
| ''null''
|- style="background: #eee"
|- style="background: #eee"
| 0xD0-0xD1
| 0xD0
| '''unknown'''
| [[Level]] (random if 0)
| ''null''
| ''null''
|- style="background: #eee"
|- style="background: #eee"
| 0xD2-0xD3
| 0xD1-0xD3
| ''null''
| ''null''
| ''null''
| ''null''
|- style="background: #eee"
|- style="background: #eee"
| 0xD4-0xD7
| 0xD4-0xD7
| always 02 28 6B EE ([[fateful encounter|FE]]?)
| always 0xEE6B2802 ([[fateful encounter|fateful]]?)
| ''null''
| ''null''
|- style="background: #eee"
|- style="background: #eee"
| 0xD8-0xDB
| 0xD8-0xD9
| '''unknown''' ({{Shiny}}?)
| [[List of moves|Egg move 1]]
| ''null''
| ''null''
|- style="background: #eee"
|- style="background: #eee"
| 0xDC-<!--some WCs seem to have different lengths-->
| 0xDA-0xDB
| ''null'' (nickname?)
| [[List of moves|Egg move 2]]
| ''null''
|- style="background: #eee"
| 0xDC-0xDD
| [[List of moves|Egg move 3]]
| ''null''
|- style="background: #eee"
| 0xDE-0xDF
| [[List of moves|Egg move 4]]
| ''null''
| ''null''
|}
|}


Things missing: WC type (the WC text that is used; these are known to be pulled from a fixed pool stored on the game), date received (probably at least part of 0x4C-0x4F, not sure how it is stored), fixed IVs (probably 0xAF-0xB4 if set individually), Shininess (probably 0xD8-0xDB, since it is 0 for everything by Mamoswine, but not sure how it flags it), fateful encounter (may just be always on, or may be 0xD4-0xD7 since it is always the same value for WCs I can look at)
Things missing: fixed IVs (probably 0xAF-0xB4 if set individually), Shininess, fateful encounter (may just be always on, or may be 0xD4-0xD7 since it is always the same value for WCs I can look at)


Note that some slots identified as always null/FF may have some use that has not yet been determined. Nickname is likely in one of the long strings of nulls, but nicknamed events have not yet been distributed (although have been announced). 0xD4-0xD7 also probably has some meaning.
Note that some slots identified as always null/FF may have some use that has not yet been determined. Nickname is likely in one of the long strings of nulls, but nicknamed events have not yet been distributed (although have been announced). 0xD4-0xD7 also probably has some meaning.
==Usage status==
Usage refers to the number of times the particular Wonder Card can be obtained, and whether the gift has already been picked up. A gift can only be collected once for each time the Wonder Card is obtained.
{| border="1" style="border: 1px solid #999; border-collapse: collapse"
|- style="background: #ccc"
! Hex
! Meaning
|- style="background: #eee"
| 0x00
| Item WC
|- style="background: #eee"
| 0x01
| Unused Pokémon WC (single use)
|- style="background: #eee"
| 0x02
| Pokémon WC (reusable)
|- style="background: #eee"
| 0x03
| Used Pokémon WC (single use)
|}


==Ribbons==
==Ribbons==
Line 226: Line 278:


==Ability==
==Ability==
Abilities are stored as a two-byte word at 0xA2-0xA3.
Ability value determines which Abilities are possible. If multiple are possible, a random one is selected.
 
"S#" is the number of non-Hidden Abilities a Pokémon has in that form (either 1 or 2). "Standards" means that the Pokémon can have either standard Ability. "HA?" is whether the Pokémon's species has a Hidden Ability in that form (even if not currently obtainable).


{| border="1" style="border: 1px solid #999; border-collapse: collapse"
{| border="1" style="border: 1px solid #999; border-collapse: collapse"
|- style="background: #ccc"
|- style="background: #ccc"
! Hex
! Hex
! Ability
! Standard 1
! S#
! Standard 2
! HA?
! Hidden
|- style="background: #eee"
|- style="background: #eee"
| 0x0202
| 0x00
| Hidden
|
| 2
| ×
| yes
| ×
|- style="background: #eee"
|- style="background: #eee"
| 0x0300
| 0x01
| Standard
| ×
| 1
|
| yes
| ×
|- style="background: #eee"
|- style="background: #eee"
| 0x0302
| 0x02
| Hidden
| ×
| 1
| ×
| yes
|
|- style="background: #eee"
|- style="background: #eee"
| 0x0303
| 0x03
| Standards
|
| 2
|
| yes
| ×
|- style="background: #eee"
| 0x04
| ✓
| ✓
| ✓
|}
|}


Line 367: Line 422:
| {{ball|Dream}}
| {{ball|Dream}}
|}
|}
==External links==
* [http://projectpokemon.org/wiki/6th_Generation_Wonder_Card_Map Project Pokémon]