diff --git a/_sources/main-tables.txt b/_sources/main-tables.txt index 7cef777..bd1d3be 100644 --- a/_sources/main-tables.txt +++ b/_sources/main-tables.txt @@ -114,6 +114,7 @@ Enum tables .. dex-table:: MoveMetaCategory .. dex-table:: MoveTarget .. dex-table:: Nature +.. dex-table:: PalParkArea .. dex-table:: PokemonColor .. dex-table:: PokemonMoveMethod .. dex-table:: PokemonShape @@ -157,6 +158,7 @@ Association tables .. dex-table:: PokemonItem .. dex-table:: PokemonType .. dex-table:: TypeEfficacy +.. dex-table:: VersionGroupPokemonMoveMethod .. dex-table:: VersionGroupRegion Index maps @@ -165,11 +167,13 @@ Index maps .. dex-table:: ItemGameIndex .. dex-table:: LocationGameIndex .. dex-table:: PokemonDexNumber +.. dex-table:: PokemonFormGeneration .. dex-table:: PokemonGameIndex Mics tables ----------- .. dex-table:: Experience +.. dex-table:: PalPark .. dex-table:: StatHint diff --git a/_static/basic.css b/_static/basic.css index f0379f3..43e8baf 100644 --- a/_static/basic.css +++ b/_static/basic.css @@ -79,11 +79,11 @@ div.sphinxsidebar input { font-size: 1em; } -div.sphinxsidebar input[type="text"] { +div.sphinxsidebar #searchbox input[type="text"] { width: 170px; } -div.sphinxsidebar input[type="submit"] { +div.sphinxsidebar #searchbox input[type="submit"] { width: 30px; } diff --git a/genindex.html b/genindex.html index a69fe55..aba2b22 100644 --- a/genindex.html +++ b/genindex.html @@ -394,6 +394,14 @@ + - \ No newline at end of file diff --git a/main-tables.html b/main-tables.html index f18780a..ddeff0e 100644 --- a/main-tables.html +++ b/main-tables.html @@ -56,7 +56,7 @@

The pokédex tables

The pokedex.db.tables module defines all of the tables in the Pokédex. They are all defined with SQLAlchemy’s -declarative extension.

+declarative extension.

To introspect the tables programmatically, you can use the following:

@@ -67,7 +67,7 @@ They are all defined with SQLAlchemy’s
pokedex.db.tables.metadata
-

The SQLAlchemy MetaData containing all the +

The SQLAlchemy MetaData containing all the tables.

@@ -92,6 +92,7 @@ access individual items.

A Pokémon species: the standard 1–151. Or 649. Whatever.

Table name: pokemon_species (single: pokemon_species)

+

Primary key: id.

Has id, identifier, and name via pokemon_species_names.


Columns:

@@ -148,38 +149,46 @@ access individual items.
Description of how the forms work

Relationships:

-

PokemonSpecies.parent_species +

PokemonSpecies.child_species (→ [PokemonSpecies])

-
The species from which this one evolves
-

PokemonSpecies.evolutions -(→ [PokemonEvolution])

-

PokemonSpecies.flavor_text -(→ [PokemonSpeciesFlavorText])

-
-
Ordered by: pokemon_species_flavor_text.version_id ASC
-

PokemonSpecies.egg_groups -(→ [EggGroup])

-
-
Ordered by: pokemon_egg_groups.egg_group_id ASC
-

PokemonSpecies.forms -(→ [PokemonForm])

-
-
Ordered by: pokemon_forms."order" ASC, pokemon_forms.form_identifier ASC
+
The species to which this one evolves

PokemonSpecies.default_form (→ PokemonForm)

-
A representative form of this species
+

A representative form of this species

+

Association table: pokemon

+

PokemonSpecies.default_pokemon (→ Pokemon)

PokemonSpecies.dex_numbers (→ [PokemonDexNumber])

Ordered by: pokemon_dex_numbers.pokedex_id ASC
-

PokemonSpecies.child_species -(→ [PokemonSpecies])

+

PokemonSpecies.egg_groups +(→ [EggGroup])

-
The species to which this one evolves
+

Association table: pokemon_egg_groups

+

Ordered by: pokemon_egg_groups.egg_group_id ASC

+
+

PokemonSpecies.evolutions +(→ [PokemonEvolution])

+

PokemonSpecies.flavor_text +(→ [PokemonSpeciesFlavorText])

+
+
Ordered by: pokemon_species_flavor_text.version_id ASC
+

PokemonSpecies.forms +(→ [PokemonForm])

+
+

Association table: pokemon

+

Ordered by: pokemon_forms."order" ASC, pokemon_forms.form_identifier ASC

+
+

PokemonSpecies.pal_park +(→ PalPark)

+

PokemonSpecies.parent_species +(→ PokemonSpecies)

+
+
The species from which this one evolves

PokemonSpecies.pokemon (→ [Pokemon])

PokemonSpecies.triggered_evolutions @@ -199,6 +208,7 @@ different Pokémon. For example, this table contains four rows for Deoxys, but only one for Unown.

Table name: pokemon (single: pokemon)

+

Primary key: id.

Has id.


Columns:

@@ -221,34 +231,42 @@ but only one for Unown.

Set for exactly one pokemon used as the default for each species.

Relationships:

-

Pokemon.all_abilities -(→ [Ability])

-
-

All abilities the Pokémon can have, including the Hidden Ability

-

Ordered by: pokemon_abilities.slot ASC

-

Pokemon.abilities (→ [Ability])

Abilities the Pokémon can have in the wild

+

Association table: pokemon_abilities

Ordered by: pokemon_abilities.slot ASC

-

Pokemon.dream_ability -(→ Ability)

+

Pokemon.all_abilities +(→ [Ability])

-
The Pokémon’s Hidden Ability
-

Pokemon.forms -(→ [PokemonForm])

-
-
Ordered by: pokemon_forms."order" ASC, pokemon_forms.form_identifier ASC
+

All abilities the Pokémon can have, including the Hidden Ability

+

Association table: pokemon_abilities

+

Ordered by: pokemon_abilities.slot ASC

+

Pokemon.default_form (→ PokemonForm)

A representative form of this pokémon
+

Pokemon.dream_ability +(→ Ability)

+
+

The Pokémon’s Hidden Ability

+

Association table: pokemon_abilities

+
+

Pokemon.encounters +(→ [Encounter])

+

Pokemon.forms +(→ [PokemonForm])

+
+
Ordered by: pokemon_forms."order" ASC, pokemon_forms.form_identifier ASC

Pokemon.items (→ [PokemonItem])

Info about items this pokémon holds in the wild
+

Pokemon.pokemon_moves +(→ [PokemonMove])

Pokemon.stats (→ [PokemonStat])

@@ -256,11 +274,9 @@ but only one for Unown.

Pokemon.types (→ [Type])

-
Ordered by: pokemon_types.slot ASC
-

Pokemon.encounters -(→ [Encounter])

-

Pokemon.pokemon_moves -(→ [PokemonMove])

+

Association table: pokemon_types

+

Ordered by: pokemon_types.slot ASC

+

better_damage_class
@@ -299,6 +315,7 @@ them. Even Pokémon with no alternate forms have one row in this table, to represent their lone “normal” form.

Table name: pokemon_forms (single: pokemon_form)

+

Primary key: id.

Has id.


Columns:

@@ -328,14 +345,19 @@ represent their lone “normal” form.

The full pokémon name, e.g. ‘Sky Shaymin’, for pokémon with different forms

Relationships:

-

PokemonForm.species: -species of self.pokemon

-

PokemonForm.version_group -(→ [VersionGroup])

PokemonForm.pokeathlon_stats (→ [PokemonFormPokeathlonStat])

-
Ordered by: PokemonFormPokeathlonStat.pokeathlon_stat_id
+
Ordered by: pokemon_form_pokeathlon_stats.pokeathlon_stat_id
+

PokemonForm.pokemon_form_generations +(→ [PokemonFormGeneration])

+
+
Ordered by: pokemon_form_generations.generation_id
+

PokemonForm.version_group +(→ VersionGroup)

+

Association Proxies:

+

PokemonForm.species: +species of self.pokemon


name
@@ -352,6 +374,7 @@ represent their lone “normal” form.

pokedex.db.tables.EvolutionChain

A family of Pokémon that are linked by evolution

Table name: evolution_chains

+

Primary key: id.

Has id.


Columns:

@@ -361,6 +384,8 @@ represent their lone “normal” form.


Relationships:

EvolutionChain.species (→ [PokemonSpecies])

+
+
Ordered by: pokemon_species.id ASC
@@ -373,6 +398,7 @@ represent their lone “normal” form.

must occur to cause a Pokémon to evolve.

Any condition may be null if it does not apply for a particular Pokémon.

Table name: pokemon_evolution

+

Primary key: id.

Has id.


Columns:

@@ -420,7 +446,7 @@ must occur to cause a Pokémon to evolve.

The ID of the species for which this one must be traded.

Relationships:

PokemonEvolution.trigger -(→ [EvolutionTrigger])

+(→ EvolutionTrigger)

@@ -435,6 +461,7 @@ must occur to cause a Pokémon to evolve.

A Move: technique or attack a Pokémon can learn to use

Table name: moves (single: move)

+

Primary key: id.

Has id, identifier, and name via move_names.


Columns:

@@ -482,30 +509,51 @@ must occur to cause a Pokémon to evolve.

Text containing facts from all flavor texts, for languages without official game translations

Relationships:

+

Move.changelog +(→ [MoveChangelog])

+
+
Ordered by: move_changelog.changed_in_version_group_id DESC
+

Move.contest_combo_first +(→ [ContestCombo])

+

Move.contest_combo_second +(→ [ContestCombo])

+

Move.flavor_text +(→ [MoveFlavorText])

+
+
Ordered by: move_flavor_text.version_group_id
+

Move.machines +(→ [Machine])

+

Move.meta +(→ MoveMeta)

+

Move.meta_stat_changes +(→ [MoveMetaStatChange])

+

Move.move_effect +(→ MoveEffect)

+

Move.move_flags +(→ [MoveFlagMap])

Move.pokemon_moves (→ [PokemonMove])

+

Move.super_contest_combo_first +(→ [SuperContestCombo])

+

Move.super_contest_combo_second +(→ [SuperContestCombo])

Move.triggered_evolutions (→ [PokemonEvolution])

+

Association Proxies:

+

Move.contest_combo_next: +second of self.contest_combo_first

+

Move.contest_combo_prev: +first of self.contest_combo_second

+

Move.flags: +flag of self.move_flags

+

Move.super_contest_combo_next: +second of self.super_contest_combo_first

+

Move.super_contest_combo_prev: +first of self.super_contest_combo_second


Undocumented:

-

Move.changelog

-

Move.contest_combo_first

-

Move.contest_combo_next

-

Move.contest_combo_prev

-

Move.contest_combo_second

Move.effect_map

-

Move.flags

-

Move.flavor_text

-

Move.machines

-

Move.meta

-

Move.meta_stat_changes

-

Move.move_effect

-

Move.move_flags

Move.short_effect

Move.short_effect_map

-

Move.super_contest_combo_first

-

Move.super_contest_combo_next

-

Move.super_contest_combo_prev

-

Move.super_contest_combo_second

@@ -517,6 +565,7 @@ must occur to cause a Pokémon to evolve.

An effect of a move

Table name: move_effects (single: move_effect)

+

Primary key: id.

Has id.


Internationalized strings:

@@ -526,10 +575,15 @@ must occur to cause a Pokémon to evolve.

MoveEffect.effect (unicode – markdown) via move_effect_prose

A detailed description of the effect
-

Undocumented:

-

MoveEffect.changelog

-

MoveEffect.move_changelog

-

MoveEffect.moves

+

Relationships:

+

MoveEffect.changelog +(→ [MoveEffectChangelog])

+
+
Ordered by: move_effect_changelog.changed_in_version_group_id DESC
+

MoveEffect.move_changelog +(→ [MoveChangelog])

+

MoveEffect.moves +(→ [Move])

@@ -540,6 +594,7 @@ must occur to cause a Pokémon to evolve.

pokedex.db.tables.MoveMeta

Metadata for move effects, sorta-kinda ripped straight from the game

Table name: move_meta

+

Primary key: move_id.


Columns:

MoveMeta.move (move_id → Move.id)

@@ -580,9 +635,11 @@ must occur to cause a Pokémon to evolve.

MoveMeta.stat_chance (int):

Chance to cause a stat change, in percent
-

Undocumented:

-

MoveMeta.ailment

-

MoveMeta.category

+

Relationships:

+

MoveMeta.ailment +(→ MoveMetaAilment)

+

MoveMeta.category +(→ MoveMetaCategory)

@@ -597,6 +654,7 @@ must occur to cause a Pokémon to evolve.

An Item from the games, like “Poké Ball” or “Bicycle”.

Table name: items (single: item)

+

Primary key: id.

Has id, identifier, and name via item_names.


Columns:

@@ -623,19 +681,33 @@ must occur to cause a Pokémon to evolve.

Text containing facts from all flavor texts, for languages without official game translations

Relationships:

+

Item.berry +(→ Berry)

+

Item.evolution_chains +(→ [EvolutionChain])

+

Item.flags +(→ [ItemFlag])

+
+
Association table: item_flag_map
+

Item.flavor_text +(→ [ItemFlavorText])

+
+
Ordered by: item_flavor_text.version_group_id ASC
+

Item.game_indices +(→ [ItemGameIndex])

+

Item.machines +(→ [Machine])

+
+
Ordered by: machines.version_group_id ASC
+

Item.pokemon +(→ [PokemonItem])

Item.required_for_evolutions (→ [PokemonEvolution])

Item.triggered_evolutions (→ [PokemonEvolution])

-

Undocumented:

-

Item.berry

-

Item.evolution_chains

-

Item.flags

-

Item.flavor_text

-

Item.game_indices

-

Item.machines

-

Item.pocket

-

Item.pokemon

+

Association Proxies:

+

Item.pocket: +pocket of self.category


appears_underground
@@ -653,6 +725,7 @@ must occur to cause a Pokémon to evolve.

A Berry, consumable item that grows on trees

For data common to all items, such as the name, see the corresponding item entry.

Table name: berries

+

Primary key: id.

Has id.


Columns:

@@ -683,9 +756,13 @@ must occur to cause a Pokémon to evolve.

Berry.smoothness (int):

The smoothness of this Berry, used in making Pokéblocks or Poffins
-

Undocumented:

-

Berry.berry_firmness

-

Berry.flavors

+

Relationships:

+

Berry.berry_firmness +(→ BerryFirmness)

+

Berry.flavors +(→ [BerryFlavor])

+
+
Ordered by: berry_flavors.contest_type_id
@@ -700,6 +777,7 @@ must occur to cause a Pokémon to evolve.

Any of the elemental types Pokémon and moves can have.

Table name: types (single: type)

+

Primary key: id.

Has id, identifier, and name via type_names.


Columns:

@@ -710,13 +788,20 @@ must occur to cause a Pokémon to evolve.

The ID of the damage class this type’s moves had before Generation IV, null if not applicable (e.g. ???).

Relationships:

+

Type.damage_efficacies +(→ [TypeEfficacy])

+

Type.move_changelog +(→ [MoveChangelog])

+

Type.moves +(→ [Move])

Type.pokemon (→ [Pokemon])

-

Undocumented:

-

Type.damage_efficacies

-

Type.move_changelog

-

Type.moves

-

Type.target_efficacies

+
+

Association table: pokemon_types

+

Ordered by: pokemon.order

+
+

Type.target_efficacies +(→ [TypeEfficacy])

@@ -731,6 +816,7 @@ must occur to cause a Pokémon to evolve.

An ability a Pokémon can have, such as Static or Pressure.

Table name: abilities (single: ability)

+

Primary key: id.

Has id, identifier, and name via ability_names.


Columns:

@@ -747,13 +833,30 @@ must occur to cause a Pokémon to evolve.


Relationships:

Ability.all_pokemon (→ [Pokemon])

+
+

Association table: pokemon_abilities

+

Ordered by: pokemon."order" ASC

+
+

Ability.changelog +(→ [AbilityChangelog])

+
+
Ordered by: ability_changelog.changed_in_version_group_id DESC

Ability.dream_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])

