Contest move data structure (Generation III): Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
⧼bulbapediamonobook-jumptonavigation⧽⧼bulbapediamonobook-jumptosearch⧽
KelvSYC (talk | contribs)
Rahl (talk | contribs)
mNo edit summary
 
(10 intermediate revisions by 7 users not shown)
Line 2: Line 2:
{{cleanup}}
{{cleanup}}
==Format==
==Format==
Every move in [[Pokémon Ruby and Sapphire Versions|Ruby, Sapphire]], [[Pokémon FireRed and LeafGreen Versions|FireRed, LeafGreen]], and [[Pokémon Emerald Version|Emerald]] has a 8-byte data structure associated with it which contains information about its use in contests.
Every move in {{game|Ruby and Sapphire|s|Pokémon Ruby, Sapphire}}, and {{game|Emerald||Emerald}} has a 8-byte data structure associated with it which contains information about its use in Contests. Contests do not feature in {{game|FireRed and LeafGreen|s|FireRed or LeafGreen}}, so this data is not included.


{| align="center" style="border: 1px solid #88a; background: #f8f8ff; padding: 0.5em;" cellspacing="1"
{| align="center" style="border: 1px solid #88a; background: #f8f8ff; padding: 0.5em;" cellspacing="1"
Line 8: Line 8:
! colspan="2" style="text-align: center; background: #ccf;" | '''Contest Move Data'''
! colspan="2" style="text-align: center; background: #ccf;" | '''Contest Move Data'''
|-
|-
| Description ID || byte
| Move Effect || 1 byte
|-
|-
| Contest Type || byte
| Contest Type || 1 byte
|-
|-
| Combo Identifier || byte
| Combo Identifier || 1 byte
|-
|-
| Combos || 3 bytes
| Combos || 4 bytes
|-
|-
| Padding || 2 bytes
| Padding || 1 byte
|}
|}


* '''Description ID''' determines what message is displayed in a Pokémon's SUMMARY when you look at the move's Contest data (eg. "A highly appealing move"). The actual message is stored in an array elsewhere and this ID is only used to address that array. It is also used to index the contest data structure and determine this move's appeal and jam values (see [[Contest data structure in Generation III]]).
* '''Move Effect''' indexes the Contest data structure and determines this move's appeal and jam values (see {{OBP|Contest data structure|Generation III}}), and also indexes a message array elsewhere that determines what message is displayed in a Pokémon's SUMMARY when the player views the move's Contest data (e.g. "A highly appealing move").  


* '''Contest Type''' indicates the type of contest this move should be used in. See the table below for a list of possible values and their meaning.
* '''Contest Type''' indicates the type of Contest this move should be used in. See the table below for a list of possible values and their meaning.


{| align="center" style="border: 1px solid #88a; background: #f8f8ff; padding: 0.5em;" cellspacing="1"
{| align="center" style="border: 1px solid #88a; background: #f8f8ff; padding: 0.5em;" cellspacing="1"
Line 36: Line 36:
|}
|}


*'''Combo Identifier''': An identifier used in the next 3 bytes for the purposes of identifying the first move in a [[contest combination]].
*'''Combo Identifier''': An identifier used in the next 3 bytes for the purposes of identifying the first move in a [[Contest combination]].
*'''Combos''': This is a list of up to three combo identifiers, identifying contest combinations for which it may be used as the second move.
*'''Combos''': This is a list of up to four combo identifiers, identifying Contest combinations for which it may be used as the second move.
 
*'''Padding''' consists of a single byte, set to 0x00, that aligns the structure on 4-bytes boundaries.
* '''Padding''' consists of a sequence of 2 bytes. Each one of those bytes should be set to 0x00 (aligns the structure on 4-bytes boundaries).


==Fingerprint==
==Fingerprint==
Line 56: Line 55:
</pre>
</pre>


==See also==
==Related articles==
* [[Contest data structure in Generation III]]
* [[Contest data structure (Generation III)]]


{{data structure}}
{{data structure}}
{{Project Games notice|data structure}}
{{Project Games notice|data structure}}

Latest revision as of 01:23, 1 February 2025

This article does not yet meet the quality standards of Bulbapedia. Please feel free to edit this article to make it conform to Bulbapedia norms and conventions.

Format

Every move in Pokémon Ruby, Sapphire, and Emerald has a 8-byte data structure associated with it which contains information about its use in Contests. Contests do not feature in FireRed or LeafGreen, so this data is not included.

Contest Move Data
Move Effect 1 byte
Contest Type 1 byte
Combo Identifier 1 byte
Combos 4 bytes
Padding 1 byte
  • Move Effect indexes the Contest data structure and determines this move's appeal and jam values (see Contest data structure), and also indexes a message array elsewhere that determines what message is displayed in a Pokémon's SUMMARY when the player views the move's Contest data (e.g. "A highly appealing move").
  • Contest Type indicates the type of Contest this move should be used in. See the table below for a list of possible values and their meaning.
0 Cool
1 Beauty
2 Cute
3 Smart
4 Tough
  • Combo Identifier: An identifier used in the next 3 bytes for the purposes of identifying the first move in a Contest combination.
  • Combos: This is a list of up to four combo identifiers, identifying Contest combinations for which it may be used as the second move.
  • Padding consists of a single byte, set to 0x00, that aligns the structure on 4-bytes boundaries.

Fingerprint

00 00 00 00 00 00 00 00  // -
00 04 3c 00 00 00 00 00  // POUND
25 04 00 03 00 00 00 00  // KARATE CHOP
11 04 00 3c 00 00 00 00  // DOUBLESLAP
23 04 00 00 00 00 00 00  // COMET PUNCH
00 04 00 03 1a 00 00 00  // MEGA PUNCH
2e 03 00 00 00 00 00 00  // PAY DAY
00 01 2d 09 2c 2e 00 00  // FIRE PUNCH
00 01 2e 2c 2d 00 00 00  // ICE PUNCH
...

Related articles

Data structure in the Pokémon games
General Character encoding
Generation I Pokémon speciesPokémonPoké MartCharacter encoding (Stadium) • Save
Generation II Pokémon speciesPokémonTrainerCharacter encoding (StadiumKorean) • Save
Generation III Pokémon species (EvolutionPokédexType chart)
Pokémon (substructures) • MoveContestContest moveItem
Trainer TowerBattle FrontierCharacter encoding (GameCube) • Save
Generation IV Pokémon species (EvolutionLearnsets)
PokémonSaveCharacter encoding (Wii)
Generation V–present Character encoding
Generation VIII Save
TCG GB and GB2 Character encoding
This data structure article is part of Project Games, a Bulbapedia project that aims to write comprehensive articles on the Pokémon games.