Returns the MoveDamageClass that this Pokémon is best suited for,
@@ -343,7 +356,7 @@ represent their lone “normal” form.
(single: pokemon_form)
Primary key: id.
Has
-id.
+id and identifier.
Columns:
PokemonForm.form_identifier (unicode – identifier):
@@ -360,6 +373,9 @@ represent their lone “normal” form.
PokemonForm.is_battle_only (bool):
Set iff the form can only appear in battle.
+PokemonForm.is_mega (bool):
+
+Records whether this form is a Mega Evolution.
PokemonForm.form_order (int):
The order in which forms should be sorted within a species’ forms. Multiple forms may have equal order, in which case they should fall back on sorting by name. Used in generating pokemon_forms.order and pokemon.order.
@@ -458,21 +474,36 @@ must occur to cause a Pokémon to evolve.
PokemonEvolution.known_move (known_move_id → Move.id)
The ID of the move the Pokémon must know.
+PokemonEvolution.known_move_type (known_move_type_id → Type.id)
+
+The ID of the type the Pokémon must know a move of.
PokemonEvolution.minimum_happiness (int):
The minimum happiness value the Pokémon must have.
PokemonEvolution.minimum_beauty (int):
The minimum Beauty value the Pokémon must have.
+PokemonEvolution.minimum_affection (int):
+
+The minimum number of “affection” hearts the Pokémon must have in Pokémon-Amie.
PokemonEvolution.relative_physical_stats (int):
The required relation between the Pokémon’s Attack and Defense stats, as sgn(atk-def).
PokemonEvolution.party_species (party_species_id → PokemonSpecies.id)
The ID of the species that must be present in the party.
+PokemonEvolution.party_type (party_type_id → Type.id)
+
+The ID of a type that at least one party member must have.
PokemonEvolution.trade_species (trade_species_id → PokemonSpecies.id)
The ID of the species for which this one must be traded.
+PokemonEvolution.needs_overworld_rain (bool):
+
+True iff it needs to be raining outside of battle.
+PokemonEvolution.turn_upside_down (bool):
+
+True iff the 3DS needs to be turned upside-down as this Pokémon levels up.
Relationships:
PokemonEvolution.trigger
(→ EvolutionTrigger)
@@ -502,7 +533,7 @@ must occur to cause a Pokémon to evolve.
ID of the move’s elemental type
Move.power (int):
-Base power of the move
+Base power of the move, null if it does not have a set base power.
Move.pp (int):
Base PP (Power Points) of the move, nullable if not applicable (e.g. Struggle and Shadow moves).
@@ -835,6 +866,8 @@ must occur to cause a Pokémon to evolve.
Association table: conquest_warrior_specialties
Type.damage_efficacies
(→ [TypeEfficacy])
+Type.game_indices
+(→ [TypeGameIndex])
Type.move_changelog
(→ [MoveChangelog])
Type.moves
@@ -868,13 +901,16 @@ must occur to cause a Pokémon to evolve.
Ability.generation (generation_id → Generation.id)
The ID of the generation this ability was introduced in
-
Internationalized strings:
-Ability.effect (unicode – markdown) via ability_prose
+Ability.is_main_series (bool):
-A detailed description of this ability’s effect
+True iff the ability exists in the main series.
+
Internationalized strings:
Ability.short_effect (unicode – markdown) via ability_prose
A short summary of this ability’s effect
+Ability.effect (unicode – markdown) via ability_prose
+
+A detailed description of this ability’s effect
Relationships:
Ability.all_pokemon
(→ [Pokemon])
@@ -892,16 +928,16 @@ must occur to cause a Pokémon to evolve.
Association table: conquest_pokemon_abilities
Ordered by: pokemon_species.conquest_order
-Ability.dream_pokemon
+
Ability.flavor_text
+(→ [AbilityFlavorText])
+
+Ordered by: ability_flavor_text.version_group_id
+Ability.hidden_pokemon
(→ [Pokemon])
Association table: pokemon_abilities
Ordered by: pokemon.order
-Ability.flavor_text
-(→ [AbilityFlavorText])
-
-Ordered by: ability_flavor_text.version_group_id
Ability.pokemon
(→ [Pokemon])
@@ -959,9 +995,6 @@ must occur to cause a Pokémon to evolve.
Generation.main_region (main_region_id → Region.id)
ID of the region this generation’s main games take place in
-Generation.canonical_pokedex (canonical_pokedex_id → Pokedex.id)
-
-ID of the Pokédex this generation’s main games use by default
Relationships:
Generation.abilities
(→ [Ability])
@@ -996,14 +1029,11 @@ and Blue) or a single game (such as Yellow.)
Table name: version_groups
Primary key: id.
Has
-id.
+id and identifier.
Columns:
VersionGroup.generation (generation_id → Generation.id)
The ID of the generation the games in this group belong to.
-VersionGroup.pokedex (pokedex_id → Pokedex.id)
-
-The ID of the regional Pokédex used in this version group. Null if not applicable.
VersionGroup.order (int):
Order for sorting. Almost by date of release, except similar versions are grouped together.
@@ -1018,10 +1048,16 @@ and Blue) or a single game (such as Yellow.)
(→ [MoveChangelog])
VersionGroup.move_effect_changelog
(→ [MoveEffectChangelog])
+VersionGroup.pokedexes
+(→ [Pokedex])
+
+Association table: pokedex_version_groups
VersionGroup.pokemon_move_methods
(→ [PokemonMoveMethod])
Association table: version_group_pokemon_move_methods
+VersionGroup.pokemon_moves
+(→ [PokemonMove])
VersionGroup.version_group_move_methods
(→ [VersionGroupPokemonMoveMethod])
VersionGroup.version_group_regions
@@ -1083,12 +1119,12 @@ and Blue) or a single game (such as Yellow.)
A longer description of the Pokédex
Relationships:
-Pokedex.canonical_for_generation
-(→ [Generation])
Pokedex.version_groups
(→ [VersionGroup])
-Ordered by: version_groups."order" ASC
+Association table: pokedex_version_groups
+
Ordered by: version_groups."order" ASC
+