-

Undocumented:

-

Ability.changelog

-

Ability.flavor_text

+
+

Association table: pokemon_abilities

+

Ordered by: pokemon."order" ASC

+
@@ -768,6 +871,7 @@ must occur to cause a Pokémon to evolve.

A language the Pokémon games have been translated into

Table name: languages (single: language)

+

Primary key: id.

Has id, identifier, and name via language_names.


Columns:

@@ -797,6 +901,7 @@ must occur to cause a Pokémon to evolve.

A Generation of the Pokémon franchise

Table name: generations (single: generation)

+

Primary key: id.

Has id, identifier, and name via generation_names.


Columns:

@@ -807,14 +912,26 @@ must occur to cause a Pokémon to evolve.

ID of the Pokédex this generation’s main games use by default

Relationships:

+

Generation.abilities +(→ [Ability])

+

Generation.moves +(→ [Move])

+

Generation.pokemon_form_generations +(→ [PokemonFormGeneration])

+
+
Ordered by: pokemon_form_generations.game_index

Generation.species (→ [PokemonSpecies])

-

Undocumented:

-

Generation.abilities

-

Generation.moves

-

Generation.types

-

Generation.version_groups

-

Generation.versions

+

Generation.types +(→ [Type])

+

Generation.version_groups +(→ [VersionGroup])

+
+
Ordered by: version_groups.order
+

Generation.versions +(→ [Version])

+
+
Association table: version_groups
@@ -826,6 +943,7 @@ must occur to cause a Pokémon to evolve.

A group of versions, containing either two paired versions (such as Red and Blue) or a single game (such as Yellow.)

Table name: version_groups

+

Primary key: id.

Has id.


Columns:

@@ -834,17 +952,36 @@ and Blue) or a single game (such as Yellow.)

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.
+
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.
-

Undocumented:

-

VersionGroup.ability_changelog

-

VersionGroup.move_changelog

-

VersionGroup.move_effect_changelog

-

VersionGroup.regions

-

VersionGroup.version_group_regions

-

VersionGroup.versions

+

Relationships:

+

VersionGroup.ability_changelog +(→ [AbilityChangelog])

+

VersionGroup.machines +(→ [Machine])

+
+
Ordered by: machines.machine_number
+

VersionGroup.move_changelog +(→ [MoveChangelog])

+

VersionGroup.move_effect_changelog +(→ [MoveEffectChangelog])

+

VersionGroup.pokemon_move_methods +(→ [PokemonMoveMethod])

+
+
Association table: version_group_pokemon_move_methods
+

VersionGroup.version_group_move_methods +(→ [VersionGroupPokemonMoveMethod])

+

VersionGroup.version_group_regions +(→ [VersionGroupRegion])

+

VersionGroup.versions +(→ [Version])

+
+
Ordered by: versions.id
+

Association Proxies:

+

VersionGroup.regions: +region of self.version_group_regions

@@ -856,6 +993,7 @@ and Blue) or a single game (such as Yellow.)

An individual main-series Pokémon game.

Table name: versions (single: version)

+

Primary key: id.

Has id, identifier, and name via version_names.


Columns:

@@ -865,8 +1003,9 @@ and Blue) or a single game (such as Yellow.)


Relationships:

Version.encounters (→ [Encounter])

-

Undocumented:

-

Version.generation

+

Association Proxies:

+

Version.generation: +generation of self.version_group

@@ -878,6 +1017,7 @@ and Blue) or a single game (such as Yellow.)

A collection of Pokémon species ordered in a particular way

Table name: pokedexes (single: pokedex)

+

Primary key: id.

Has id, identifier, and name via pokedex_prose.


Columns:

@@ -888,9 +1028,13 @@ and Blue) or a single game (such as Yellow.)

Pokedex.description (unicode – plaintext) via pokedex_prose

A longer description of the Pokédex
-

Undocumented:

-

Pokedex.canonical_for_generation

-

Pokedex.version_groups

+

Relationships:

+

Pokedex.canonical_for_generation +(→ [Generation])

+

Pokedex.version_groups +(→ [VersionGroup])

+
+
Ordered by: version_groups."order" ASC
@@ -902,14 +1046,26 @@ and Blue) or a single game (such as Yellow.)

Major areas of the world: Kanto, Johto, etc.

Table name: regions (single: region)

+

Primary key: id.

Has id, identifier, and name via region_names.

-

Undocumented:

-

Region.generation

-

Region.locations

-

Region.pokedexes

-

Region.version_group_regions

-

Region.version_groups

+

Relationships:

+

Region.generation +(→ Generation)

+

Region.locations +(→ [Location])

+

Region.pokedexes +(→ [Pokedex])

+

Region.version_group_regions +(→ [VersionGroupRegion])

+
+
Ordered by: version_group_regions.version_group_id ASC
+

Region.version_groups +(→ [VersionGroup])

+
+

Association table: version_group_regions

+

Ordered by: version_groups.order

+
@@ -924,6 +1080,7 @@ and Blue) or a single game (such as Yellow.)

A place in the Pokémon world

Table name: locations (single: location)

+

Primary key: id.

Has id, identifier, and name via location_names.


Columns:

@@ -931,11 +1088,12 @@ and Blue) or a single game (such as Yellow.)

ID of the region this location is in

Relationships:

+

Location.areas +(→ [LocationArea])

+

Location.game_indices +(→ [LocationGameIndex])

Location.triggered_evolutions (→ [PokemonEvolution])

-

Undocumented:

-

Location.areas

-

Location.game_indices

@@ -947,6 +1105,7 @@ and Blue) or a single game (such as Yellow.)

A sub-area of a location

Table name: location_areas (single: location_area)

+

Primary key: id.

Has id, identifier, and name via location_area_prose.


Columns:

@@ -955,12 +1114,12 @@ and Blue) or a single game (such as Yellow.)

ID of the location this area is part of

LocationArea.game_index (int):

-
ID the games ude for this area
+
ID the games use for this area

Relationships:

+

LocationArea.encounter_rates +(→ [LocationAreaEncounterRate])

LocationArea.encounters (→ [Encounter])

-

Undocumented:

-

LocationArea.encounter_rates

@@ -971,6 +1130,7 @@ and Blue) or a single game (such as Yellow.)

pokedex.db.tables.LocationAreaEncounterRate

None

Table name: location_area_encounter_rates

+

Primary key: location_area_id, encounter_method_id, version_id.


Columns:

LocationAreaEncounterRate.location_area (location_area_id → LocationArea.id)

@@ -984,8 +1144,9 @@ and Blue) or a single game (such as Yellow.)

LocationAreaEncounterRate.rate (int):

The encounter rate
-

Undocumented:

-

LocationAreaEncounterRate.method

+

Relationships:

+

LocationAreaEncounterRate.method +(→ EncounterMethod)

@@ -1010,6 +1171,7 @@ swarm” are the possible values of this condition.

swarm) are thus enough to define a specific encounter.

Well, okay, almost: each slot actually appears twice.

Table name: encounters

+

Primary key: id.

Has id.


Columns:

@@ -1034,10 +1196,11 @@ swarm) are thus enough to define a specific encounter.


Relationships:

Encounter.condition_value_map (→ [EncounterConditionValueMap])

+

Encounter.slot +(→ EncounterSlot)

+

Association Proxies:

Encounter.condition_values: condition_value of self.condition_value_map

-

Encounter.slot -(→ [EncounterSlot])

@@ -1049,10 +1212,12 @@ swarm) are thus enough to define a specific encounter.

A conditions in the game world that affects Pokémon encounters, such as time of day.

Table name: encounter_conditions (single: encounter_condition)

+

Primary key: id.

Has id, identifier, and name via encounter_condition_prose.

-

Undocumented:

-

EncounterCondition.values

+

Relationships:

+

EncounterCondition.values +(→ [EncounterConditionValue])

@@ -1064,6 +1229,7 @@ swarm) are thus enough to define a specific encounter.

A possible state for a condition; for example, the state of ‘swarm’ could be ‘swarm’ or ‘no swarm’.

Table name: encounter_condition_values (single: encounter_condition_value)

+

Primary key: id.

Has id, identifier, and name via encounter_condition_value_prose.


Columns:

@@ -1073,9 +1239,11 @@ swarm) are thus enough to define a specific encounter.

EncounterConditionValue.is_default (bool):

Set if this value is the default state for the condition
-

Undocumented:

-

EncounterConditionValue.condition

-

EncounterConditionValue.encounter_map

+

Relationships:

+

EncounterConditionValue.condition +(→ EncounterCondition)

+

EncounterConditionValue.encounter_map +(→ [EncounterConditionValueMap])

@@ -1087,10 +1255,12 @@ swarm) are thus enough to define a specific encounter.

A way the player can enter a wild encounter, e.g., surfing, fishing, or walking through tall grass.

Table name: encounter_methods (single: encounter_method)

+

Primary key: id.

Has id, identifier, and name via encounter_method_prose.

-

Undocumented:

-

EncounterMethod.slots

+

Relationships:

+

EncounterMethod.slots +(→ [EncounterSlot])

@@ -1103,6 +1273,7 @@ swarm) are thus enough to define a specific encounter.

Note that there are two encounters per slot, so the rarities will only add up to 50.

Table name: encounter_slots

+

Primary key: id.

Has id.


Columns:

@@ -1121,8 +1292,8 @@ up to 50.


Relationships:

EncounterSlot.encounters (→ [Encounter])

-

Undocumented:

-

EncounterSlot.method

+

EncounterSlot.method +(→ EncounterMethod)

@@ -1136,6 +1307,7 @@ up to 50.

pokedex.db.tables.ContestCombo

Combo of two moves in a Contest.

Table name: contest_combos

+

Primary key: first_move_id, second_move_id.


Columns:

ContestCombo.first_move_id (→ Move.id):

@@ -1143,9 +1315,11 @@ up to 50.

ContestCombo.second_move_id (→ Move.id):

The ID of the second and final move in the combo
-

Undocumented:

-

ContestCombo.first

-

ContestCombo.second

+

Relationships:

+

ContestCombo.first +(→ Move)

+

ContestCombo.second +(→ Move)

@@ -1157,6 +1331,7 @@ up to 50.

Effect of a move when used in a Contest.

Table name: contest_effects (single: contest_effect)

+

Primary key: id.

Has id.


Columns:

@@ -1173,8 +1348,9 @@ up to 50.

ContestEffect.effect (unicode – plaintext) via contest_effect_prose

A detailed description of the effect
-

Undocumented:

-

ContestEffect.moves

+

Relationships:

+

ContestEffect.moves +(→ [Move])

@@ -1185,6 +1361,7 @@ up to 50.

pokedex.db.tables.SuperContestCombo

Combo of two moves in a Super Contest.

Table name: super_contest_combos

+

Primary key: first_move_id, second_move_id.


Columns:

SuperContestCombo.first_move_id (→ Move.id):

@@ -1192,9 +1369,11 @@ up to 50.

