User:Lagnic/Contest combination data structure (Generation VI)

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
Bulbapedia bulb.png This article is intended to be moved into one of Bulbapedia's main content spaces.
Be mindful that it is still part of a personal userspace. Any content changes should be brought up on the talk page for this article.

Contest combinations in the Generation VI Pokémon Contest Spectaculars are determined by a 2862 byte file.

Structure

Offset Size
(bytes)
Type Description
0 1242 2-byte integers File table
1242 1620 2-byte integers Finishing moves

Notes

File structure

Consisting of 1431 2-byte numbers stored in little-endian order. The first 621 of these numbers (one for each move available for use in ORAS) are a file table for the remainder of the file.

Data Location

Contest data is found in a/2/4/2 which unpacks into 11 binary files:

00 Contest move list (621 × 8 bytes)
01 Contest move effects (36 × 4 bytes)
02 Contest combinations (621 × 2 bytes + 1620 bytes)
03 Contestant data (69 × 36 bytes)
04 ??? (67 x 4 bytes)
05 ??? (36 bytes)
06 ??? (180 bytes)
07 ??? (204 bytes)
08 ??? (312 bytes)
09 ??? (732 bytes)
10 ??? (720 bytes)

Fingerprint

00 00 02 00 04 00 06 00 08 00 0a 00 0c 00 0e 00 10 00 12 00 14 00 16 00 18 00 1a 00 1c 00 1e 00 20 00 22 00 24 00 26 00 28 00 2a 00 2c 00 2e 00 30 00 32 00 34 00 36 00 38 00 3a 00 3c 00 3e 00 40 00 42 00 44 00 46 00 48 00 4a 00 4c 00 4e 00 50 00 52 00 54 00 56 00 58 00 5a 00 5c 00 66 00 68 00 6a 00
...
d9 00 76 01 04 02 00 00 00 00 00 00 d9 00 76 01 04 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


Data structure in the Pokémon games
Generation I Pokémon speciesPokémonPoké MartCharacter encodingSave
Generation II Pokémon speciesPokémonTrainerCharacter encodingSave
Generation III Pokémon species (Pokémon evolutionPokédexType chart)
Pokémon (substructures) • MoveContestContest moveItem
Trainer TowerBattle FrontierCharacter encodingSave
Generation IV PokémonSave
TCG GB and GB2 Character encoding


Project Games logo.png This data structure article is part of Project Games, a Bulbapedia project that aims to write comprehensive articles on the Pokémon games.