SuperContestCombo.second_move_id (→ Move.id):

The ID of the second and last move.
-

Undocumented:

-

SuperContestCombo.first

-

SuperContestCombo.second

+

Relationships:

+

SuperContestCombo.first +(→ Move)

+

SuperContestCombo.second +(→ Move)

@@ -1206,6 +1385,7 @@ up to 50.

An effect a move can have when used in the Super Contest

Table name: super_contest_effects (single: super_contest_effect)

+

Primary key: id.

Has id.


Columns:

@@ -1216,8 +1396,9 @@ up to 50.

SuperContestEffect.flavor_text (unicode – plaintext) via super_contest_effect_prose

A description of the effect.
-

Undocumented:

-

SuperContestEffect.moves

+

Relationships:

+

SuperContestEffect.moves +(→ [Move])

@@ -1232,10 +1413,12 @@ up to 50.

A Berry firmness, such as “hard” or “very soft”.

Table name: berry_firmness (single: berry_firmness)

+

Primary key: id.

Has id, identifier, and name via berry_firmness_names.

-

Undocumented:

-

BerryFirmness.berries

+

Relationships:

+

BerryFirmness.berries +(→ [Berry])

@@ -1247,6 +1430,7 @@ up to 50.

A Contest type, such as “cool” or “smart”, and their associated Berry flavors and Pokéblock colors.

Table name: contest_types (single: contest_type)

+

Primary key: id.

Has id, identifier, and name via contest_type_names.


Internationalized strings:

@@ -1256,10 +1440,13 @@ up to 50.

ContestType.color (unicode – plaintext) via contest_type_names

The name of the corresponding Pokéblock color
-

Undocumented:

-

ContestType.hating_natures

-

ContestType.liking_natures

-

ContestType.moves

+

Relationships:

+

ContestType.hating_natures +(→ [Nature])

+

ContestType.liking_natures +(→ [Nature])

+

ContestType.moves +(→ [Move])

@@ -1272,11 +1459,16 @@ up to 50.

(exceptions are the Ditto and No Eggs groups)

Table name: egg_groups (single: egg_group)

+

Primary key: id.

Has id, identifier, and name via egg_group_prose.


Relationships:

EggGroup.species (→ [PokemonSpecies])

+
+

Association table: pokemon_egg_groups

+

Ordered by: pokemon."order" ASC

+
@@ -1288,6 +1480,7 @@ up to 50.

An evolution type, such as “level” or “trade”.

Table name: evolution_triggers (single: evolution_trigger)

+

Primary key: id.

Has id, identifier, and name via evolution_trigger_prose.


Relationships:

@@ -1304,6 +1497,7 @@ up to 50.

Growth rate of a Pokémon, i.e. the EXP → level function.

Table name: growth_rates (single: growth_rate)

+

Primary key: id.

Has id, identifier, and name via growth_rate_prose.


Columns:

@@ -1313,10 +1507,13 @@ up to 50.


Relationships:

GrowthRate.evolution_chains (→ [PokemonSpecies])

-

Undocumented:

-

GrowthRate.experience_table

-

GrowthRate.max_experience

-

GrowthRate.max_experience_obj

+

GrowthRate.experience_table +(→ [Experience])

+

GrowthRate.max_experience_obj +(→ Experience)

+

Association Proxies:

+

GrowthRate.max_experience: +experience of self.max_experience_obj

@@ -1328,14 +1525,18 @@ up to 50.

An item category

Table name: item_categories (single: item_category)

+

Primary key: id.

Has id, identifier, and name via item_category_prose.


Columns:

ItemCategory.pocket (pocket_id → ItemPocket.id)

ID of the pocket these items go to
-

Undocumented:

-

ItemCategory.items

+

Relationships:

+

ItemCategory.items +(→ [Item])

+
+
Ordered by: items.identifier ASC
@@ -1347,14 +1548,16 @@ up to 50.

An effect of the move Fling when used with a specific item

Table name: item_fling_effects (single: item_fling_effect)

+

Primary key: id.

Has id.


Internationalized strings:

ItemFlingEffect.effect (unicode – plaintext) via item_fling_effect_prose

Description of the effect
-

Undocumented:

-

ItemFlingEffect.items

+

Relationships:

+

ItemFlingEffect.items +(→ [Item])

@@ -1366,10 +1569,14 @@ up to 50.

A pocket that categorizes items

Table name: item_pockets (single: item_pocket)

+

Primary key: id.

Has id, identifier, and name via item_pocket_names.

-

Undocumented:

-

ItemPocket.categories

+

Relationships:

+

ItemPocket.categories +(→ [ItemCategory])

+
+
Ordered by: item_categories.identifier ASC
@@ -1381,10 +1588,12 @@ up to 50.

A battle style of a move

Table name: move_battle_styles (single: move_battle_style)

+

Primary key: id.

Has id, identifier, and name via move_battle_style_prose.

-

Undocumented:

-

MoveBattleStyle.nature_preferences

+

Relationships:

+

MoveBattleStyle.nature_preferences +(→ [NatureBattleStylePreference])

@@ -1396,16 +1605,20 @@ up to 50.

Any of the damage classes moves can have, i.e. physical, special, or non-damaging.

Table name: move_damage_classes (single: move_damage_class)

+

Primary key: id.

Has id, identifier, and name via move_damage_class_prose.


Internationalized strings:

MoveDamageClass.description (unicode – plaintext) via move_damage_class_prose

A description of the class
-

Undocumented:

-

MoveDamageClass.moves

-

MoveDamageClass.stats

-

MoveDamageClass.types

+

Relationships:

+

MoveDamageClass.moves +(→ [Move])

+

MoveDamageClass.stats +(→ [Stat])

+

MoveDamageClass.types +(→ [Type])

@@ -1418,10 +1631,12 @@ up to 50.

major ailments like paralysis and minor ailments like trapping.

Table name: move_meta_ailments (single: move_meta_ailment)

+

Primary key: id.

Has id, identifier, and name via move_meta_ailment_names.

-

Undocumented:

-

MoveMetaAilment.move_meta

+

Relationships:

+

MoveMetaAilment.move_meta +(→ [MoveMeta])

@@ -1433,14 +1648,16 @@ major ailments like paralysis and minor ailments like trapping.

Very general categories that loosely group move effects.

Table name: move_meta_categories (single: move_meta_category)

+

Primary key: id.

Has id and identifier.


Internationalized strings:

MoveMetaCategory.description (unicode – plaintext) via move_meta_category_prose

A description of the category
-

Undocumented:

-

MoveMetaCategory.move_meta

+

Relationships:

+

MoveMetaCategory.move_meta +(→ [MoveMeta])

@@ -1452,14 +1669,16 @@ major ailments like paralysis and minor ailments like trapping.

Targetting or “range” of a move, e.g. “Affects all opponents” or “Affects user”.

Table name: move_targets (single: move_target)

+

Primary key: id.

Has id, identifier, and name via move_target_prose.


Internationalized strings:

MoveTarget.description (unicode – plaintext) via move_target_prose

A description
-

Undocumented:

-

MoveTarget.moves

+

Relationships:

+

MoveTarget.moves +(→ [Move])

@@ -1471,6 +1690,7 @@ major ailments like paralysis and minor ailments like trapping.

A nature a Pokémon can have, such as Calm or Brave

Table name: natures (single: nature)

+

Primary key: id.

Has id, identifier, and name via nature_names.


Columns:

@@ -1486,9 +1706,15 @@ major ailments like paralysis and minor ailments like trapping.

Nature.likes_flavor (likes_flavor_id → ContestType.id)

ID of the Berry flavor the Pokémon likes (if hates_flavor_id is the same, the effects cancel out)
-

Undocumented:

-

Nature.battle_style_preferences

-

Nature.pokeathlon_effects

+

Relationships:

+

Nature.battle_style_preferences +(→ [NatureBattleStylePreference])

+
+
Ordered by: nature_battle_style_preferences.move_battle_style_id ASC
+

Nature.pokeathlon_effects +(→ [NaturePokeathlonStat])

+
+
Ordered by: nature_pokeathlon_stats.pokeathlon_stat_id ASC

is_neutral
@@ -1498,6 +1724,20 @@ bestow taste preferences, etc.

+ +
+

PalParkArea

+
+
+pokedex.db.tables.PalParkArea
+

Pal Park areas enum

+

Table name: pal_park_areas +(single: pal_park_area)

+

Primary key: id.

+

Has +id, identifier, and name via pal_park_area_names.

+
+

PokemonColor

@@ -1507,6 +1747,7 @@ bestow taste preferences, etc.

The “Pokédex color” of a Pokémon species. Usually based on the Pokémon’s color.

Table name: pokemon_colors (single: pokemon_color)

+

Primary key: id.

Has id, identifier, and name via pokemon_color_names.


Relationships:

@@ -1523,12 +1764,20 @@ bestow taste preferences, etc.

A method a move can be learned by, such as “Level up” or “Tutor”.

Table name: pokemon_move_methods (single: pokemon_move_method)

+

Primary key: id.

Has id, identifier, and name via pokemon_move_method_prose.


Internationalized strings:

PokemonMoveMethod.description (unicode – plaintext) via pokemon_move_method_prose

A detailed description of how the method works
+

Relationships:

+

PokemonMoveMethod.version_group_move_methods +(→ [VersionGroupPokemonMoveMethod])

+

PokemonMoveMethod.version_groups +(→ [VersionGroup])

+
+
Association table: version_group_pokemon_move_methods
@@ -1541,6 +1790,7 @@ bestow taste preferences, etc.

Pokédexes.

Table name: pokemon_shapes (single: pokemon_shape)

+

Primary key: id.

Has id, identifier, and name via pokemon_shape_prose.


Internationalized strings:

@@ -1561,6 +1811,7 @@ Pokédexes.

A Stat, such as Attack or Speed

Table name: stats (single: stat)

+

Primary key: id.

Has id, identifier, and name via stat_names.


Columns:

@@ -1570,11 +1821,18 @@ Pokédexes.

Stat.is_battle_only (bool):

Whether this stat only exists within a battle
-

Undocumented:

-

Stat.decreasing_natures

-

Stat.hints

-

Stat.increasing_natures

-

Stat.move_meta_stat_changes

+

Stat.game_index (int):

+
+
The stat order the games use internally for the persistent stats. NULL for battle-only stats.
+

Relationships:

+

Stat.decreasing_natures +(→ [Nature])

+

Stat.hints +(→ [StatHint])

+

Stat.increasing_natures +(→ [Nature])

+

Stat.move_meta_stat_changes +(→ [MoveMetaStatChange])

@@ -1589,6 +1847,7 @@ Pokédexes.

History of changes to abilities across main game versions.

Table name: ability_changelog (single: ability_changelog)

+

Primary key: id.

Has id.


Columns:

@@ -1602,8 +1861,9 @@ Pokédexes.

AbilityChangelog.effect (unicode – markdown) via ability_changelog_prose

A description of the old behavior
-

Undocumented:

-

AbilityChangelog.changed_in

+

Relationships:

+

AbilityChangelog.changed_in +(→ VersionGroup)

@@ -1615,6 +1875,7 @@ Pokédexes.

History of changes to move effects across main game versions.

Table name: move_effect_changelog (single: move_effect_changelog)

+

Primary key: id.

Has id.


Columns:

@@ -1628,9 +1889,11 @@ Pokédexes.

MoveEffectChangelog.effect (unicode – markdown) via move_effect_changelog_prose

A description of the old behavior
-

Undocumented:

-

MoveEffectChangelog.changed_in

-

MoveEffectChangelog.move_effect

+

Relationships:

+

MoveEffectChangelog.changed_in +(→ VersionGroup)

+

MoveEffectChangelog.move_effect +(→ MoveEffect)

@@ -1642,6 +1905,7 @@ Pokédexes.

History of changes to moves across main game versions.

Table name: move_changelog (single: move_changelog)

+

Primary key: move_id, changed_in_version_group_id.


Columns:

MoveChangelog.move (move_id → Move.id)

@@ -1667,10 +1931,13 @@ Pokédexes.

MoveChangelog.effect_chance (int):

Prior effect chance, or NULL if unchanged
+

Relationships:

+

MoveChangelog.changed_in +(→ VersionGroup)

+

MoveChangelog.move_effect +(→ MoveEffect)


Undocumented:

-

MoveChangelog.changed_in

MoveChangelog.effect_map

-

MoveChangelog.move_effect

MoveChangelog.short_effect

MoveChangelog.short_effect_map

@@ -1687,6 +1954,7 @@ Pokédexes.

An in-game description of an item

Table name: item_flavor_text (single: item_flavor_text)

+

Primary key: item_id, version_group_id, language_id.


Columns:

ItemFlavorText.item (item_id → Item.id)

@@ -1710,6 +1978,7 @@ Pokédexes.

pokedex.db.tables.AbilityFlavorText

In-game flavor text of an ability

Table name: ability_flavor_text

+

Primary key: ability_id, version_group_id, language_id.


Columns:

AbilityFlavorText.ability (ability_id → Ability.id)

@@ -1733,6 +2002,7 @@ Pokédexes.

pokedex.db.tables.MoveFlavorText

In-game description of a move

Table name: move_flavor_text

+

Primary key: move_id, version_group_id, language_id.


Columns:

MoveFlavorText.move (move_id → Move.id)

@@ -1756,6 +2026,7 @@ Pokédexes.

pokedex.db.tables.PokemonSpeciesFlavorText

In-game Pokédex descrption of a Pokémon.

Table name: pokemon_species_flavor_text

+

Primary key: species_id, version_id, language_id.


Columns:

PokemonSpeciesFlavorText.species (species_id → PokemonSpecies.id)

@@ -1782,6 +2053,7 @@ Pokédexes.

pokedex.db.tables.BerryFlavor

A Berry flavor level.

Table name: berry_flavors

+

Primary key: berry_id, contest_type_id.


Columns:

BerryFlavor.berry (berry_id → Berry.id)

@@ -1802,6 +2074,7 @@ Pokédexes.

pokedex.db.tables.EncounterConditionValueMap

Maps encounters to the specific conditions under which they occur.

Table name: encounter_condition_value_map

+

Primary key: encounter_id, encounter_condition_value_id.


Columns:

EncounterConditionValueMap.encounter (encounter_id → Encounter.id)

@@ -1809,8 +2082,9 @@ Pokédexes.

EncounterConditionValueMap.encounter_condition_value_id (→ EncounterConditionValue.id):

The ID of the encounter condition value
-

Undocumented:

-

EncounterConditionValueMap.condition_value

+

Relationships:

+

EncounterConditionValueMap.condition_value +(→ EncounterConditionValue)

@@ -1822,6 +2096,7 @@ Pokédexes.

An item attribute such as “consumable” or “holdable”.

Table name: item_flags (single: item_flag)

+

Primary key: id.

Has id, identifier, and name via item_flag_prose.


Internationalized strings:

@@ -1838,6 +2113,7 @@ Pokédexes.

pokedex.db.tables.ItemFlagMap

Maps an item flag to its item.

Table name: item_flag_map

+

Primary key: item_id, item_flag_id.


Columns:

ItemFlagMap.item_id (→ Item.id):

@@ -1855,6 +2131,7 @@ Pokédexes.

pokedex.db.tables.Machine

A TM or HM; numbered item that can teach a move to a Pokémon

Table name: machines

+

Primary key: machine_number, version_group_id.


Columns:

Machine.machine_number (int):

@@ -1870,7 +2147,7 @@ Pokédexes.

ID of the taught move

Relationships:

Machine.pokemon_moves -(→ [PokemonMove])

+(→ PokemonMove)


is_hm
@@ -1888,6 +2165,7 @@ Pokédexes.

A Move attribute such as “snatchable” or “contact”.

Table name: move_flags (single: move_flag)

+

Primary key: id.

Has id, identifier, and name via move_flag_prose.


Internationalized strings:

@@ -1904,6 +2182,7 @@ Pokédexes.

pokedex.db.tables.MoveFlagMap

Maps a move flag to a move

Table name: move_flag_map

+

Primary key: move_id, move_flag_id.


Columns:

MoveFlagMap.move (move_id → Move.id)

@@ -1911,8 +2190,9 @@ Pokédexes.

MoveFlagMap.move_flag_id (→ MoveFlag.id):

ID of the flag
-

Undocumented:

-

MoveFlagMap.flag

+

Relationships:

+

MoveFlagMap.flag +(→ MoveFlag)

@@ -1923,6 +2203,7 @@ Pokédexes.

pokedex.db.tables.MoveMetaStatChange

Stat changes moves (may) make.

Table name: move_meta_stat_changes

+

Primary key: move_id, stat_id.


Columns:

MoveMetaStatChange.move_id (→ Move.id):

@@ -1945,6 +2226,7 @@ Pokédexes.

Specifies how likely a Pokémon with a specific Nature is to use a move of a particular battl style in Battle Palace or Battle Tent

Table name: nature_battle_style_preferences

+

Primary key: nature_id, move_battle_style_id.


Columns:

NatureBattleStylePreference.nature (nature_id → Nature.id)

@@ -1958,8 +2240,9 @@ a particular battl style in Battle Palace or Battle Tent

NatureBattleStylePreference.high_hp_preference (int):

Chance of using the move, in percent, if HP is over ½
-

Undocumented:

-

NatureBattleStylePreference.battle_style

+

Relationships:

+

NatureBattleStylePreference.battle_style +(→ MoveBattleStyle)

@@ -1970,6 +2253,7 @@ a particular battl style in Battle Palace or Battle Tent

pokedex.db.tables.NaturePokeathlonStat

Specifies how a Nature affects a Pokéathlon stat

Table name: nature_pokeathlon_stats

+

Primary key: nature_id, pokeathlon_stat_id.


Columns:

NaturePokeathlonStat.nature_id (→ Nature.id):

@@ -1991,10 +2275,12 @@ a particular battl style in Battle Palace or Battle Tent

A Pokéathlon stat, such as “Stamina” or “Jump”.

Table name: pokeathlon_stats (single: pokeathlon_stat)

+

Primary key: id.

Has id, identifier, and name via pokeathlon_stat_names.

-

Undocumented:

-

PokeathlonStat.nature_effects

+

Relationships:

+

PokeathlonStat.nature_effects +(→ [NaturePokeathlonStat])

@@ -2005,6 +2291,7 @@ a particular battl style in Battle Palace or Battle Tent

pokedex.db.tables.PokemonAbility

Maps an ability to a Pokémon that can have it

Table name: pokemon_abilities

+

Primary key: pokemon_id, slot.


Columns:

PokemonAbility.pokemon_id (→ Pokemon.id):

@@ -2028,6 +2315,7 @@ a particular battl style in Battle Palace or Battle Tent

pokedex.db.tables.PokemonEggGroup

Maps an Egg group to a species; each species belongs to one or two egg groups

Table name: pokemon_egg_groups

+

Primary key: species_id, egg_group_id.


Columns:

PokemonEggGroup.species_id (→ PokemonSpecies.id):

@@ -2045,6 +2333,7 @@ a particular battl style in Battle Palace or Battle Tent

pokedex.db.tables.PokemonFormPokeathlonStat

A Pokémon form’s performance in one Pokéathlon stat.

Table name: pokemon_form_pokeathlon_stats

+

Primary key: pokemon_form_id, pokeathlon_stat_id.


Columns:

PokemonFormPokeathlonStat.pokemon_form (pokemon_form_id → PokemonForm.id)

@@ -2072,6 +2361,7 @@ a particular battl style in Battle Palace or Battle Tent

The habitat of a Pokémon, as given in the FireRed/LeafGreen version Pokédex

Table name: pokemon_habitats (single: pokemon_habitat)

+

Primary key: id.

Has id, identifier, and name via pokemon_habitat_names.


Relationships:

@@ -2087,6 +2377,7 @@ a particular battl style in Battle Palace or Battle Tent

pokedex.db.tables.PokemonMove

Record of a move a Pokémon can learn

Table name: pokemon_moves

+

Primary key: pokemon_id, version_group_id, move_id, pokemon_move_method_id, level.


Columns:

PokemonMove.pokemon (pokemon_id → Pokemon.id)

@@ -2110,7 +2401,7 @@ a particular battl style in Battle Palace or Battle Tent

PokemonMove.machine (→ Machine)

PokemonMove.method -(→ [PokemonMoveMethod])

+(→ PokemonMoveMethod)

@@ -2121,6 +2412,7 @@ a particular battl style in Battle Palace or Battle Tent

pokedex.db.tables.PokemonStat

A stat value of a Pokémon

Table name: pokemon_stats

+

Primary key: pokemon_id, stat_id.


Columns:

PokemonStat.pokemon (pokemon_id → Pokemon.id)

@@ -2144,6 +2436,7 @@ a particular battl style in Battle Palace or Battle Tent

pokedex.db.tables.PokemonItem

Record of an item a Pokémon can hold in the wild

Table name: pokemon_items

+

Primary key: pokemon_id, version_id, item_id.


Columns:

PokemonItem.pokemon (pokemon_id → Pokemon.id)

@@ -2167,6 +2460,7 @@ a particular battl style in Battle Palace or Battle Tent

pokedex.db.tables.PokemonType

Maps a type to a Pokémon. Each Pokémon has 1 or 2 types.

Table name: pokemon_types

+

Primary key: pokemon_id, slot.


Columns:

PokemonType.pokemon_id (→ Pokemon.id):

@@ -2188,6 +2482,7 @@ a particular battl style in Battle Palace or Battle Tent

The damage multiplier used when a move of a particular type damages a Pokémon of a particular other type.

Table name: type_efficacy

+

Primary key: damage_type_id, target_type_id.


Columns:

TypeEfficacy.damage_type (damage_type_id → Type.id)

@@ -2200,6 +2495,26 @@ Pokémon of a particular other type.

The multiplier, as a percentage of damage inflicted.
+ +
+

VersionGroupPokemonMoveMethod

+
+
+pokedex.db.tables.VersionGroupPokemonMoveMethod
+

Maps a version group to a move learn methods it supports.

+

“Supporting” means simply that the method appears in the game. +For example, Breeding didn’t exist in Gen.I, so it’s not in this table.

+

Table name: version_group_pokemon_move_methods

+

Primary key: version_group_id, pokemon_move_method_id.

+

Columns:

+

VersionGroupPokemonMoveMethod.version_group (version_group_id → VersionGroup.id)

+
+
The ID of the version group.
+

VersionGroupPokemonMoveMethod.pokemon_move_method (pokemon_move_method_id → PokemonMoveMethod.id)

+
+
The ID of the move method.
+
+

VersionGroupRegion

@@ -2208,6 +2523,7 @@ Pokémon of a particular other type.

pokedex.db.tables.VersionGroupRegion

Maps a version group to a region that appears in it.

Table name: version_group_regions

+

Primary key: version_group_id, region_id.


Columns:

VersionGroupRegion.version_group (version_group_id → VersionGroup.id)

@@ -2228,6 +2544,7 @@ Pokémon of a particular other type.

pokedex.db.tables.ItemGameIndex

The internal ID number a game uses for an item

Table name: item_game_indices

+

Primary key: item_id, generation_id.


Columns:

ItemGameIndex.item (item_id → Item.id)

@@ -2248,6 +2565,7 @@ Pokémon of a particular other type.

pokedex.db.tables.LocationGameIndex

IDs the games use internally for locations

Table name: location_game_indices

+

Primary key: location_id, generation_id, game_index.


Columns:

LocationGameIndex.location (location_id → Location.id)

@@ -2268,6 +2586,7 @@ Pokémon of a particular other type.

pokedex.db.tables.PokemonDexNumber

The number of a species in a particular Pokédex (e.g. Jigglypuff is #138 in Hoenn’s ‘dex)

Table name: pokemon_dex_numbers

+

Primary key: species_id, pokedex_id.


Columns:

PokemonDexNumber.species (species_id → PokemonSpecies.id)

@@ -2280,6 +2599,30 @@ Pokémon of a particular other type.

Number of the Pokémon in that the Pokédex
+
+
+

PokemonFormGeneration

+
+
+pokedex.db.tables.PokemonFormGeneration
+

Links Pokémon forms to the generations they exist in

+

Table name: pokemon_form_generations

+

Primary key: pokemon_form_id, generation_id.

+

Columns:

+

PokemonFormGeneration.pokemon_form_id (→ PokemonForm.id):

+
+
The ID of the Pokémon form.
+

PokemonFormGeneration.generation (generation_id → Generation.id)

+
+
The ID of the generation.
+

PokemonFormGeneration.game_index (int):

+
+
The internal ID the games use for this form.
+

Relationships:

+

PokemonFormGeneration.form +(→ PokemonForm)

+
+

PokemonGameIndex

@@ -2288,6 +2631,7 @@ Pokémon of a particular other type.

pokedex.db.tables.PokemonGameIndex

The number of a Pokémon a game uses internally

Table name: pokemon_game_indices

+

Primary key: pokemon_id, generation_id.


Columns:

PokemonGameIndex.pokemon_id (→ Pokemon.id):

@@ -2311,6 +2655,7 @@ Pokémon of a particular other type.

pokedex.db.tables.Experience

EXP needed for a certain level with a certain growth rate

Table name: experience

+

Primary key: growth_rate_id, level.


Columns:

Experience.growth_rate (growth_rate_id → GrowthRate.id)

@@ -2323,6 +2668,31 @@ Pokémon of a particular other type.

The number of EXP points needed to get to that level
+
+
+

PalPark

+
+
+pokedex.db.tables.PalPark
+

Pal Park encounter info

+

Table name: pal_park +(single: pal_park)

+

Primary key: species_id.

+

Columns:

+

PalPark.species (species_id → PokemonSpecies.id)

+
+
ID of the Pokémon species this data pertains to
+

PalPark.area (area_id → PalParkArea.id)

+
+
The area in which this Pokémon can be found
+

PalPark.base_score (int):

+
+
Value used in calculating the player’s score in a Pal Park run
+

PalPark.rate (int):

+
+
Base rate for encountering this Pokémon
+
+

StatHint

@@ -2333,6 +2703,7 @@ Pokémon of a particular other type.

called “characteristics”.

Table name: stat_hints (single: stat_hint)

+

Primary key: id.

Has id.


Columns:

@@ -2433,6 +2804,7 @@ called “characteristics”.

  • MoveMetaCategory
  • MoveTarget
  • Nature
  • +
  • PalParkArea
  • PokemonColor
  • PokemonMoveMethod
  • PokemonShape
  • @@ -2473,6 +2845,7 @@ called “characteristics”.

  • PokemonItem
  • PokemonType
  • TypeEfficacy
  • +
  • VersionGroupPokemonMoveMethod
  • VersionGroupRegion
  • @@ -2480,11 +2853,13 @@ called “characteristics”.

  • ItemGameIndex
  • LocationGameIndex
  • PokemonDexNumber
  • +
  • PokemonFormGeneration
  • PokemonGameIndex
  • Mics tables
  • @@ -2534,7 +2909,7 @@ called “characteristics”.

    \ No newline at end of file diff --git a/objects.inv b/objects.inv index d6885db..3e6c653 100644 Binary files a/objects.inv and b/objects.inv differ diff --git a/py-modindex.html b/py-modindex.html index c648289..28592bc 100644 --- a/py-modindex.html +++ b/py-modindex.html @@ -109,7 +109,7 @@ \ No newline at end of file diff --git a/schema.html b/schema.html index 21a7cfc..b0fe098 100644 --- a/schema.html +++ b/schema.html @@ -131,6 +131,7 @@
  • MoveMetaCategory
  • MoveTarget
  • Nature
  • +
  • PalParkArea
  • PokemonColor
  • PokemonMoveMethod
  • PokemonShape
  • @@ -171,6 +172,7 @@
  • PokemonItem
  • PokemonType
  • TypeEfficacy
  • +
  • VersionGroupPokemonMoveMethod
  • VersionGroupRegion
  • @@ -178,11 +180,13 @@
  • ItemGameIndex
  • LocationGameIndex
  • PokemonDexNumber
  • +
  • PokemonFormGeneration
  • PokemonGameIndex
  • Mics tables
  • @@ -245,7 +249,7 @@ \ No newline at end of file diff --git a/search.html b/search.html index d2bf4e7..f13acbf 100644 --- a/search.html +++ b/search.html @@ -98,7 +98,7 @@ \ No newline at end of file diff --git a/searchindex.js b/searchindex.js index 7d9c888..012cd9e 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({objects:{"pokedex.db.tables.Machine":{is_hm:[2,3,1,""]},"pokedex.db":{tables:[2,0,1,""],connect:[0,4,1,""]},"pokedex.db.tables.PokemonForm":{name:[2,3,1,""]},"pokedex.db.tables":{NaturePokeathlonStat:[2,1,1,""],SuperContestEffect:[2,1,1,""],PokemonHabitat:[2,1,1,""],PokemonDexNumber:[2,1,1,""],MoveFlavorText:[2,1,1,""],PokeathlonStat:[2,1,1,""],PokemonSpeciesFlavorText:[2,1,1,""],Machine:[2,1,1,""],PokemonSpecies:[2,1,1,""],Version:[2,1,1,""],EggGroup:[2,1,1,""],ItemFlingEffect:[2,1,1,""],mapped_classes:[2,2,1,""],PokemonAbility:[2,1,1,""],NatureBattleStylePreference:[2,1,1,""],PokemonMove:[2,1,1,""],Type:[2,1,1,""],GrowthRate:[2,1,1,""],ContestCombo:[2,1,1,""],VersionGroupRegion:[2,1,1,""],BerryFirmness:[2,1,1,""],MoveMetaStatChange:[2,1,1,""],Stat:[2,1,1,""],MoveMeta:[2,1,1,""],PokemonType:[2,1,1,""],Ability:[2,1,1,""],ContestEffect:[2,1,1,""],Nature:[2,1,1,""],EncounterConditionValue:[2,1,1,""],EvolutionTrigger:[2,1,1,""],MoveEffect:[2,1,1,""],ItemCategory:[2,1,1,""],PokemonEggGroup:[2,1,1,""],LocationArea:[2,1,1,""],ItemFlag:[2,1,1,""],PokemonItem:[2,1,1,""],EncounterSlot:[2,1,1,""],EncounterCondition:[2,1,1,""],PokemonEvolution:[2,1,1,""],AbilityFlavorText:[2,1,1,""],MoveBattleStyle:[2,1,1,""],MoveFlag:[2,1,1,""],MoveFlagMap:[2,1,1,""],metadata:[2,2,1,""],ItemGameIndex:[2,1,1,""],Language:[2,1,1,""],BerryFlavor:[2,1,1,""],MoveMetaCategory:[2,1,1,""],Region:[2,1,1,""],PokemonGameIndex:[2,1,1,""],StatHint:[2,1,1,""],Experience:[2,1,1,""],PokemonColor:[2,1,1,""],Item:[2,1,1,""],Berry:[2,1,1,""],SuperContestCombo:[2,1,1,""],MoveEffectChangelog:[2,1,1,""],EvolutionChain:[2,1,1,""],PokemonMoveMethod:[2,1,1,""],MoveTarget:[2,1,1,""],PokemonFormPokeathlonStat:[2,1,1,""],MoveMetaAilment:[2,1,1,""],PokemonForm:[2,1,1,""],ItemPocket:[2,1,1,""],MoveChangelog:[2,1,1,""],Generation:[2,1,1,""],VersionGroup:[2,1,1,""],TypeEfficacy:[2,1,1,""],Move:[2,1,1,""],ItemFlagMap:[2,1,1,""],Pokedex:[2,1,1,""],EncounterMethod:[2,1,1,""],LocationGameIndex:[2,1,1,""],EncounterConditionValueMap:[2,1,1,""],ItemFlavorText:[2,1,1,""],ContestType:[2,1,1,""],Encounter:[2,1,1,""],LocationAreaEncounterRate:[2,1,1,""],AbilityChangelog:[2,1,1,""],PokemonStat:[2,1,1,""],MoveDamageClass:[2,1,1,""],Pokemon:[2,1,1,""],PokemonShape:[2,1,1,""],Location:[2,1,1,""]},"pokedex.db.tables.Pokemon":{stat:[2,5,1,""],better_damage_class:[2,3,1,""],name:[2,3,1,""]},"pokedex.db.tables.Item":{appears_underground:[2,3,1,""]},"pokedex.db.tables.Nature":{is_neutral:[2,3,1,""]},"pokedex.db.util":{get:[0,4,1,""]}},terms:{all:[0,1,2,3],code:[2,3],chain:2,type_id:2,queri:[0,1],consum:2,pokemon_move_method_pros:2,yellow:2,four:2,hating_natur:2,abil:[2,4],eeve:[0,3],follow:[0,2,3],hate:2,row:2,content:1,system:[1,3],pokemon_shape_pros:2,"pok\u00e9":2,program:3,meta_stat_chang:2,encounter_r:2,locaion:2,introduc:2,awesome_nam:2,deactiv:3,sourc:3,everi:[0,2],string:2,without:2,fals:2,itemcategori:[2,4],util:[0,2],canonical_for_gener:2,minimum_level:2,fall:2,veri:2,affect:2,min_hit:2,cool:2,damage_typ:2,itempocket:[2,4],level:2,gender:2,effect_ch:2,max_harvest:2,list:[0,2,3],defens:2,item:[0,2,4],minimum_happi:2,form:2,contest_combo_second:2,print_item:0,quick:[1,3],super_contest_combo_second:2,movetarget:[2,4],trigger_item:2,height:2,work:[0,2,3],move_flag_pros:2,speci:[0,2],pokeathlon_effect:2,natur:[2,3,4],attribut:2,uniqu:2,jump:[1,2],rate:2,cost:[0,2],decigram:2,habitat_id:2,download:3,even:[2,3],index:[1,2,3,4],what:[0,2,3],appear:2,cover:0,introspect:2,brief:0,find:3,current:3,version:[2,3,4],appeal:2,method:[0,2],metadata:[0,2],move_effect:2,full:[0,2],pressur:2,whose:2,join:0,gener:[2,3,4],never:2,here:[0,2,3],bodi:2,mapped_class:2,abomasnow:0,let:3,contest_effect_id:2,ubuntu:[1,3],path:3,interpret:3,pokemon_species_pros:2,search:[1,2],relat:2,versiongroup:[2,4],genu:[0,2],bestow:2,print_pokemon:0,pokedex:[0,1,2,3,4],dri:2,prior:2,damage_class:2,base:[0,2],within:[0,2],defeat:2,action:2,chang:[2,3],gene:2,inflict:2,chanc:2,encounter_slot:2,semant:2,via:[2,3],regardless:2,appli:2,modul:2,prefer:2,apt:3,item_flag_map:2,put:3,itemflavortext:[2,4],api:[0,1],encounter_condition_value_map:2,famili:2,sgn:2,instal:[1,3],gimmick:2,should:[0,2,3],held_item:2,item_pocket:2,select:0,uniu:2,from:[0,2,3],internation:2,two:[2,3],next:3,few:0,jam:2,pokemon_egg_group:2,calm:2,supercontestcombo:[2,4],criteria:0,taken:2,decreased_stat:2,type:[0,2,3,4],minor:2,more:[0,2,3],sort:[0,2],frenzi:0,babi:2,under:2,line:3,about:[0,2,3],pokemonspeciesflavortext:[2,4],flag:2,particular:[0,2],pokemon_form:2,egg_group_id:2,hold:2,effort:2,cach:2,must:[0,2],dex:2,none:[0,2],gametext:2,word:2,hour:2,taught:2,base_experi:2,setup:3,pokedex_db_engin:3,battl:2,super_contest_combo_first:2,moveeffect:[2,4],histori:2,other:[0,2,3],whatev:2,learn:[0,2],male:2,firmness_id:2,def:[0,2],versiongroupregion:[2,4],heart:2,sqlite:[0,3],prompt:3,climat:3,give:[0,3],nature_nam:2,sudo:3,share:2,lizard:2,indic:1,locationgameindex:[2,4],critic:2,minimum:2,want:[0,3],explos:0,color_id:2,occur:2,alwai:[0,3],differenti:2,cours:3,end:3,nature_pokeathlon_stat:2,thing:[0,1,3],programmat:2,anoth:[0,3],contest_type_id:2,write:3,how:[0,2,3],forms_switch:2,env:3,is_neutr:2,verifi:3,bit:3,move_meta_ail:2,simpl:0,distro:3,splendifer:2,map:[2,4],plant:0,locationareaencounterr:[2,4],evolution_trigg:2,trigger_item_id:2,mess:2,max:2,game_indic:2,earlier:3,variant:2,pokemon_habitat_nam:2,befor:[2,3],okai:2,beauti:2,language_nam:2,mai:2,multipl:2,pokemon_evolut:2,stat_hint:2,data:[0,2,3],eighth:2,physic:2,naturepokeathlonstat:[2,4],time_of_dai:2,"short":2,is_babi:2,party_species_id:2,counter:2,favorit:3,correspond:[2,3],element:2,caus:2,condition_value_map:2,"switch":[2,3],environ:3,enter:2,tall:2,stat_hint_nam:2,egg:2,order:[0,2],includ:[2,3],move_battle_style_pros:2,help:3,offici:2,move:[0,2,4],gender_r:2,becaus:3,meter:2,trade:2,evolved_speci:2,through:2,pokemonformpokeathlonstat:[2,4],venusaur:0,abilityflavortext:[2,4],gift:2,multilang:2,oppon:2,style:2,parent_speci:2,group:2,primarili:2,treat:2,pokemon_form_id:2,encounter_id:2,is_battle_onli:2,feel:3,jigglypuff:2,crit_rat:2,whole:2,encountercondit:[2,4],super_contest_combo_next:2,hidden:2,main:2,might:3,alter:2,them:[0,2,3],good:0,"return":[0,2],hates_flavor_id:2,thei:2,fling:2,python:[0,3],movemetaail:[2,4],pokeathlonstat:[2,4],dai:2,initi:2,nation:2,pokemon_move_method_id:2,half:2,item_nam:2,now:3,ability_flavor_text:2,growth_rat:2,name:[0,2],anyth:3,increasing_natur:2,move_flag_id:2,bonu:2,separ:2,iff:2,exampl:[0,2],form_descript:2,trap:2,move_flag_map:2,each:2,found:0,went:3,is_dream:2,mean:[0,2,3],beween:2,ailment:2,weight:2,individu:2,hard:2,idea:0,contest_type_nam:2,locationarea:[2,4],meta:2,"static":2,connect:[0,1],pokeathlon_stat_id:2,encounter_slot_id:2,leafgreen:2,our:[0,3],beyond:2,sexual:2,whip:0,out:[0,2,3],variabl:3,"pok\u00e9dex":[0,1,2,4],type_nam:2,goe:3,miss:2,defend:2,berryflavor:[2,4],whoosh:3,categori:2,max_level:2,palac:2,itemflag:[2,4],print:0,formula:2,item_flag:2,item_pocket_nam:2,correct:2,red:2,atuomat:3,pokemonevolut:[2,4],encounterconditionvalu:[2,4],advanc:3,canonical_pokedex:2,pokemon_dex_numb:2,free:3,standard:2,asc:2,small:0,evolution_chain:2,orm:0,ability_changelog:2,second_move_id:2,pokemon_speci:2,item_id:2,teach:2,is_hm:2,document:[0,1,3],flare:0,could:2,omit:0,atk:2,struggl:2,filter:0,turn:2,"int":2,region_nam:2,place:2,isn:2,pokemonstat:[2,4],contest_combo_first:2,confus:3,think:3,first:[0,2],oper:[0,3],minimum_beauti:2,rang:2,move_effect_changelog_pros:2,genesect:0,directli:3,spoken:2,engine_prefix:0,number:[0,2],trade_species_id:2,evolut:[0,2],location_area_encounter_r:2,date:2,instruct:3,relative_physical_stat:2,done:[1,2,3],construct:3,item_fling_effect:2,known_move_id:2,primari:2,max_experi:2,size:2,prioriti:2,given:2,bonus:2,script:3,associ:[2,4],caught:2,breed:2,sometim:2,messag:2,grow:2,kanto:2,swarm:2,dimorph:2,necessarili:2,order_bi:0,storm:0,pokemonmovemethod:[2,4],locat:[2,4],"final":[0,2],schema:[1,4],shell:3,option:3,fling_effect:2,startup:[1,3],tool:3,copi:3,ability_pros:2,specifi:[0,2,3],all_pokemon:2,main_region_id:2,github:3,egggroup:[2,4],consult:0,move_battle_styl:2,exactli:2,than:0,wide:3,nature_battle_style_prefer:2,pokemon_shap:2,evolution_chain_id:2,whenev:3,tree:2,pokemonmov:[2,4],growthrat:[2,4],move_meta:2,matter:2,meta_category_id:2,paralysi:2,flame:2,lone:2,seriou:0,pokeathlon_stat:2,danc:0,decimet:2,seri:2,exhibit:2,lowest:2,comput:3,region_id:2,plaintext:2,encounter_method_pros:2,ani:[0,2],decreased_stat_id:2,generation_id:2,packag:[0,3],item_flag_id:2,seed:[0,2],have:[0,2,3],tabl:[0,1,2,4],need:[0,2,3],dream_abl:2,"null":2,location_id:2,moveflagmap:[2,4],species_id:2,flinch_chanc:2,engin:[0,3],relationship:[0,2],zero:0,inform:0,self:2,accuraci:2,note:2,also:[0,2,3],contact:2,super_contest_combo:2,take:2,which:2,hatch:2,pokemontyp:[2,4],properti:2,min_turn:2,singl:2,contesttyp:[2,4],surf:2,blue:2,sure:3,unless:[0,2],distribut:3,"enum":[2,4],normal:2,multipli:2,price:2,berry_flavor:2,ability_nam:2,canonical_pokedex_id:2,most:[0,2,3],pokemon_typ:2,pokemon_mov:2,diglett:0,letter:2,millimet:2,pair:2,nature_effect:2,"class":2,move_meta_categori:2,sub:2,pokemon_nam:2,don:[0,3],expert:3,flavor_text:2,dream:2,grass:[0,2],request:0,uri:0,doe:[2,3],increased_stat_id:2,bracket:2,exp:2,databas:[0,1,2,3,4],movemeta:[2,4],recoil:2,effect:2,usual:[0,2],moveflag:[2,4],fact:2,translat:[2,3],deoxi:2,charmeleon:0,set:[2,3],text:[2,4],meloetta:0,type_efficaci:2,area:2,session:[0,3],moveeffectchangelog:[2,4],pokemonshap:[2,4],anywai:3,default_pokemon:2,slot:2,pokemon_form_nam:2,onli:[2,3],bind:0,bicycl:2,pretti:3,pokemonspeci:[0,2,4],trigger:2,"true":2,configur:3,releas:2,state:2,short_effect_map:2,tame:2,liking_natur:2,wood:0,combo:2,footnot:3,flinch:2,over:2,pokemonitem:[2,4],count:2,hit:2,get:[0,1,2,3],location_nam:2,form_identifi:2,target_id:2,stathint:[2,4],bear:2,secondari:2,pocket:2,session_arg:0,cannot:2,foremost:0,ability_changelog_pros:2,increas:2,gen:2,requir:2,target:2,berry_id:2,item_pros:2,evolution_trigger_id:2,fling_pow:2,organ:0,encounter_condition_value_pros:2,all_abl:2,appears_underground:2,maxmum:2,encounter_method_id:2,twice:2,stuff:[2,4],common:[0,2],hates_flavor:2,contain:[0,2,3],abilitychangelog:[2,4],effect_id:2,bought:2,where:2,natural_gift_type_id:2,summari:2,pokemon_color:2,meta_ailment_id:2,modulo:2,pick:2,knowledg:3,baby_trigger_item:2,maximum:2,see:[0,2,3],fling_effect_id:2,version_group_id:2,sport:2,hammer:0,best:2,onc:0,target_type_id:2,statu:[2,3],brave:2,kei:2,pokemon:[0,2,4],pokemon_id:2,sorta:2,super_contest_combo_prev:2,default_form:2,yet:3,enough:[2,3],won:3,game_index:2,move_changelog:2,between:2,"import":0,experi:[2,4],across:2,contest_combo:2,tent:2,altern:2,naturebattlestyleprefer:[2,4],johto:2,parent:2,numer:2,attempt:0,condit:[0,2],pokemoncolor:[2,4],extens:2,pokedex_index_dir:3,succeed:3,effect_map:2,pocket_id:2,water:0,target_efficaci:2,move_nam:2,berri:[2,4],region:[2,4],"pok\u00e9block":2,equal:2,foreign:2,etc:2,tutori:0,pokemon_species_flavor_summari:2,itemflingeffect:[2,4],mani:[2,3],rariti:2,com:3,clone:3,among:2,pokeathlon_stat_nam:2,markdown:[2,3],undocu:2,can:[0,2,3],color:2,sky:2,format:0,contest_effect_pros:2,item_game_indic:2,written:3,differ:2,linux:3,cancel:2,assum:3,damag:2,quit:0,baby_trigger_item_id:2,itemflagmap:[2,4],second:2,encounter_condition_pros:2,three:3,been:2,tutor:2,keldeo:0,much:3,contestcombo:[2,4],interest:3,generation_nam:2,movemetastatchang:[2,4],quickli:2,pokedex_id:2,hoenn:2,ivysaur:0,sprite:2,pip:3,both:2,target_typ:2,better_damage_class:2,great:0,stat_id:2,argument:0,item_flag_pros:2,togeth:2,"pok\u00e9athlon":2,berry_firm:2,high_hp_prefer:2,countri:2,present:2,movedamageclass:[2,4],"case":[2,3],nature_prefer:2,look:0,move_meta_ailment_nam:2,pokemon_habitat:2,straight:2,item_fling_effect_pros:2,encountermethod:[2,4],pokemon_move_method:2,defin:[0,2],"while":2,smart:2,behavior:2,wild:2,exist:[2,3],iso3166:2,loos:2,move_flavor_summari:2,location_game_indic:2,encounter_condition_valu:2,translation_class:2,almost:2,petal:0,max_hit:2,required_for_evolut:2,rip:2,activ:3,player:2,itself:2,move_target:2,meaning:2,descript:2,filter_bi:0,result:0,pokemonhabitat:[2,4],develop:3,berry_firmness_nam:2,author:3,perform:2,parti:2,make:[0,2,3],belong:2,amount:2,same:[2,3],check:3,dex_numb:2,underground:2,postgresql:3,attack:2,higher:2,sell:2,ball:[0,2],pokedex_pros:2,battle_style_prefer:2,ability_id:2,short_effect:2,stat_nam:2,engine_arg:0,shaymin:2,move_flavor_text:2,rais:0,user:[2,3],has_gender_differ:2,pokemon_item:2,soil_dry:2,changed_in_version_group_id:2,move_meta_stat_chang:2,berryfirm:[2,4],move_id:2,techniqu:2,appropri:[0,2],super_contest_effect:2,machineri:2,contesteffect:[2,4],natural_gift_pow:2,"pok\u00e9mon":[0,2,3,4],entri:2,thu:2,well:[2,3],except:[0,2],know:[0,2,3],non:2,move_battle_style_id:2,location_area_id:2,solarbeam:0,command:3,item_categori:2,thi:[0,2,3],machine_numb:2,category_id:2,tast:2,mic:[2,4],battle_styl:2,unchang:2,load:[0,1,3],identifi:[0,2],munber:2,just:0,descrption:2,percent:2,rest:3,shape:2,move_effect_pros:2,pokemondexnumb:[2,4],part:2,pokemon_game_indic:2,flavor:[2,4],speed:2,contest_typ:2,languag:[0,2,3,4],characterist:2,hint:2,nullabl:2,point:2,had:2,encounter_condition_value_id:2,add:2,held_item_id:2,move_damage_class:2,reason:3,els:2,match:0,bin:3,applic:2,pokemon_:2,last:2,read:0,big:3,version_nam:2,supercontesteffect:[2,4],veekun:3,form_nam:[0,2],is_default:2,movemetacategori:[2,4],game:2,minimum_stat:2,world:2,shadow:2,walk:2,you:[0,2,3],like:[0,1,2,3],move_target_pros:2,likes_flavor_id:2,ditto:2,specif:2,changelog:[2,4],integ:2,collect:2,either:[2,3],lose:2,evolutionchain:[2,4],anti:3,specifii:2,maximum_stat:2,soft:2,page:1,encount:[2,4],right:1,old:2,often:2,habitat:2,snatchabl:2,poffin:2,back:2,percentag:2,global:2,damage_type_id:2,intern:2,growth:2,shape_id:2,ailment_ch:2,librari:[0,1,3],gene_mod_5:2,base_happi:2,charmand:0,pokemonegggroup:[2,4],item_category_pros:2,language_id:2,per:2,move_flag:2,when:2,evolv:2,leav:3,encounterslot:[2,4],damage_class_id:2,contest_effect:2,machin:[2,4],core:2,object:[0,2],run:[0,3],power:[0,2],post:2,night:2,version_id:2,evolutiontrigg:[2,4],party_speci:2,step:2,prerequisit:[1,3],evolves_from_species_id:2,major:[0,2],"super":2,unicod:2,condition_valu:2,stage:2,chapter:3,experience_t:2,min_level:2,actual:[0,2],movechangelog:[2,4],column:2,holdabl:2,zweilou:0,unfortun:3,stat_chanc:2,egg_group:2,encounter_condit:2,move_damage_class_pros:2,produc:2,encounter_method:2,own:[2,3],item_flavor_text:2,likes_flavor:2,increased_stat:2,empti:[2,3],child_speci:2,bool:2,your:3,base_stat:2,move_meta_category_pros:2,unown:2,git:3,location_area:2,wai:2,pokemon_color_nam:2,captur:2,soil:2,growth_rate_pros:2,happi:[2,3],stamina:2,start:0,reli:0,version_group_region:2,franchis:2,pokemon_species_nam:2,suit:2,call:[0,2],max_turn:2,fish:2,move_effect_changelog:2,"function":[0,2],evolution_trigger_pros:2,evolved_species_id:2,item_flavor_summari:2,latex:2,forc:2,conclud:0,heal:2,basic:0,femal:2,low_hp_prefer:2,sqlalchemi:[0,2,3],skip:3,gain:2,offens:2,nature_id:2,highest:2,categor:2,version_group:2,movebattlestyl:[2,4],info:[0,2],iso639:2,max_chang:2,itemgameindex:[2,4],triggered_evolut:2,possibl:[2,3],whether:2,access:2,smooth:2,displai:2,pokedex_numb:2,growth_rate_id:2,record:2,below:2,firer:2,doc:0,anotherenv:3,otherwis:2,problem:3,encounterconditionvaluemap:[2,4],similar:2,super_contest_effect_pros:2,super_contest_effect_id:2,firm:2,egg_group_pros:2,valu:2,creat:[0,3],contest_combo_next:2,pokemon_species_flavor_text:2,certain:2,"abstract":2,smoothli:3,changed_in:2,doesn:[2,3],repres:2,pokemongameindex:[2,4],decreas:2,file:3,some:[0,2,3],decreasing_natur:2,genderless:2,flavor_summari:2,mole:0,link:2,fill:0,max_experience_obj:2,rainbow:0,encounter_map:2,contest:[2,4],moveflavortext:[2,4],tenth:2,growth_tim:2,detail:[2,3],known_mov:2,"default":[0,2,3],bulbasaur:0,declar:2,lookup:3,special:2,pokemon_form_pokeathlon_stat:2,typeefficaci:[2,4],first_move_id:2,capture_r:2,virtualenv:3,stat:[2,4],potion:0,intend:0,determin:2,dream_pokemon:2,main_region:2,encounter_condition_id:2,affix:2,stat_identifi:2,introduced_in_version_group_id:2,natural_gift_typ:2,hatch_count:2,kinda:2,sql:0,leaf:0,damage_efficaci:2,trade_speci:2,location_area_pros:2,outdat:3,pokemonform:[2,4],longer:2,directori:[0,3],debian:[1,3],pokemon_stat:2,damage_factor:2,kilogram:2,contest_combo_prev:2,potenti:2,time:[2,3],fresh:0},objtypes:{"0":"py:module","1":"py:dex-table","2":"py:data","3":"py:attribute","4":"py:function","5":"py:method"},titles:["Using pokedex","The pokedex documentation","The pok\u00e9dex tables","Installing the pokedex library","The database schema"],objnames:{"0":["py","module","Python module"],"1":["py","dex-table","dex-table"],"2":["py","data","Python data"],"3":["py","attribute","Python attribute"],"4":["py","function","Python function"],"5":["py","method","Python method"]},filenames:["usage","index","main-tables","installing","schema"]}) \ No newline at end of file +Search.setIndex({objects:{"pokedex.db.tables.Machine":{is_hm:[2,3,1,""]},"pokedex.db":{tables:[2,0,1,""],connect:[0,4,1,""]},"pokedex.db.tables.PokemonForm":{name:[2,3,1,""]},"pokedex.db.tables":{PokeathlonStat:[2,1,1,""],PokemonMove:[2,1,1,""],ContestCombo:[2,1,1,""],Pokedex:[2,1,1,""],PokemonEggGroup:[2,1,1,""],LocationArea:[2,1,1,""],MoveEffectChangelog:[2,1,1,""],Encounter:[2,1,1,""],BerryFlavor:[2,1,1,""],Region:[2,1,1,""],StatHint:[2,1,1,""],PokemonColor:[2,1,1,""],PalParkArea:[2,1,1,""],ItemCategory:[2,1,1,""],PokemonForm:[2,1,1,""],ItemPocket:[2,1,1,""],ItemFlagMap:[2,1,1,""],VersionGroup:[2,1,1,""],Move:[2,1,1,""],MoveMetaStatChange:[2,1,1,""],ItemFlavorText:[2,1,1,""],PokemonType:[2,1,1,""],NaturePokeathlonStat:[2,1,1,""],PokemonSpeciesFlavorText:[2,1,1,""],Version:[2,1,1,""],EggGroup:[2,1,1,""],Location:[2,1,1,""],Type:[2,1,1,""],GrowthRate:[2,1,1,""],BerryFirmness:[2,1,1,""],LocationGameIndex:[2,1,1,""],Ability:[2,1,1,""],ItemFlag:[2,1,1,""],MoveFlag:[2,1,1,""],metadata:[2,2,1,""],MoveMetaCategory:[2,1,1,""],PokemonHabitat:[2,1,1,""],Berry:[2,1,1,""],Generation:[2,1,1,""],LocationAreaEncounterRate:[2,1,1,""],MoveChangelog:[2,1,1,""],Pokemon:[2,1,1,""],MoveFlavorText:[2,1,1,""],ContestType:[2,1,1,""],Stat:[2,1,1,""],ContestEffect:[2,1,1,""],Nature:[2,1,1,""],MoveEffect:[2,1,1,""],PokemonItem:[2,1,1,""],EncounterSlot:[2,1,1,""],EncounterCondition:[2,1,1,""],MoveTarget:[2,1,1,""],MoveFlagMap:[2,1,1,""],MoveDamageClass:[2,1,1,""],ItemGameIndex:[2,1,1,""],Language:[2,1,1,""],Experience:[2,1,1,""],PokemonMoveMethod:[2,1,1,""],AbilityFlavorText:[2,1,1,""],PokemonFormGeneration:[2,1,1,""],TypeEfficacy:[2,1,1,""],PokemonStat:[2,1,1,""],SuperContestEffect:[2,1,1,""],PokemonDexNumber:[2,1,1,""],PalPark:[2,1,1,""],Machine:[2,1,1,""],PokemonSpecies:[2,1,1,""],ItemFlingEffect:[2,1,1,""],mapped_classes:[2,2,1,""],PokemonAbility:[2,1,1,""],VersionGroupPokemonMoveMethod:[2,1,1,""],NatureBattleStylePreference:[2,1,1,""],PokemonShape:[2,1,1,""],VersionGroupRegion:[2,1,1,""],PokemonFormPokeathlonStat:[2,1,1,""],EvolutionTrigger:[2,1,1,""],MoveMetaAilment:[2,1,1,""],MoveMeta:[2,1,1,""],MoveBattleStyle:[2,1,1,""],EncounterConditionValueMap:[2,1,1,""],PokemonGameIndex:[2,1,1,""],Item:[2,1,1,""],SuperContestCombo:[2,1,1,""],PokemonEvolution:[2,1,1,""],EncounterMethod:[2,1,1,""],EncounterConditionValue:[2,1,1,""],AbilityChangelog:[2,1,1,""],EvolutionChain:[2,1,1,""]},"pokedex.db.tables.Pokemon":{stat:[2,5,1,""],better_damage_class:[2,3,1,""],name:[2,3,1,""]},"pokedex.db.tables.Item":{appears_underground:[2,3,1,""]},"pokedex.db.tables.Nature":{is_neutral:[2,3,1,""]},"pokedex.db.util":{get:[0,4,1,""]}},terms:{all:[0,1,2,3],code:[2,3],chain:2,type_id:2,queri:[0,1],version_nam:2,consum:2,pokemon_move_method_pros:2,yellow:2,language_id:2,four:2,tent:2,scalar:[],hating_natur:2,abil:[2,4],berry_firm:2,follow:[0,2,3],lookup:3,hate:2,row:2,nature_id:2,whose:2,palac:2,"pok\u00e9":2,pal_park:2,program:3,certain:2,meta_stat_chang:2,skip:3,locaion:2,introduc:2,awesome_nam:2,deactiv:3,sourc:3,everi:[0,2],string:2,fals:2,itemcategori:[2,4],util:[0,2],canonical_for_gener:2,pokemonformgener:[2,4],minimum_level:2,fall:2,veri:2,affect:2,min_hit:2,special:2,cool:2,damage_typ:2,itempocket:[2,4],doesn:[2,3],level:2,base_scor:2,gender:2,effect_ch:2,max_harvest:2,list:[0,2,3],correct:2,item:[0,2,4],minimum_happi:2,movemetacategori:[2,4],red:2,print_item:0,quick:[1,3],movetarget:[2,4],trigger_item:2,height:2,work:[0,2,3],move_flag_pros:2,speci:[0,2],pokeathlon_effect:2,natur:[2,3,4],request:0,uniqu:2,jump:[1,2],rate:2,paralysi:2,decigram:2,habitat_id:2,download:3,even:[2,3],index:[1,2,3,4],what:[0,2,3],appear:2,compar:[],version_group_region:2,introspect:2,brief:0,anywai:3,current:3,version:[2,3,4],appeal:2,"public":[],metadata:[0,2],move_effect:2,full:[0,2],footnot:3,join:0,gener:[2,3,4],never:2,here:[0,2,3],bodi:2,abomasnow:0,let:3,contest_effect_id:2,ubuntu:[1,3],path:3,interpret:3,pokemon_species_pros:2,search:[1,2],relat:2,version_group:2,versiongroup:[2,4],genu:[0,2],evolution_chain:2,print_pokemon:0,loos:2,dri:2,prior:2,damage_class:2,orm:0,defeat:2,action:2,chang:[2,3],gene:2,pal_park_area_nam:2,encounter_slot:2,semant:2,via:[2,3],regardless:2,appli:2,modul:2,prefer:2,"while":2,apt:3,item_flag_map:2,item_id:2,itemflavortext:[2,4],api:[0,1],encounter_condition_value_map:2,famili:2,sgn:2,instal:[1,3],gimmick:2,held_item:2,item_pocket:2,select:0,uniu:2,from:[0,2,3],describ:[],simpli:2,virtualenv:3,internation:2,two:[2,3],next:3,few:0,wood:0,pokemon_egg_group:2,calm:2,supercontestcombo:[2,4],criteria:0,taken:2,decreased_stat:2,type:[0,2,3,4],minor:2,more:[0,2,3],sort:[0,2],frenzi:0,experience_t:2,babi:2,encounter_r:2,min_level:2,pokemonspeciesflavortext:[2,4],flag:2,particular:[0,2],pokemon_form:2,egg_group_id:2,hold:2,effort:2,cach:2,must:[0,2],dex:2,none:[0,2],word:2,sometim:2,hour:2,base_experi:2,setup:3,pokedex_db_engin:3,battl:2,super_contest_combo_first:2,moveeffect:[2,4],histori:2,whatev:2,assum:3,learn:[0,2],under:2,male:2,firmness_id:2,def:[0,2],versiongroupregion:[2,4],heart:2,sqlite:[0,3],prompt:3,climat:3,give:[0,3],nature_nam:2,sudo:3,share:2,lizard:2,indic:1,locationgameindex:[2,4],critic:2,minimum:2,want:[0,3],explos:0,struggl:2,yet:3,occur:2,declar:2,alwai:[0,3],differenti:2,cours:3,end:3,nature_pokeathlon_stat:2,turn:2,programmat:2,anoth:[0,3],relationshipproperti:[],contest_type_id:2,write:3,how:[0,2,3],actual:[0,2],env:3,is_neutr:2,verifi:3,growth_rat:2,simpl:0,distro:3,splendifer:2,map:[2,4],plant:0,locationareaencounterr:[2,4],evolution_trigg:2,referenc:[],trigger_item_id:2,mess:2,max:2,game_indic:2,earlier:3,variant:2,pokemon_habitat_nam:2,befor:[2,3],okai:2,beauti:2,language_nam:2,mai:2,multipl:2,stat_hint:2,data:[0,2,3],eighth:2,physic:2,naturepokeathlonstat:[2,4],time_of_dai:2,"short":2,is_babi:2,happi:[2,3],party_species_id:2,counter:2,favorit:3,correspond:[2,3],element:2,caus:2,condition_value_map:2,"switch":[2,3],environ:3,enter:2,tall:2,stat_hint_nam:2,egg:2,order:[0,2],move_battle_style_pros:2,minimum_stat:2,help:3,offici:2,move:[0,2,4],gender_r:2,becaus:3,meter:2,trade:2,move_effect_changelog_pros:2,through:2,venusaur:0,abilityflavortext:[2,4],gift:2,level_1:[],multilang:2,style:2,parent_speci:2,group:2,item_flavor_text:2,treat:2,pokemon_form_id:2,encounter_id:2,is_battle_onli:2,spoken:2,jigglypuff:2,crit_rat:2,encountercondit:[2,4],super_contest_combo_next:2,hidden:2,main:2,might:3,alter:2,them:[0,2,3],good:0,"return":[0,2],hates_flavor_id:2,thei:2,fling:2,python:[0,3],movemetaail:[2,4],pokeathlonstat:[2,4],dai:2,initi:2,nation:2,solarbeam:0,half:2,fling_pow:2,now:3,ability_flavor_text:2,move_meta_ail:2,name:[0,2],anyth:3,increasing_natur:2,didn:2,move_flag_id:2,bonu:2,separ:2,iff:2,palparkarea:[2,4],form_descript:2,trap:2,move_flag_map:2,each:2,found:[0,2],went:3,is_dream:2,mean:[0,2,3],beween:2,cost:[0,2],ailment:2,weight:2,individu:2,hard:2,idea:0,contest_type_nam:2,firer:2,"static":2,connect:[0,1],pokeathlon_stat_id:2,encounter_slot_id:2,leafgreen:2,our:[0,3],beyond:2,sexual:2,whip:0,out:[0,2,3],variabl:3,"pok\u00e9dex":[0,1,2,4],ability_id:2,type_nam:2,goe:3,known_move_id:2,defend:2,berryflavor:[2,4],whoosh:3,categori:2,bonus:2,shaymin:2,itemflag:[2,4],print:0,formula:2,item_pocket_nam:2,defens:2,contest_combo_second:2,atuomat:3,pokemonevolut:[2,4],stat_nam:2,proxi:2,advanc:3,canonical_pokedex:2,evolution_trigger_pros:2,given:2,free:3,standard:2,asc:2,small:0,bestow:2,base:[0,2],ability_changelog:2,put:3,teach:2,is_hm:2,genesect:0,flare:0,could:2,omit:0,atk:2,color_id:2,filter:0,thing:[0,1,3],is_dream_1:[],region_nam:2,place:2,isn:2,pokemonstat:[2,4],contest_combo_first:2,confus:3,think:3,first:[0,2],oper:[0,3],minimum_beauti:2,rang:2,evolved_speci:2,oppon:2,directli:3,feel:3,engine_prefix:0,pokemon_item:2,number:[0,2],conclud:0,evolut:[0,2],date:2,instruct:3,relative_physical_stat:2,done:[1,2,3],messag:2,item_fling_effect:2,miss:2,primari:2,max_experi:2,size:2,prioriti:2,move_battle_style_id:2,script:3,associ:[2,4],caught:2,breed:2,system:[1,3],construct:3,grow:2,kanto:2,swarm:2,attack:2,necessarili:2,order_bi:0,storm:0,pokemonmovemethod:[2,4],"final":[0,2],schema:[1,4],growth_tim:2,shell:3,option:3,fling_effect:2,baby_trigger_item:2,tool:3,copi:3,park:2,ability_pros:2,specifi:[0,2,3],main_region_id:2,pokemon_color_nam:2,github:3,egggroup:[2,4],hates_flavor:2,consult:0,move_battle_styl:2,exactli:2,than:0,wide:3,nature_battle_style_prefer:2,pokemon_shap:2,evolution_chain_id:2,whenev:3,tree:2,pokemonmov:[2,4],growthrat:[2,4],move_meta:2,matter:2,meta_category_id:2,pressur:2,super_contest_combo_second:2,seriou:0,pokeathlon_stat:2,danc:0,decimet:2,seri:2,exhibit:2,"function":[0,2],comput:3,region_id:2,plaintext:2,encounter_method_pros:2,ani:[0,2],decreased_stat_id:2,generation_id:2,packag:[0,3],item_flag_id:2,seed:[0,2],have:[0,2,3],tabl:[0,1,2,4],need:[0,2,3],dream_abl:2,"null":2,location_id:2,moveflagmap:[2,4],species_id:2,engin:[0,3],relationship:[0,2],zero:0,inform:0,item_fling_effect_pros:2,accuraci:2,note:2,also:[0,2,3],without:2,super_contest_combo:2,take:2,which:2,hatch:2,pokemontyp:[2,4],min_turn:2,singl:2,maximum_stat:2,surf:2,blue:2,sure:3,unless:[0,2],distribut:3,normal:2,multipli:2,price:2,berry_flavor:2,ability_nam:2,canonical_pokedex_id:2,most:[0,2,3],pokemon_typ:2,pokemon_mov:2,diglett:0,letter:2,millimet:2,pair:2,nature_effect:2,"class":2,move_meta_categori:2,sub:2,pokemon_nam:2,don:[0,3],short_effect_map:2,won:3,dream:2,cover:0,uri:0,doe:[2,3],increased_stat_id:2,bracket:2,exp:2,super_contest_combo_prev:2,movemeta:[2,4],link:2,unchang:2,moveflag:[2,4],fact:2,gain:2,deoxi:2,charmeleon:0,likes_flavor:2,item_flavor_summari:2,text:[2,4],meloetta:0,type_efficaci:2,session:[0,3],moveeffectchangelog:[2,4],pokemonshap:[2,4],find:3,default_pokemon:2,slot:2,pokemon_form_nam:2,onli:[2,3],bind:0,locat:[2,4],pretti:3,pokemonspeci:[0,2,4],categor:2,configur:3,all_pokemon:2,enough:[2,3],should:[0,2,3],liking_natur:2,jam:2,combo:2,versiongrouppokemonmovemethod:[2,4],gametext:2,flinch:2,over:2,game_index:2,info:[0,2],hit:2,machine_numb:2,get:[0,1,2,3],location_nam:2,form_identifi:2,target_id:2,stathint:[2,4],bear:2,secondari:2,pocket:2,session_arg:0,cannot:2,foremost:0,ability_changelog_pros:2,increas:2,gen:2,requir:2,target:2,berry_id:2,item_pros:2,evolution_trigger_id:2,experi:[2,4],item_nam:2,organ:0,encounter_condition_value_pros:2,appears_underground:2,method:[0,2],encounter_method_id:2,twice:2,stuff:[2,4],common:[0,2],encounterconditionvalu:[2,4],contain:[0,2,3],abilitychangelog:[2,4],pokemon_speci:2,engine_arg:0,bought:2,where:2,natural_gift_type_id:2,summari:2,pokemon_color:2,set:[2,3],modulo:2,knowledg:3,startup:[1,3],displai:2,see:[0,2,3],fling_effect_id:2,version_group_id:2,sport:2,hammer:0,best:2,onc:0,target_type_id:2,statu:[2,3],brave:2,parent:2,expert:3,pokemon_id:2,sorta:2,databas:[0,1,2,3,4],encounter_condition_value_id:2,default_form:2,contest_typ:2,state:2,score:2,pokemonitem:[2,4],move_changelog:2,between:2,"import":0,version_group_pokemon_move_method:2,across:2,contest_combo:2,attribut:2,altern:2,anotherenv:3,naturebattlestyleprefer:[2,4],johto:2,kei:2,numer:2,attempt:0,exampl:[0,2],condit:[0,2],pokemoncolor:[2,4],extens:2,pokedex_index_dir:3,succeed:3,effect_map:2,pocket_id:2,pertain:2,meta_ailment_id:2,water:0,target_efficaci:2,move_nam:2,pokemon_form_pokeathlon_stat:2,area_id:2,relationship_info:[],region:[2,4],"pok\u00e9block":2,equal:2,foreign:2,base_stat:2,etc:2,tutori:0,pokemon_species_flavor_summari:2,itemflingeffect:[2,4],pokemon:[0,2,4],mani:[2,3],rariti:2,whole:2,clone:3,among:2,pokeathlon_stat_nam:2,markdown:[2,3],undocu:2,can:[0,2,3],color:2,had:2,contest_effect_pros:2,item_game_indic:2,written:3,differ:2,linux:3,cancel:2,all_abl:2,damag:2,quit:0,baby_trigger_item_id:2,itemflagmap:[2,4],pokedex_numb:2,second:2,major:[0,2],encounter_condition_pros:2,three:3,been:2,tutor:2,keldeo:0,trigger:2,contestcombo:[2,4],interest:3,basic:0,movemetastatchang:[2,4],quickli:2,pokedex_id:2,hoenn:2,ivysaur:0,sprite:2,both:2,persist:2,better_damage_class:2,great:0,some:[0,2,3],argument:0,item_flag_pros:2,togeth:2,els:2,eeve:[0,3],high_hp_prefer:2,present:2,movedamageclass:[2,4],"case":[2,3],nature_prefer:2,pokemon_form_gener:2,look:0,move_meta_ailment_nam:2,pokemon_habitat:2,straight:2,properti:2,empti:[2,3],encountermethod:[2,4],pokemon_move_method:2,defin:[0,2],calcul:2,match:0,behavior:2,pokemon_shape_pros:2,wild:2,decreas:2,iso3166:2,pokedex:[0,1,2,3,4],move_flavor_summari:2,location_game_indic:2,translation_class:2,almost:2,soil:2,max_hit:2,required_for_evolut:2,rip:2,activ:3,player:2,itself:2,move_target:2,pokemon_dex_numb:2,filter_bi:0,result:0,pokemonhabitat:[2,4],outdat:3,develop:3,berry_firmness_nam:2,author:3,perform:2,parti:2,make:[0,2,3],belong:2,amount:2,same:[2,3],mole:0,dex_numb:2,underground:2,document:[0,1,3],pal:2,higher:2,sell:2,ball:[0,2],pokedex_pros:2,battle_style_prefer:2,max_level:2,short_effect:2,pick:2,effect:2,second_move_id:2,move_flavor_text:2,rais:0,user:[2,3],has_gender_differ:2,countri:2,soil_dry:2,changed_in_version_group_id:2,move_meta_stat_chang:2,berryfirm:[2,4],move_id:2,techniqu:2,appropri:[0,2],super_contest_effect:2,machineri:2,contesteffect:[2,4],natural_gift_pow:2,"pok\u00e9mon":[0,2,3,4],com:3,thu:2,well:[2,3],effect_id:2,non:2,flinch_chanc:2,pokemon_move_method_id:2,command:3,item_categori:2,flame:2,maxmum:2,forms_switch:2,category_id:2,tast:2,mic:[2,4],battle_styl:2,usual:[0,2],load:[0,1,3],identifi:[0,2],munber:2,just:0,descrption:2,entri:2,rest:3,shape:2,pokemon_species_nam:2,move_effect_pros:2,pokemondexnumb:[2,4],part:2,pokemon_game_indic:2,flavor:[2,4],speed:2,shadow:2,languag:[0,2,3,4],characterist:2,hint:2,nullabl:2,point:2,sky:2,except:[0,2],add:2,held_item_id:2,move_damage_class:2,reason:3,"pok\u00e9athlon":2,smart:2,bin:3,applic:2,bicycl:2,pokemon_:2,format:0,read:0,big:3,palpark:[2,4],likes_flavor_id:2,veekun:3,form_nam:[0,2],is_default:2,move_flag:2,game:2,dimorph:2,world:2,bit:3,walk:2,typeefficaci:[2,4],desc:2,move_target_pros:2,supercontesteffect:[2,4],like:[0,1,2,3],specif:2,changelog:[2,4],pokemon_stat:2,integ:2,collect:2,either:[2,3],lose:2,evolutionchain:[2,4],anti:3,specifii:2,soft:2,page:1,encount:[2,4],right:1,old:2,often:2,habitat:2,snatchabl:2,meta:2,poffin:2,back:2,percentag:2,self:2,global:2,damage_type_id:2,intern:2,growth:2,shape_id:2,location_area:2,ailment_ch:2,librari:[0,1,3],gene_mod_5:2,base_happi:2,charmand:0,implement:[],pokemonegggroup:[2,4],item_category_pros:2,berri:[2,4],locationarea:[2,4],per:2,evolv:2,leav:3,contact:2,encounterslot:[2,4],damage_class_id:2,contest_effect:2,content:1,version_group_move_method:2,machin:[2,4],core:2,object:[0,2],run:[0,2,3],power:[0,2],"enum":[2,4],version_id:2,encounter_condition_id:2,party_speci:2,step:2,prerequisit:[1,3],evolves_from_species_id:2,post:2,"super":2,unicod:2,condition_valu:2,stage:2,chapter:3,comparison:[],about:[0,2,3],postgresql:3,movechangelog:[2,4],column:2,holdabl:2,zweilou:0,unfortun:3,percent:2,stat_chanc:2,egg_group:2,encounter_condit:2,constructor:[],move_damage_class_pros:2,produc:2,hatch_count:2,encounter_method:2,own:[2,3],pokemon_species_flavor_text:2,primarili:2,within:[0,2],ditto:2,increased_stat:2,evolutiontrigg:[2,4],contesttyp:[2,4],child_speci:2,pal_park_area:2,your:3,item_flag:2,move_meta_category_pros:2,unown:2,git:3,fill:0,pokemonformpokeathlonstat:[2,4],wai:2,area:2,support:2,captur:2,lone:2,growth_rate_pros:2,tame:2,stamina:2,start:0,reli:0,much:3,franchis:2,includ:[2,3],suit:2,call:[0,2],target_typ:2,fish:2,move_effect_changelog:2,lowest:2,introduced_in_version_group_id:2,location_area_encounter_r:2,evolved_species_id:2,form:2,latex:2,forc:2,stat_id:2,heal:2,encounterconditionvaluemap:[2,4],pokemonform:[2,4],low_hp_prefer:2,thi:[0,2,3],sqlalchemi:[0,2,3],recoil:2,translat:[2,3],offens:2,line:3,highest:2,"true":2,flavor_text:2,movebattlestyl:[2,4],count:2,iso639:2,max_chang:2,itemgameindex:[2,4],triggered_evolut:2,possibl:[2,3],whether:2,access:2,smooth:2,maximum:2,trade_species_id:2,growth_rate_id:2,record:2,below:2,taught:2,doc:0,mapped_class:2,otherwis:2,problem:3,grass:[0,2],similar:2,super_contest_effect_pros:2,super_contest_effect_id:2,firm:2,egg_group_pros:2,inflict:2,creat:[0,3],contest_combo_next:2,"int":2,generation_nam:2,"abstract":2,smoothli:3,changed_in:2,is_default_1:[],repres:2,pokemongameindex:[2,4],chanc:2,exist:[2,3],file:3,valu:2,pip:3,decreasing_natur:2,genderless:2,flavor_summari:2,check:3,pokemon_evolut:2,max_experience_obj:2,rainbow:0,encounter_map:2,know:[0,2,3],contest:[2,4],moveflavortext:[2,4],tenth:2,when:2,detail:[2,3],known_mov:2,"default":[0,2,3],bulbasaur:0,other:[0,2,3],bool:2,encounter_condition_valu:2,you:[0,2,3],first_move_id:2,capture_r:2,petal:0,max_turn:2,stat:[2,4],potion:0,intend:0,determin:2,dream_pokemon:2,last:2,main_region:2,location_area_id:2,affix:2,stat_identifi:2,meaning:2,releas:2,natural_gift_typ:2,kinda:2,sql:0,leaf:0,damage_efficaci:2,trade_speci:2,location_area_pros:2,night:2,femal:2,longer:2,directori:[0,3],debian:[1,3],descript:2,damage_factor:2,kilogram:2,contest_combo_prev:2,potenti:2,time:[2,3],fresh:0},objtypes:{"0":"py:module","1":"py:dex-table","2":"py:data","3":"py:attribute","4":"py:function","5":"py:method"},titles:["Using pokedex","The pokedex documentation","The pok\u00e9dex tables","Installing the pokedex library","The database schema"],objnames:{"0":["py","module","Python module"],"1":["py","dex-table","dex-table"],"2":["py","data","Python data"],"3":["py","attribute","Python attribute"],"4":["py","function","Python function"],"5":["py","method","Python method"]},filenames:["usage","index","main-tables","installing","schema"]}) \ No newline at end of file diff --git a/usage.html b/usage.html index 4730d77..a6a5b42 100644 --- a/usage.html +++ b/usage.html @@ -77,7 +77,7 @@ you’ll need to learn pokedex load fills up by default. If you need to select another database, give its URI as the first argument.

    The object connect() gives you is actually a -SQLAlchemy session, giving you the +SQLAlchemy session, giving you the full power of SQLAlchemy for working with the data. We’ll cover some basics here, but if you intend to do some serious work, do read SQLAlchemy’s docs.

    @@ -125,8 +125,8 @@ Fresh Water: $200

    Querying

    So, how do you get data from the session? You use the session’s -query() method, and give it a pokédex -Table as an argument. This will give you a SQLAlchemy query.

    +query() method, and give it a pokédex +Table as an argument. This will give you a SQLAlchemy query.

    Ordering

    As always with SQL, you should not rely on query results being in some @@ -163,8 +163,8 @@ Zweilous

    Filtering

    Another major operation on queries is filtering, using the query’s -filter() or -filter_by() methods:

    +filter() or +filter_by() methods:

    for move in session.query(tables.Move).filter(tables.Move.power > 200):
         print move.name
     
    @@ -176,7 +176,7 @@ Zweilous

    Joining

    The final operation we’ll cover here is joining other tables to the query, -using the query’s join(). +using the query’s join(). You will usually want to join on a relationship, such as in the following example:

    query = session.query(tables.Move)
    @@ -214,7 +214,7 @@ If you need to do more, consult the sqlalchemy.orm.session.Session for more documentation on the
    +

    See sqlalchemy.orm.session.Session for more documentation on the returned object.

    @@ -307,7 +307,7 @@ appropriate SQLAlchemy exception is raised.

    \ No newline at end of file
    +
    PalPark (mapped class) +
    + + +
    PalParkArea (mapped class) +
    + +
    PokeathlonStat (mapped class)
    @@ -433,12 +441,16 @@
    PokemonForm (mapped class)
    +
    + +
    PokemonFormGeneration (mapped class) +
    +
    PokemonFormPokeathlonStat (mapped class)
    -
    PokemonGameIndex (mapped class)
    @@ -550,6 +562,10 @@
    +
    VersionGroupPokemonMoveMethod (mapped class) +
    + +
    VersionGroupRegion (mapped class)
    @@ -596,7 +612,7 @@ \ No newline at end of file diff --git a/index.html b/index.html index cd35a03..e55966d 100644 --- a/index.html +++ b/index.html @@ -142,7 +142,7 @@ \ No newline at end of file diff --git a/installing.html b/installing.html index ea690f4..9798aec 100644 --- a/installing.html +++ b/installing.html @@ -250,7 +250,7 @@ use it, so naturally he can’t write instructions for it.