2011-11-18 23:36:39 +00:00
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2012-02-12 23:14:24 +00:00
2011-11-18 23:36:39 +00:00
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" / >
2012-02-12 23:14:24 +00:00
< title > The pokédex tables — pokedex 0.1 documentation< / title >
2011-11-18 23:36:39 +00:00
< link rel = "stylesheet" href = "_static/default.css" type = "text/css" / >
< link rel = "stylesheet" href = "_static/pygments.css" type = "text/css" / >
2012-02-12 23:14:24 +00:00
2011-11-18 23:36:39 +00:00
< script type = "text/javascript" >
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '',
VERSION: '0.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
< / script >
< script type = "text/javascript" src = "_static/jquery.js" > < / script >
< script type = "text/javascript" src = "_static/underscore.js" > < / script >
< script type = "text/javascript" src = "_static/doctools.js" > < / script >
2012-02-12 23:14:24 +00:00
< link rel = "top" title = "pokedex 0.1 documentation" href = "index.html" / >
2011-11-18 23:36:39 +00:00
< link rel = "up" title = "The database schema" href = "schema.html" / >
< link rel = "prev" title = "The database schema" href = "schema.html" / >
< / head >
< body >
< div class = "related" >
< h3 > Navigation< / h3 >
< ul >
< li class = "right" style = "margin-right: 10px" >
< a href = "genindex.html" title = "General Index"
accesskey="I">index< / a > < / li >
< li class = "right" >
< a href = "py-modindex.html" title = "Python Module Index"
>modules< / a > |< / li >
< li class = "right" >
< a href = "schema.html" title = "The database schema"
accesskey="P">previous< / a > |< / li >
2012-02-12 23:14:24 +00:00
< li > < a href = "index.html" > pokedex 0.1 documentation< / a > » < / li >
2011-11-18 23:36:39 +00:00
< li > < a href = "schema.html" accesskey = "U" > The database schema< / a > » < / li >
< / ul >
< / div >
< div class = "document" >
< div class = "documentwrapper" >
< div class = "bodywrapper" >
< div class = "body" >
< div class = "section" id = "module-pokedex.db.tables" >
< span id = "the-pokedex-tables" > < / span > < h1 > The pokédex tables< a class = "headerlink" href = "#module-pokedex.db.tables" title = "Permalink to this headline" > ¶< / a > < / h1 >
2012-02-12 23:14:24 +00:00
< p > The < a class = "reference internal" href = "#module-pokedex.db.tables" title = "pokedex.db.tables" > < tt class = "xref py py-mod docutils literal" > < span class = "pre" > pokedex.db.tables< / span > < / tt > < / a > module defines all of the tables in the Pokédex.
They are all defined with SQLAlchemy’ s
2012-06-09 07:19:53 +00:00
< a class = "reference external" href = "http://www.sqlalchemy.org/docs/orm/extensions/declarative.html#sqlalchemy.ext.declarative" title = "(in SQLAlchemy v0.7)" > < tt class = "xref py py-mod docutils literal" > < span class = "pre" > declarative< / span > < / tt > < / a > extension.< / p >
2012-02-12 23:14:24 +00:00
< p > To introspect the tables programmatically, you can use the following:< / p >
2011-11-18 23:36:39 +00:00
< dl class = "data" >
< dt id = "pokedex.db.tables.mapped_classes" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > mapped_classes< / tt > < a class = "headerlink" href = "#pokedex.db.tables.mapped_classes" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A list of all the classes you see below.< / p >
< / dd > < / dl >
2012-02-12 23:14:24 +00:00
< dl class = "data" >
< dt id = "pokedex.db.tables.metadata" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > metadata< / tt > < a class = "headerlink" href = "#pokedex.db.tables.metadata" title = "Permalink to this definition" > ¶< / a > < / dt >
2012-06-09 07:19:53 +00:00
< dd > < p > The SQLAlchemy < a class = "reference external" href = "http://www.sqlalchemy.org/docs/core/schema.html#sqlalchemy.schema.MetaData" title = "(in SQLAlchemy v0.7)" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MetaData< / span > < / tt > < / a > containing all the
2012-02-12 23:14:24 +00:00
tables.< / p >
< / dd > < / dl >
< p > Each of the classes has a < tt class = "docutils literal" > < span class = "pre" > translation_classes< / span > < / tt > attribute: a potentially
2011-11-18 23:36:39 +00:00
empty list of translation classes. See < tt class = "xref py py-mod docutils literal" > < span class = "pre" > pokedex.db.multilang< / span > < / tt > for how
these work.< / p >
< p > Many tables have these columns:< / p >
2012-02-12 23:14:24 +00:00
< ul class = "simple" >
< li > < strong > id< / strong > : An integer primary key. Sometimes it’ s semantically meaningful, most
often it isn’ t.< / li >
< li > < strong > identifier< / strong > : A string identifier of the class, and the preferred way to
access individual items.< / li >
< li > < strong > name< / strong > : A name (uses the multilang functionality)< / li >
2011-11-18 23:36:39 +00:00
< / ul >
< div class = "section" id = "pokemon" >
< h2 > Pokémon< a class = "headerlink" href = "#pokemon" title = "Permalink to this headline" > ¶< / a > < / h2 >
< div class = "section" id = "dex-table-pokemonspecies" >
< h3 > PokemonSpecies< a class = "headerlink" href = "#dex-table-pokemonspecies" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.PokemonSpecies" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > PokemonSpecies< / tt > < a class = "headerlink" href = "#pokedex.db.tables.PokemonSpecies" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A Pokémon species: the standard 1– 151. Or 649. Whatever.< / p >
< p > Table name: < em > pokemon_species< / em >
(single: < em > pokemon_species< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > pokemon_species_names< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > PokemonSpecies.< strong > generation< / strong > (generation_id → < a class = "reference internal" href = "#pokedex.db.tables.Generation" title = "pokedex.db.tables.Generation" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Generation< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the generation this species first appeared in< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonSpecies.< strong > evolves_from_species_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.PokemonSpecies" title = "pokedex.db.tables.PokemonSpecies" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonSpecies< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The species from which this one evolves< / div > < / blockquote >
< p > PokemonSpecies.< strong > evolution_chain< / strong > (evolution_chain_id → < a class = "reference internal" href = "#pokedex.db.tables.EvolutionChain" title = "pokedex.db.tables.EvolutionChain" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > EvolutionChain< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the species’ evolution chain (a.k.a. family)< / div > < / blockquote >
< p > PokemonSpecies.< strong > color< / strong > (color_id → < a class = "reference internal" href = "#pokedex.db.tables.PokemonColor" title = "pokedex.db.tables.PokemonColor" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonColor< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of this Pokémon’ s Pokédex color, as used for a gimmick search function in the games.< / div > < / blockquote >
< p > PokemonSpecies.< strong > shape< / strong > (shape_id → < a class = "reference internal" href = "#pokedex.db.tables.PokemonShape" title = "pokedex.db.tables.PokemonShape" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonShape< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of this Pokémon’ s body shape, as used for a gimmick search function in the games.< / div > < / blockquote >
< p > PokemonSpecies.< strong > habitat< / strong > (habitat_id → < a class = "reference internal" href = "#pokedex.db.tables.PokemonHabitat" title = "pokedex.db.tables.PokemonHabitat" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonHabitat< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of this Pokémon’ s habitat, as used for a gimmick search function in the games.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonSpecies.< strong > gender_rate< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The chance of this Pokémon being female, in eighths; or -1 for genderless< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonSpecies.< strong > capture_rate< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The base capture rate; up to 255< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonSpecies.< strong > base_happiness< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The tameness when caught by a normal ball< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonSpecies.< strong > is_baby< / strong > (< em > bool< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > True iff the Pokémon is a baby, i.e. a lowest-stage Pokémon that cannot breed but whose evolved form can.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonSpecies.< strong > hatch_counter< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Initial hatch counter: one must walk 255 × (hatch_counter + 1) steps before this Pokémon’ s egg hatches, unless utilizing bonuses like Flame Body’ s< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonSpecies.< strong > has_gender_differences< / strong > (< em > bool< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Set iff the species exhibits enough sexual dimorphism to have separate sets of sprites in Gen IV and beyond.< / div > < / blockquote >
< p > PokemonSpecies.< strong > growth_rate< / strong > (growth_rate_id → < a class = "reference internal" href = "#pokedex.db.tables.GrowthRate" title = "pokedex.db.tables.GrowthRate" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > GrowthRate< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the growth rate for this family< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonSpecies.< strong > forms_switchable< / strong > (< em > bool< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > True iff a particular individual of this species can switch beween its different forms.< / div > < / blockquote >
< hr > < p > Internationalized strings:< / p >
< p > PokemonSpecies.< strong > genus< / strong > (< em > unicode – plaintext< / em > ) via < em > pokemon_species_names< / em > < / p >
< blockquote >
< div > The short flavor text, such as “ Seed” or “ Lizard” ; usually affixed with the word “ Pokémon” < / div > < / blockquote >
< p > PokemonSpecies.< strong > flavor_summary< / strong > (< em > unicode – plaintext< / em > ) via < em > pokemon_species_flavor_summaries< / em > < / p >
< blockquote >
< div > Text containing facts from all flavor texts, for languages without official game translations< / div > < / blockquote >
< p > PokemonSpecies.< strong > form_description< / strong > (< em > unicode – markdown< / em > ) via < em > pokemon_species_prose< / em > < / p >
< blockquote >
< div > Description of how the forms work< / div > < / blockquote >
< hr > < p > Relationships:< / p >
2012-06-09 07:19:53 +00:00
< p > PokemonSpecies.< strong > child_species< / strong >
2012-02-12 23:14:24 +00:00
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonSpecies" title = "pokedex.db.tables.PokemonSpecies" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonSpecies< / span > < / tt > < / a > ])< / p >
< blockquote >
2012-06-09 07:19:53 +00:00
< div > The species to which this one evolves< / div > < / blockquote >
2012-02-12 23:14:24 +00:00
< p > PokemonSpecies.< strong > default_form< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.PokemonForm" title = "pokedex.db.tables.PokemonForm" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonForm< / span > < / tt > < / a > )< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-06-09 07:19:53 +00:00
< div > < p > A representative form of this species< / p >
< p > Association table: < tt class = "docutils literal" > < span class = "pre" > pokemon< / span > < / tt > < / p >
< / div > < / blockquote >
2012-02-12 23:14:24 +00:00
< p > PokemonSpecies.< strong > default_pokemon< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.Pokemon" title = "pokedex.db.tables.Pokemon" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Pokemon< / span > < / tt > < / a > )< / p >
< p > PokemonSpecies.< strong > dex_numbers< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonDexNumber" title = "pokedex.db.tables.PokemonDexNumber" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonDexNumber< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > pokemon_dex_numbers.pokedex_id< / span > < span class = "pre" > ASC< / span > < / tt > < / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< p > PokemonSpecies.< strong > egg_groups< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.EggGroup" title = "pokedex.db.tables.EggGroup" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > EggGroup< / span > < / tt > < / a > ])< / p >
2012-02-12 23:14:24 +00:00
< blockquote >
2012-06-09 07:19:53 +00:00
< div > < p > Association table: < tt class = "docutils literal" > < span class = "pre" > pokemon_egg_groups< / span > < / tt > < / p >
< p > Ordered by: < tt class = "docutils literal" > < span class = "pre" > pokemon_egg_groups.egg_group_id< / span > < span class = "pre" > ASC< / span > < / tt > < / p >
< / div > < / blockquote >
< p > PokemonSpecies.< strong > evolutions< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonEvolution" title = "pokedex.db.tables.PokemonEvolution" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonEvolution< / span > < / tt > < / a > ])< / p >
< p > PokemonSpecies.< strong > flavor_text< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonSpeciesFlavorText" title = "pokedex.db.tables.PokemonSpeciesFlavorText" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonSpeciesFlavorText< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > pokemon_species_flavor_text.version_id< / span > < span class = "pre" > ASC< / span > < / tt > < / div > < / blockquote >
< p > PokemonSpecies.< strong > forms< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonForm" title = "pokedex.db.tables.PokemonForm" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonForm< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > < p > Association table: < tt class = "docutils literal" > < span class = "pre" > pokemon< / span > < / tt > < / p >
< p > Ordered by: < tt class = "docutils literal" > < span class = "pre" > pokemon_forms." order" < / span > < span class = "pre" > ASC< / span > < / tt > , < tt class = "docutils literal" > < span class = "pre" > pokemon_forms.form_identifier< / span > < span class = "pre" > ASC< / span > < / tt > < / p >
< / div > < / blockquote >
< p > PokemonSpecies.< strong > pal_park< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.PalPark" title = "pokedex.db.tables.PalPark" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PalPark< / span > < / tt > < / a > )< / p >
< p > PokemonSpecies.< strong > parent_species< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.PokemonSpecies" title = "pokedex.db.tables.PokemonSpecies" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonSpecies< / span > < / tt > < / a > )< / p >
< blockquote >
< div > The species from which this one evolves< / div > < / blockquote >
2012-02-12 23:14:24 +00:00
< p > PokemonSpecies.< strong > pokemon< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Pokemon" title = "pokedex.db.tables.Pokemon" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Pokemon< / span > < / tt > < / a > ])< / p >
< p > PokemonSpecies.< strong > triggered_evolutions< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonEvolution" title = "pokedex.db.tables.PokemonEvolution" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonEvolution< / span > < / tt > < / a > ])< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-pokemon" >
< h3 > Pokemon< a class = "headerlink" href = "#dex-table-pokemon" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.Pokemon" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > Pokemon< / tt > < a class = "headerlink" href = "#pokedex.db.tables.Pokemon" title = "Permalink to this definition" > ¶< / a > < / dt >
2012-02-12 23:14:24 +00:00
< dd > < p > A Pokémon. The core to this whole mess.< / p >
< p > This table defines “ Pokémon” the same way the games do: a form with
different types, moves, or other game-changing properties counts as a
different Pokémon. For example, this table contains four rows for Deoxys,
but only one for Unown.< / p >
2011-11-18 23:36:39 +00:00
< p > Table name: < em > pokemon< / em >
(single: < em > pokemon< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > Pokemon.< strong > species< / strong > (species_id → < a class = "reference internal" href = "#pokedex.db.tables.PokemonSpecies" title = "pokedex.db.tables.PokemonSpecies" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonSpecies< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the species this Pokémon belongs to< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > Pokemon.< strong > height< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The height of the Pokémon, in decimeters (tenths of a meter)< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > Pokemon.< strong > weight< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The weight of the Pokémon, in tenths of a kilogram (decigrams)< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > Pokemon.< strong > base_experience< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The base EXP gained when defeating this Pokémon< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > Pokemon.< strong > order< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Order for sorting. Almost national order, except families are grouped together.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > Pokemon.< strong > is_default< / strong > (< em > bool< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Set for exactly one pokemon used as the default for each species.< / div > < / blockquote >
< hr > < p > Relationships:< / p >
2012-06-09 07:19:53 +00:00
< p > Pokemon.< strong > abilities< / strong >
2012-02-12 23:14:24 +00:00
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Ability" title = "pokedex.db.tables.Ability" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Ability< / span > < / tt > < / a > ])< / p >
< blockquote >
2012-06-09 07:19:53 +00:00
< div > < p > Abilities the Pokémon can have in the wild< / p >
< p > Association table: < tt class = "docutils literal" > < span class = "pre" > pokemon_abilities< / span > < / tt > < / p >
2012-02-12 23:14:24 +00:00
< p > Ordered by: < tt class = "docutils literal" > < span class = "pre" > pokemon_abilities.slot< / span > < span class = "pre" > ASC< / span > < / tt > < / p >
< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< p > Pokemon.< strong > all_abilities< / strong >
2012-02-12 23:14:24 +00:00
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Ability" title = "pokedex.db.tables.Ability" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Ability< / span > < / tt > < / a > ])< / p >
< blockquote >
2012-06-09 07:19:53 +00:00
< div > < p > All abilities the Pokémon can have, including the Hidden Ability< / p >
< p > Association table: < tt class = "docutils literal" > < span class = "pre" > pokemon_abilities< / span > < / tt > < / p >
2012-02-12 23:14:24 +00:00
< p > Ordered by: < tt class = "docutils literal" > < span class = "pre" > pokemon_abilities.slot< / span > < span class = "pre" > ASC< / span > < / tt > < / p >
< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< p > Pokemon.< strong > default_form< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.PokemonForm" title = "pokedex.db.tables.PokemonForm" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonForm< / span > < / tt > < / a > )< / p >
< blockquote >
< div > A representative form of this pokémon< / div > < / blockquote >
2012-02-12 23:14:24 +00:00
< p > Pokemon.< strong > dream_ability< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.Ability" title = "pokedex.db.tables.Ability" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Ability< / span > < / tt > < / a > )< / p >
< blockquote >
2012-06-09 07:19:53 +00:00
< div > < p > The Pokémon’ s Hidden Ability< / p >
< p > Association table: < tt class = "docutils literal" > < span class = "pre" > pokemon_abilities< / span > < / tt > < / p >
< / div > < / blockquote >
< p > Pokemon.< strong > encounters< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Encounter" title = "pokedex.db.tables.Encounter" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Encounter< / span > < / tt > < / a > ])< / p >
2012-02-12 23:14:24 +00:00
< p > Pokemon.< strong > forms< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonForm" title = "pokedex.db.tables.PokemonForm" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonForm< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > pokemon_forms." order" < / span > < span class = "pre" > ASC< / span > < / tt > , < tt class = "docutils literal" > < span class = "pre" > pokemon_forms.form_identifier< / span > < span class = "pre" > ASC< / span > < / tt > < / div > < / blockquote >
< p > Pokemon.< strong > items< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonItem" title = "pokedex.db.tables.PokemonItem" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonItem< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Info about items this pokémon holds in the wild< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< p > Pokemon.< strong > pokemon_moves< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonMove" title = "pokedex.db.tables.PokemonMove" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonMove< / span > < / tt > < / a > ])< / p >
2012-02-12 23:14:24 +00:00
< p > Pokemon.< strong > stats< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonStat" title = "pokedex.db.tables.PokemonStat" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonStat< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > pokemon_stats.stat_id< / span > < span class = "pre" > ASC< / span > < / tt > < / div > < / blockquote >
< p > Pokemon.< strong > types< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Type" title = "pokedex.db.tables.Type" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Type< / span > < / tt > < / a > ])< / p >
< blockquote >
2012-06-09 07:19:53 +00:00
< div > < p > Association table: < tt class = "docutils literal" > < span class = "pre" > pokemon_types< / span > < / tt > < / p >
< p > Ordered by: < tt class = "docutils literal" > < span class = "pre" > pokemon_types.slot< / span > < span class = "pre" > ASC< / span > < / tt > < / p >
< / div > < / blockquote >
2012-02-12 23:14:24 +00:00
< hr > < dl class = "attribute" >
< dt id = "pokedex.db.tables.Pokemon.better_damage_class" >
< tt class = "descname" > better_damage_class< / tt > < a class = "headerlink" href = "#pokedex.db.tables.Pokemon.better_damage_class" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Returns the MoveDamageClass that this Pokémon is best suited for,
based on its attack stats.< / p >
< p > If the attack stats are about equal (within 5), returns None. The
value None, not the damage class called ‘ None’ .< / p >
< / dd > < / dl >
< dl class = "attribute" >
< dt id = "pokedex.db.tables.Pokemon.name" >
< tt class = "descname" > name< / tt > < a class = "headerlink" href = "#pokedex.db.tables.Pokemon.name" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Returns a name for this Pokémon, specifiying the form iff it
represents a specific PokemonForm.< / p >
< / dd > < / dl >
< dl class = "method" >
< dt id = "pokedex.db.tables.Pokemon.stat" >
< tt class = "descname" > stat< / tt > < big > (< / big > < em > stat_identifier< / em > < big > )< / big > < a class = "headerlink" href = "#pokedex.db.tables.Pokemon.stat" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Returns a PokemonStat record for the given stat name (or Stat row
object). Uses the normal has-many machinery, so all the stats are
effectively cached.< / p >
< / dd > < / dl >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-pokemonform" >
< h3 > PokemonForm< a class = "headerlink" href = "#dex-table-pokemonform" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.PokemonForm" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > PokemonForm< / tt > < a class = "headerlink" href = "#pokedex.db.tables.PokemonForm" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > An individual form of a Pokémon. This includes < em > every< / em > variant (except
2012-02-12 23:14:24 +00:00
color differences) of every Pokémon, regardless of how the games treat
them. Even Pokémon with no alternate forms have one row in this table, to
represent their lone “ normal” form.< / p >
2011-11-18 23:36:39 +00:00
< p > Table name: < em > pokemon_forms< / em >
(single: < em > pokemon_form< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
2011-11-18 23:36:39 +00:00
< p > PokemonForm.< strong > form_identifier< / strong > (< em > unicode – identifier< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > An identifier of the form, uniue among a species. May be None for the default form of the species.< / div > < / blockquote >
< p > PokemonForm.< strong > pokemon< / strong > (pokemon_id → < a class = "reference internal" href = "#pokedex.db.tables.Pokemon" title = "pokedex.db.tables.Pokemon" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Pokemon< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the base Pokémon for this form.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonForm.< strong > introduced_in_version_group_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.VersionGroup" title = "pokedex.db.tables.VersionGroup" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroup< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the version group in which this form first appeared.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonForm.< strong > is_default< / strong > (< em > bool< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Set for exactly one form used as the default for each pokemon (not necessarily species).< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonForm.< strong > is_battle_only< / strong > (< em > bool< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Set iff the form can only appear in battle.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonForm.< strong > order< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The order in which forms should be sorted. Multiple forms may have equal order, in which case they should fall back on sorting by name.< / div > < / blockquote >
< hr > < p > Internationalized strings:< / p >
< p > PokemonForm.< strong > form_name< / strong > (< em > unicode – plaintext< / em > ) via < em > pokemon_form_names< / em > < / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The full form name, e.g. ‘ Sky Forme’ , for pokémon with different forms< / div > < / blockquote >
< p > PokemonForm.< strong > pokemon_name< / strong > (< em > unicode – plaintext< / em > ) via < em > pokemon_form_names< / em > < / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The full pokémon name, e.g. ‘ Sky Shaymin’ , for pokémon with different forms< / div > < / blockquote >
< hr > < p > Relationships:< / p >
< p > PokemonForm.< strong > pokeathlon_stats< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonFormPokeathlonStat" title = "pokedex.db.tables.PokemonFormPokeathlonStat" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonFormPokeathlonStat< / span > < / tt > < / a > ])< / p >
< blockquote >
2012-06-09 07:19:53 +00:00
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > pokemon_form_pokeathlon_stats.pokeathlon_stat_id< / span > < / tt > < / div > < / blockquote >
< p > PokemonForm.< strong > pokemon_form_generations< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonFormGeneration" title = "pokedex.db.tables.PokemonFormGeneration" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonFormGeneration< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > pokemon_form_generations.generation_id< / span > < / tt > < / div > < / blockquote >
< p > PokemonForm.< strong > version_group< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.VersionGroup" title = "pokedex.db.tables.VersionGroup" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroup< / span > < / tt > < / a > )< / p >
< hr > < p > Association Proxies:< / p >
< p > PokemonForm.< strong > species< / strong > :
< tt class = "docutils literal" > < span class = "pre" > species< / span > < / tt > of < tt class = "docutils literal" > < span class = "pre" > self.pokemon< / span > < / tt > < / p >
2012-02-12 23:14:24 +00:00
< hr > < dl class = "attribute" >
< dt id = "pokedex.db.tables.PokemonForm.name" >
< tt class = "descname" > name< / tt > < a class = "headerlink" href = "#pokedex.db.tables.PokemonForm.name" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Name of this form: the form_name, if set; otherwise the species name< / p >
< / dd > < / dl >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-evolutionchain" >
< h3 > EvolutionChain< a class = "headerlink" href = "#dex-table-evolutionchain" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.EvolutionChain" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > EvolutionChain< / tt > < a class = "headerlink" href = "#pokedex.db.tables.EvolutionChain" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A family of Pokémon that are linked by evolution< / p >
< p > Table name: < em > evolution_chains< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > EvolutionChain.< strong > baby_trigger_item< / strong > (baby_trigger_item_id → < a class = "reference internal" href = "#pokedex.db.tables.Item" title = "pokedex.db.tables.Item" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Item< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Item that a parent must hold while breeding to produce a baby< / div > < / blockquote >
< hr > < p > Relationships:< / p >
< p > EvolutionChain.< strong > species< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonSpecies" title = "pokedex.db.tables.PokemonSpecies" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonSpecies< / span > < / tt > < / a > ])< / p >
2012-06-09 07:19:53 +00:00
< blockquote >
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > pokemon_species.id< / span > < span class = "pre" > ASC< / span > < / tt > < / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-pokemonevolution" >
< h3 > PokemonEvolution< a class = "headerlink" href = "#dex-table-pokemonevolution" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.PokemonEvolution" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > PokemonEvolution< / tt > < a class = "headerlink" href = "#pokedex.db.tables.PokemonEvolution" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A required action (“ trigger” ) and the conditions under which the trigger
2012-02-12 23:14:24 +00:00
must occur to cause a Pokémon to evolve.< / p >
< p > Any condition may be null if it does not apply for a particular Pokémon.< / p >
2011-11-18 23:36:39 +00:00
< p > Table name: < em > pokemon_evolution< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > PokemonEvolution.< strong > evolved_species< / strong > (evolved_species_id → < a class = "reference internal" href = "#pokedex.db.tables.PokemonSpecies" title = "pokedex.db.tables.PokemonSpecies" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonSpecies< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the post-evolution species.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonEvolution.< strong > evolution_trigger_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.EvolutionTrigger" title = "pokedex.db.tables.EvolutionTrigger" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > EvolutionTrigger< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the evolution trigger.< / div > < / blockquote >
< p > PokemonEvolution.< strong > trigger_item< / strong > (trigger_item_id → < a class = "reference internal" href = "#pokedex.db.tables.Item" title = "pokedex.db.tables.Item" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Item< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the item that must be used on the Pokémon.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonEvolution.< strong > minimum_level< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The minimum level for the Pokémon.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonEvolution.< strong > gender< / strong > (< em > enum: [male, female]< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The Pokémon’ s required gender, or None if gender doesn’ t matter< / div > < / blockquote >
< p > PokemonEvolution.< strong > location< / strong > (location_id → < a class = "reference internal" href = "#pokedex.db.tables.Location" title = "pokedex.db.tables.Location" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Location< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the location the evolution must be triggered at.< / div > < / blockquote >
< p > PokemonEvolution.< strong > held_item< / strong > (held_item_id → < a class = "reference internal" href = "#pokedex.db.tables.Item" title = "pokedex.db.tables.Item" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Item< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the item the Pokémon must hold.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonEvolution.< strong > time_of_day< / strong > (< em > enum: [day, night]< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The required time of day.< / div > < / blockquote >
< p > PokemonEvolution.< strong > known_move< / strong > (known_move_id → < a class = "reference internal" href = "#pokedex.db.tables.Move" title = "pokedex.db.tables.Move" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Move< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the move the Pokémon must know.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonEvolution.< strong > minimum_happiness< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The minimum happiness value the Pokémon must have.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonEvolution.< strong > minimum_beauty< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The minimum Beauty value the Pokémon must have.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonEvolution.< strong > relative_physical_stats< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The required relation between the Pokémon’ s Attack and Defense stats, as sgn(atk-def).< / div > < / blockquote >
< p > PokemonEvolution.< strong > party_species< / strong > (party_species_id → < a class = "reference internal" href = "#pokedex.db.tables.PokemonSpecies" title = "pokedex.db.tables.PokemonSpecies" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonSpecies< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the species that must be present in the party.< / div > < / blockquote >
< p > PokemonEvolution.< strong > trade_species< / strong > (trade_species_id → < a class = "reference internal" href = "#pokedex.db.tables.PokemonSpecies" title = "pokedex.db.tables.PokemonSpecies" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonSpecies< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the species for which this one must be traded.< / div > < / blockquote >
< hr > < p > Relationships:< / p >
< p > PokemonEvolution.< strong > trigger< / strong >
2012-06-09 07:19:53 +00:00
(→ < a class = "reference internal" href = "#pokedex.db.tables.EvolutionTrigger" title = "pokedex.db.tables.EvolutionTrigger" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > EvolutionTrigger< / span > < / tt > < / a > )< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< / div >
< div class = "section" id = "moves" >
< h2 > Moves< a class = "headerlink" href = "#moves" title = "Permalink to this headline" > ¶< / a > < / h2 >
< div class = "section" id = "dex-table-move" >
< h3 > Move< a class = "headerlink" href = "#dex-table-move" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.Move" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > Move< / tt > < a class = "headerlink" href = "#pokedex.db.tables.Move" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A Move: technique or attack a Pokémon can learn to use< / p >
< p > Table name: < em > moves< / em >
(single: < em > move< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > move_names< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > Move.< strong > generation< / strong > (generation_id → < a class = "reference internal" href = "#pokedex.db.tables.Generation" title = "pokedex.db.tables.Generation" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Generation< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the generation this move first appeared in< / div > < / blockquote >
< p > Move.< strong > type< / strong > (type_id → < a class = "reference internal" href = "#pokedex.db.tables.Type" title = "pokedex.db.tables.Type" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Type< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the move’ s elemental type< / div > < / blockquote >
< p > Move.< strong > power< / strong > (< em > int< / em > ):< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Base power of the move< / div > < / blockquote >
< p > Move.< strong > pp< / strong > (< em > int< / em > ):< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Base PP (Power Points) of the move, nullable if not applicable (e.g. Struggle and Shadow moves).< / div > < / blockquote >
< p > Move.< strong > accuracy< / strong > (< em > int< / em > ):< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Accuracy of the move; NULL means it never misses< / div > < / blockquote >
< p > Move.< strong > priority< / strong > (< em > int< / em > ):< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The move’ s priority bracket< / div > < / blockquote >
< p > Move.< strong > target< / strong > (target_id → < a class = "reference internal" href = "#pokedex.db.tables.MoveTarget" title = "pokedex.db.tables.MoveTarget" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveTarget< / span > < / tt > < / a > .id)< / p >
< blockquote >
< div > ID of the target (range) of the move< / div > < / blockquote >
< p > Move.< strong > damage_class< / strong > (damage_class_id → < a class = "reference internal" href = "#pokedex.db.tables.MoveDamageClass" title = "pokedex.db.tables.MoveDamageClass" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveDamageClass< / span > < / tt > < / a > .id)< / p >
< blockquote >
< div > ID of the damage class (physical/special) of the move< / div > < / blockquote >
< p > Move.< strong > effect< / strong > (effect_id → < a class = "reference internal" href = "#pokedex.db.tables.MoveEffect" title = "pokedex.db.tables.MoveEffect" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveEffect< / span > < / tt > < / a > .id)< / p >
< blockquote >
< div > ID of the move’ s effect< / div > < / blockquote >
< p > Move.< strong > effect_chance< / strong > (< em > int< / em > ):< / p >
< blockquote >
< div > The chance for a secondary effect. What this is a chance of is specified by the move’ s effect.< / div > < / blockquote >
< p > Move.< strong > contest_type< / strong > (contest_type_id → < a class = "reference internal" href = "#pokedex.db.tables.ContestType" title = "pokedex.db.tables.ContestType" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > ContestType< / span > < / tt > < / a > .id)< / p >
< blockquote >
< div > ID of the move’ s Contest type (e.g. cool or smart)< / div > < / blockquote >
< p > Move.< strong > contest_effect< / strong > (contest_effect_id → < a class = "reference internal" href = "#pokedex.db.tables.ContestEffect" title = "pokedex.db.tables.ContestEffect" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > ContestEffect< / span > < / tt > < / a > .id)< / p >
< blockquote >
< div > ID of the move’ s Contest effect< / div > < / blockquote >
< p > Move.< strong > super_contest_effect< / strong > (super_contest_effect_id → < a class = "reference internal" href = "#pokedex.db.tables.SuperContestEffect" title = "pokedex.db.tables.SuperContestEffect" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > SuperContestEffect< / span > < / tt > < / a > .id)< / p >
< blockquote >
< div > ID of the move’ s Super Contest effect< / div > < / blockquote >
< hr > < p > Internationalized strings:< / p >
< p > Move.< strong > flavor_summary< / strong > (< em > unicode – plaintext< / em > ) via < em > move_flavor_summaries< / em > < / p >
< blockquote >
< div > Text containing facts from all flavor texts, for languages without official game translations< / div > < / blockquote >
< hr > < p > Relationships:< / p >
2012-06-09 07:19:53 +00:00
< p > Move.< strong > changelog< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.MoveChangelog" title = "pokedex.db.tables.MoveChangelog" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveChangelog< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > move_changelog.changed_in_version_group_id< / span > < span class = "pre" > DESC< / span > < / tt > < / div > < / blockquote >
< p > Move.< strong > contest_combo_first< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.ContestCombo" title = "pokedex.db.tables.ContestCombo" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > ContestCombo< / span > < / tt > < / a > ])< / p >
< p > Move.< strong > contest_combo_second< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.ContestCombo" title = "pokedex.db.tables.ContestCombo" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > ContestCombo< / span > < / tt > < / a > ])< / p >
< p > Move.< strong > flavor_text< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.MoveFlavorText" title = "pokedex.db.tables.MoveFlavorText" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveFlavorText< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > move_flavor_text.version_group_id< / span > < / tt > < / div > < / blockquote >
< p > Move.< strong > machines< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Machine" title = "pokedex.db.tables.Machine" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Machine< / span > < / tt > < / a > ])< / p >
< p > Move.< strong > meta< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.MoveMeta" title = "pokedex.db.tables.MoveMeta" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveMeta< / span > < / tt > < / a > )< / p >
< p > Move.< strong > meta_stat_changes< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.MoveMetaStatChange" title = "pokedex.db.tables.MoveMetaStatChange" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveMetaStatChange< / span > < / tt > < / a > ])< / p >
< p > Move.< strong > move_effect< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.MoveEffect" title = "pokedex.db.tables.MoveEffect" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveEffect< / span > < / tt > < / a > )< / p >
< p > Move.< strong > move_flags< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.MoveFlagMap" title = "pokedex.db.tables.MoveFlagMap" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveFlagMap< / span > < / tt > < / a > ])< / p >
2012-02-12 23:14:24 +00:00
< p > Move.< strong > pokemon_moves< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonMove" title = "pokedex.db.tables.PokemonMove" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonMove< / span > < / tt > < / a > ])< / p >
2012-06-09 07:19:53 +00:00
< p > Move.< strong > super_contest_combo_first< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.SuperContestCombo" title = "pokedex.db.tables.SuperContestCombo" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > SuperContestCombo< / span > < / tt > < / a > ])< / p >
< p > Move.< strong > super_contest_combo_second< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.SuperContestCombo" title = "pokedex.db.tables.SuperContestCombo" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > SuperContestCombo< / span > < / tt > < / a > ])< / p >
2012-02-12 23:14:24 +00:00
< p > Move.< strong > triggered_evolutions< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonEvolution" title = "pokedex.db.tables.PokemonEvolution" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonEvolution< / span > < / tt > < / a > ])< / p >
2012-06-09 07:19:53 +00:00
< hr > < p > Association Proxies:< / p >
< p > Move.< strong > contest_combo_next< / strong > :
< tt class = "docutils literal" > < span class = "pre" > second< / span > < / tt > of < tt class = "docutils literal" > < span class = "pre" > self.contest_combo_first< / span > < / tt > < / p >
< p > Move.< strong > contest_combo_prev< / strong > :
< tt class = "docutils literal" > < span class = "pre" > first< / span > < / tt > of < tt class = "docutils literal" > < span class = "pre" > self.contest_combo_second< / span > < / tt > < / p >
< p > Move.< strong > flags< / strong > :
< tt class = "docutils literal" > < span class = "pre" > flag< / span > < / tt > of < tt class = "docutils literal" > < span class = "pre" > self.move_flags< / span > < / tt > < / p >
< p > Move.< strong > super_contest_combo_next< / strong > :
< tt class = "docutils literal" > < span class = "pre" > second< / span > < / tt > of < tt class = "docutils literal" > < span class = "pre" > self.super_contest_combo_first< / span > < / tt > < / p >
< p > Move.< strong > super_contest_combo_prev< / strong > :
< tt class = "docutils literal" > < span class = "pre" > first< / span > < / tt > of < tt class = "docutils literal" > < span class = "pre" > self.super_contest_combo_second< / span > < / tt > < / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Undocumented:< / p >
< p > Move.< strong > effect_map< / strong > < / p >
< p > Move.< strong > short_effect< / strong > < / p >
< p > Move.< strong > short_effect_map< / strong > < / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-moveeffect" >
< h3 > MoveEffect< a class = "headerlink" href = "#dex-table-moveeffect" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.MoveEffect" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > MoveEffect< / tt > < a class = "headerlink" href = "#pokedex.db.tables.MoveEffect" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > An effect of a move< / p >
< p > Table name: < em > move_effects< / em >
(single: < em > move_effect< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Internationalized strings:< / p >
< p > MoveEffect.< strong > short_effect< / strong > (< em > unicode – markdown< / em > ) via < em > move_effect_prose< / em > < / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > A short summary of the effect< / div > < / blockquote >
< p > MoveEffect.< strong > effect< / strong > (< em > unicode – markdown< / em > ) via < em > move_effect_prose< / em > < / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > A detailed description of the effect< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > MoveEffect.< strong > changelog< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.MoveEffectChangelog" title = "pokedex.db.tables.MoveEffectChangelog" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveEffectChangelog< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > move_effect_changelog.changed_in_version_group_id< / span > < span class = "pre" > DESC< / span > < / tt > < / div > < / blockquote >
< p > MoveEffect.< strong > move_changelog< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.MoveChangelog" title = "pokedex.db.tables.MoveChangelog" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveChangelog< / span > < / tt > < / a > ])< / p >
< p > MoveEffect.< strong > moves< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Move" title = "pokedex.db.tables.Move" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Move< / span > < / tt > < / a > ])< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-movemeta" >
< h3 > MoveMeta< a class = "headerlink" href = "#dex-table-movemeta" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.MoveMeta" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > MoveMeta< / tt > < a class = "headerlink" href = "#pokedex.db.tables.MoveMeta" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Metadata for move effects, sorta-kinda ripped straight from the game< / p >
< p > Table name: < em > move_meta< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > move_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > MoveMeta.< strong > move< / strong > (move_id → < a class = "reference internal" href = "#pokedex.db.tables.Move" title = "pokedex.db.tables.Move" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Move< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > A numeric ID< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > MoveMeta.< strong > meta_category_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.MoveMetaCategory" title = "pokedex.db.tables.MoveMetaCategory" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveMetaCategory< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the move category< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > MoveMeta.< strong > meta_ailment_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.MoveMetaAilment" title = "pokedex.db.tables.MoveMetaAilment" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveMetaAilment< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the caused ailment< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > MoveMeta.< strong > min_hits< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Minimum number of hits per use< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > MoveMeta.< strong > max_hits< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Maximum number of hits per use< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > MoveMeta.< strong > min_turns< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Minimum number of turns the user is forced to use the move< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > MoveMeta.< strong > max_turns< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Maximum number of turns the user is forced to use the move< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > MoveMeta.< strong > recoil< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Recoil damage, in percent of damage done< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > MoveMeta.< strong > healing< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Healing, in percent of user’ s max HP< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > MoveMeta.< strong > crit_rate< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Critical hit rate bonus< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > MoveMeta.< strong > ailment_chance< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Chance to cause an ailment, in percent< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > MoveMeta.< strong > flinch_chance< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Chance to cause flinching, in percent< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > MoveMeta.< strong > stat_chance< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Chance to cause a stat change, in percent< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > MoveMeta.< strong > ailment< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.MoveMetaAilment" title = "pokedex.db.tables.MoveMetaAilment" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveMetaAilment< / span > < / tt > < / a > )< / p >
< p > MoveMeta.< strong > category< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.MoveMetaCategory" title = "pokedex.db.tables.MoveMetaCategory" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveMetaCategory< / span > < / tt > < / a > )< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< / div >
< div class = "section" id = "items" >
< h2 > Items< a class = "headerlink" href = "#items" title = "Permalink to this headline" > ¶< / a > < / h2 >
< div class = "section" id = "dex-table-item" >
< h3 > Item< a class = "headerlink" href = "#dex-table-item" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.Item" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > Item< / tt > < a class = "headerlink" href = "#pokedex.db.tables.Item" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > An Item from the games, like “ Poké Ball” or “ Bicycle” .< / p >
< p > Table name: < em > items< / em >
(single: < em > item< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > item_names< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > Item.< strong > category< / strong > (category_id → < a class = "reference internal" href = "#pokedex.db.tables.ItemCategory" title = "pokedex.db.tables.ItemCategory" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > ItemCategory< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of a category this item belongs to< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > Item.< strong > cost< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Cost of the item when bought. Items sell for half this price.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > Item.< strong > fling_power< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Power of the move Fling when used with this item.< / div > < / blockquote >
< p > Item.< strong > fling_effect< / strong > (fling_effect_id → < a class = "reference internal" href = "#pokedex.db.tables.ItemFlingEffect" title = "pokedex.db.tables.ItemFlingEffect" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > ItemFlingEffect< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the fling-effect of the move Fling when used with this item. Note that these are different from move effects.< / div > < / blockquote >
< hr > < p > Internationalized strings:< / p >
< p > Item.< strong > short_effect< / strong > (< em > unicode – markdown< / em > ) via < em > item_prose< / em > < / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > A short summary of the effect< / div > < / blockquote >
< p > Item.< strong > effect< / strong > (< em > unicode – markdown< / em > ) via < em > item_prose< / em > < / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Detailed description of the item’ s effect.< / div > < / blockquote >
< p > Item.< strong > flavor_summary< / strong > (< em > unicode – plaintext< / em > ) via < em > item_flavor_summaries< / em > < / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Text containing facts from all flavor texts, for languages without official game translations< / div > < / blockquote >
< hr > < p > Relationships:< / p >
2012-06-09 07:19:53 +00:00
< p > Item.< strong > berry< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.Berry" title = "pokedex.db.tables.Berry" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Berry< / span > < / tt > < / a > )< / p >
< p > Item.< strong > evolution_chains< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.EvolutionChain" title = "pokedex.db.tables.EvolutionChain" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > EvolutionChain< / span > < / tt > < / a > ])< / p >
< p > Item.< strong > flags< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.ItemFlag" title = "pokedex.db.tables.ItemFlag" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > ItemFlag< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Association table: < tt class = "docutils literal" > < span class = "pre" > item_flag_map< / span > < / tt > < / div > < / blockquote >
< p > Item.< strong > flavor_text< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.ItemFlavorText" title = "pokedex.db.tables.ItemFlavorText" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > ItemFlavorText< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > item_flavor_text.version_group_id< / span > < span class = "pre" > ASC< / span > < / tt > < / div > < / blockquote >
< p > Item.< strong > game_indices< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.ItemGameIndex" title = "pokedex.db.tables.ItemGameIndex" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > ItemGameIndex< / span > < / tt > < / a > ])< / p >
< p > Item.< strong > machines< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Machine" title = "pokedex.db.tables.Machine" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Machine< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > machines.version_group_id< / span > < span class = "pre" > ASC< / span > < / tt > < / div > < / blockquote >
< p > Item.< strong > pokemon< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonItem" title = "pokedex.db.tables.PokemonItem" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonItem< / span > < / tt > < / a > ])< / p >
2012-02-12 23:14:24 +00:00
< p > Item.< strong > required_for_evolutions< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonEvolution" title = "pokedex.db.tables.PokemonEvolution" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonEvolution< / span > < / tt > < / a > ])< / p >
< p > Item.< strong > triggered_evolutions< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonEvolution" title = "pokedex.db.tables.PokemonEvolution" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonEvolution< / span > < / tt > < / a > ])< / p >
2012-06-09 07:19:53 +00:00
< hr > < p > Association Proxies:< / p >
< p > Item.< strong > pocket< / strong > :
< tt class = "docutils literal" > < span class = "pre" > pocket< / span > < / tt > of < tt class = "docutils literal" > < span class = "pre" > self.category< / span > < / tt > < / p >
2012-02-12 23:14:24 +00:00
< hr > < dl class = "attribute" >
< dt id = "pokedex.db.tables.Item.appears_underground" >
< tt class = "descname" > appears_underground< / tt > < a class = "headerlink" href = "#pokedex.db.tables.Item.appears_underground" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > True if the item appears underground, as specified by the appropriate flag< / p >
< / dd > < / dl >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-berry" >
< h3 > Berry< a class = "headerlink" href = "#dex-table-berry" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.Berry" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > Berry< / tt > < a class = "headerlink" href = "#pokedex.db.tables.Berry" title = "Permalink to this definition" > ¶< / a > < / dt >
2012-02-12 23:14:24 +00:00
< dd > < p > A Berry, consumable item that grows on trees< / p >
< p > For data common to all items, such as the name, see the corresponding item entry.< / p >
2011-11-18 23:36:39 +00:00
< p > Table name: < em > berries< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > Berry.< strong > item< / strong > (item_id → < a class = "reference internal" href = "#pokedex.db.tables.Item" title = "pokedex.db.tables.Item" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Item< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the item that represents this Berry< / div > < / blockquote >
< p > Berry.< strong > firmness< / strong > (firmness_id → < a class = "reference internal" href = "#pokedex.db.tables.BerryFirmness" title = "pokedex.db.tables.BerryFirmness" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > BerryFirmness< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of this Berry’ s firmness category< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > Berry.< strong > natural_gift_power< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Natural Gift’ s power when used with this Berry< / div > < / blockquote >
< p > Berry.< strong > natural_gift_type< / strong > (natural_gift_type_id → < a class = "reference internal" href = "#pokedex.db.tables.Type" title = "pokedex.db.tables.Type" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Type< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the Type that Natural Gift has when used with this Berry< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > Berry.< strong > size< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The size of this Berry, in millimeters< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > Berry.< strong > max_harvest< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The maximum number of these berries that can grow on one tree in Generation IV< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > Berry.< strong > growth_time< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Time it takes the tree to grow one stage, in hours. Berry trees go through four of these growth stages before they can be picked.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > Berry.< strong > soil_dryness< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The speed at which this Berry dries out the soil as it grows. A higher rate means the soil dries more quickly.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > Berry.< strong > smoothness< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The smoothness of this Berry, used in making Pokéblocks or Poffins< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > Berry.< strong > berry_firmness< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.BerryFirmness" title = "pokedex.db.tables.BerryFirmness" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > BerryFirmness< / span > < / tt > < / a > )< / p >
< p > Berry.< strong > flavors< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.BerryFlavor" title = "pokedex.db.tables.BerryFlavor" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > BerryFlavor< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > berry_flavors.contest_type_id< / span > < / tt > < / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< / div >
< div class = "section" id = "types" >
< h2 > Types< a class = "headerlink" href = "#types" title = "Permalink to this headline" > ¶< / a > < / h2 >
< div class = "section" id = "dex-table-type" >
< h3 > Type< a class = "headerlink" href = "#dex-table-type" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.Type" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > Type< / tt > < a class = "headerlink" href = "#pokedex.db.tables.Type" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Any of the elemental types Pokémon and moves can have.< / p >
< p > Table name: < em > types< / em >
(single: < em > type< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > type_names< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > Type.< strong > generation< / strong > (generation_id → < a class = "reference internal" href = "#pokedex.db.tables.Generation" title = "pokedex.db.tables.Generation" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Generation< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the generation this type first appeared in.< / div > < / blockquote >
< p > Type.< strong > damage_class< / strong > (damage_class_id → < a class = "reference internal" href = "#pokedex.db.tables.MoveDamageClass" title = "pokedex.db.tables.MoveDamageClass" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveDamageClass< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the damage class this type’ s moves had before Generation IV, null if not applicable (e.g. ???).< / div > < / blockquote >
< hr > < p > Relationships:< / p >
2012-06-09 07:19:53 +00:00
< p > Type.< strong > damage_efficacies< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.TypeEfficacy" title = "pokedex.db.tables.TypeEfficacy" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > TypeEfficacy< / span > < / tt > < / a > ])< / p >
< p > Type.< strong > move_changelog< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.MoveChangelog" title = "pokedex.db.tables.MoveChangelog" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveChangelog< / span > < / tt > < / a > ])< / p >
< p > Type.< strong > moves< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Move" title = "pokedex.db.tables.Move" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Move< / span > < / tt > < / a > ])< / p >
2012-02-12 23:14:24 +00:00
< p > Type.< strong > pokemon< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Pokemon" title = "pokedex.db.tables.Pokemon" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Pokemon< / span > < / tt > < / a > ])< / p >
2012-06-09 07:19:53 +00:00
< blockquote >
< div > < p > Association table: < tt class = "docutils literal" > < span class = "pre" > pokemon_types< / span > < / tt > < / p >
< p > Ordered by: < tt class = "docutils literal" > < span class = "pre" > pokemon.order< / span > < / tt > < / p >
< / div > < / blockquote >
< p > Type.< strong > target_efficacies< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.TypeEfficacy" title = "pokedex.db.tables.TypeEfficacy" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > TypeEfficacy< / span > < / tt > < / a > ])< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< / div >
< div class = "section" id = "abilities" >
< h2 > Abilities< a class = "headerlink" href = "#abilities" title = "Permalink to this headline" > ¶< / a > < / h2 >
< div class = "section" id = "dex-table-ability" >
< h3 > Ability< a class = "headerlink" href = "#dex-table-ability" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.Ability" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > Ability< / tt > < a class = "headerlink" href = "#pokedex.db.tables.Ability" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > An ability a Pokémon can have, such as Static or Pressure.< / p >
< p > Table name: < em > abilities< / em >
(single: < em > ability< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > ability_names< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > Ability.< strong > generation< / strong > (generation_id → < a class = "reference internal" href = "#pokedex.db.tables.Generation" title = "pokedex.db.tables.Generation" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Generation< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the generation this ability was introduced in< / div > < / blockquote >
< hr > < p > Internationalized strings:< / p >
< p > Ability.< strong > effect< / strong > (< em > unicode – markdown< / em > ) via < em > ability_prose< / em > < / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > A detailed description of this ability’ s effect< / div > < / blockquote >
< p > Ability.< strong > short_effect< / strong > (< em > unicode – markdown< / em > ) via < em > ability_prose< / em > < / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > A short summary of this ability’ s effect< / div > < / blockquote >
< hr > < p > Relationships:< / p >
< p > Ability.< strong > all_pokemon< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Pokemon" title = "pokedex.db.tables.Pokemon" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Pokemon< / span > < / tt > < / a > ])< / p >
2012-06-09 07:19:53 +00:00
< blockquote >
< div > < p > Association table: < tt class = "docutils literal" > < span class = "pre" > pokemon_abilities< / span > < / tt > < / p >
< p > Ordered by: < tt class = "docutils literal" > < span class = "pre" > pokemon." order" < / span > < span class = "pre" > ASC< / span > < / tt > < / p >
< / div > < / blockquote >
< p > Ability.< strong > changelog< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.AbilityChangelog" title = "pokedex.db.tables.AbilityChangelog" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > AbilityChangelog< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > ability_changelog.changed_in_version_group_id< / span > < span class = "pre" > DESC< / span > < / tt > < / div > < / blockquote >
2012-02-12 23:14:24 +00:00
< p > Ability.< strong > dream_pokemon< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Pokemon" title = "pokedex.db.tables.Pokemon" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Pokemon< / span > < / tt > < / a > ])< / p >
2012-06-09 07:19:53 +00:00
< blockquote >
< div > < p > Association table: < tt class = "docutils literal" > < span class = "pre" > pokemon_abilities< / span > < / tt > < / p >
< p > Ordered by: < tt class = "docutils literal" > < span class = "pre" > pokemon.order< / span > < / tt > < / p >
< / div > < / blockquote >
< p > Ability.< strong > flavor_text< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.AbilityFlavorText" title = "pokedex.db.tables.AbilityFlavorText" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > AbilityFlavorText< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > ability_flavor_text.version_group_id< / span > < / tt > < / div > < / blockquote >
2012-02-12 23:14:24 +00:00
< p > Ability.< strong > pokemon< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Pokemon" title = "pokedex.db.tables.Pokemon" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Pokemon< / span > < / tt > < / a > ])< / p >
2012-06-09 07:19:53 +00:00
< blockquote >
< div > < p > Association table: < tt class = "docutils literal" > < span class = "pre" > pokemon_abilities< / span > < / tt > < / p >
< p > Ordered by: < tt class = "docutils literal" > < span class = "pre" > pokemon." order" < / span > < span class = "pre" > ASC< / span > < / tt > < / p >
< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< / div >
< div class = "section" id = "language" >
< h2 > Language< a class = "headerlink" href = "#language" title = "Permalink to this headline" > ¶< / a > < / h2 >
< div class = "section" id = "dex-table-language" >
< h3 > Language< a class = "headerlink" href = "#dex-table-language" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.Language" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > Language< / tt > < a class = "headerlink" href = "#pokedex.db.tables.Language" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A language the Pokémon games have been translated into< / p >
< p > Table name: < em > languages< / em >
(single: < em > language< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > language_names< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
2011-11-18 23:36:39 +00:00
< p > Language.< strong > iso639< / strong > (< em > unicode – identifier< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The two-letter code of the country where this language is spoken. Note that it is not unique.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > Language.< strong > iso3166< / strong > (< em > unicode – identifier< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The two-letter code of the language. Note that it is not unique.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > Language.< strong > official< / strong > (< em > bool< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > True iff games are produced in the language.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > Language.< strong > order< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Order for sorting in foreign name lists.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< / div >
< div class = "section" id = "version-stuff" >
< h2 > Version stuff< a class = "headerlink" href = "#version-stuff" title = "Permalink to this headline" > ¶< / a > < / h2 >
< div class = "section" id = "dex-table-generation" >
< h3 > Generation< a class = "headerlink" href = "#dex-table-generation" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.Generation" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > Generation< / tt > < a class = "headerlink" href = "#pokedex.db.tables.Generation" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A Generation of the Pokémon franchise< / p >
< p > Table name: < em > generations< / em >
(single: < em > generation< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > generation_names< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > Generation.< strong > main_region< / strong > (main_region_id → < a class = "reference internal" href = "#pokedex.db.tables.Region" title = "pokedex.db.tables.Region" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Region< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the region this generation’ s main games take place in< / div > < / blockquote >
< p > Generation.< strong > canonical_pokedex< / strong > (canonical_pokedex_id → < a class = "reference internal" href = "#pokedex.db.tables.Pokedex" title = "pokedex.db.tables.Pokedex" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Pokedex< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the Pokédex this generation’ s main games use by default< / div > < / blockquote >
< hr > < p > Relationships:< / p >
2012-06-09 07:19:53 +00:00
< p > Generation.< strong > abilities< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Ability" title = "pokedex.db.tables.Ability" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Ability< / span > < / tt > < / a > ])< / p >
< p > Generation.< strong > moves< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Move" title = "pokedex.db.tables.Move" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Move< / span > < / tt > < / a > ])< / p >
< p > Generation.< strong > pokemon_form_generations< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonFormGeneration" title = "pokedex.db.tables.PokemonFormGeneration" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonFormGeneration< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > pokemon_form_generations.game_index< / span > < / tt > < / div > < / blockquote >
2012-02-12 23:14:24 +00:00
< p > Generation.< strong > species< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonSpecies" title = "pokedex.db.tables.PokemonSpecies" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonSpecies< / span > < / tt > < / a > ])< / p >
2012-06-09 07:19:53 +00:00
< p > Generation.< strong > types< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Type" title = "pokedex.db.tables.Type" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Type< / span > < / tt > < / a > ])< / p >
< p > Generation.< strong > version_groups< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.VersionGroup" title = "pokedex.db.tables.VersionGroup" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroup< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > version_groups.order< / span > < / tt > < / div > < / blockquote >
< p > Generation.< strong > versions< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Version" title = "pokedex.db.tables.Version" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Version< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Association table: < tt class = "docutils literal" > < span class = "pre" > version_groups< / span > < / tt > < / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-versiongroup" >
< h3 > VersionGroup< a class = "headerlink" href = "#dex-table-versiongroup" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.VersionGroup" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > VersionGroup< / tt > < a class = "headerlink" href = "#pokedex.db.tables.VersionGroup" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A group of versions, containing either two paired versions (such as Red
2012-02-12 23:14:24 +00:00
and Blue) or a single game (such as Yellow.)< / p >
2011-11-18 23:36:39 +00:00
< p > Table name: < em > version_groups< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > VersionGroup.< strong > generation< / strong > (generation_id → < a class = "reference internal" href = "#pokedex.db.tables.Generation" title = "pokedex.db.tables.Generation" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Generation< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the generation the games in this group belong to.< / div > < / blockquote >
< p > VersionGroup.< strong > pokedex< / strong > (pokedex_id → < a class = "reference internal" href = "#pokedex.db.tables.Pokedex" title = "pokedex.db.tables.Pokedex" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Pokedex< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-06-09 07:19:53 +00:00
< div > The ID of the regional Pokédex used in this version group. Null if not applicable.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > VersionGroup.< strong > order< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Order for sorting. Almost by date of release, except similar versions are grouped together.< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > VersionGroup.< strong > ability_changelog< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.AbilityChangelog" title = "pokedex.db.tables.AbilityChangelog" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > AbilityChangelog< / span > < / tt > < / a > ])< / p >
< p > VersionGroup.< strong > machines< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Machine" title = "pokedex.db.tables.Machine" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Machine< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > machines.machine_number< / span > < / tt > < / div > < / blockquote >
< p > VersionGroup.< strong > move_changelog< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.MoveChangelog" title = "pokedex.db.tables.MoveChangelog" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveChangelog< / span > < / tt > < / a > ])< / p >
< p > VersionGroup.< strong > move_effect_changelog< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.MoveEffectChangelog" title = "pokedex.db.tables.MoveEffectChangelog" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveEffectChangelog< / span > < / tt > < / a > ])< / p >
< p > VersionGroup.< strong > pokemon_move_methods< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonMoveMethod" title = "pokedex.db.tables.PokemonMoveMethod" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonMoveMethod< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Association table: < tt class = "docutils literal" > < span class = "pre" > version_group_pokemon_move_methods< / span > < / tt > < / div > < / blockquote >
< p > VersionGroup.< strong > version_group_move_methods< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.VersionGroupPokemonMoveMethod" title = "pokedex.db.tables.VersionGroupPokemonMoveMethod" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroupPokemonMoveMethod< / span > < / tt > < / a > ])< / p >
< p > VersionGroup.< strong > version_group_regions< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.VersionGroupRegion" title = "pokedex.db.tables.VersionGroupRegion" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroupRegion< / span > < / tt > < / a > ])< / p >
< p > VersionGroup.< strong > versions< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Version" title = "pokedex.db.tables.Version" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Version< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > versions.id< / span > < / tt > < / div > < / blockquote >
< hr > < p > Association Proxies:< / p >
< p > VersionGroup.< strong > regions< / strong > :
< tt class = "docutils literal" > < span class = "pre" > region< / span > < / tt > of < tt class = "docutils literal" > < span class = "pre" > self.version_group_regions< / span > < / tt > < / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-version" >
< h3 > Version< a class = "headerlink" href = "#dex-table-version" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.Version" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > Version< / tt > < a class = "headerlink" href = "#pokedex.db.tables.Version" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > An individual main-series Pokémon game.< / p >
< p > Table name: < em > versions< / em >
(single: < em > version< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > version_names< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > Version.< strong > version_group< / strong > (version_group_id → < a class = "reference internal" href = "#pokedex.db.tables.VersionGroup" title = "pokedex.db.tables.VersionGroup" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroup< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the version group this game belongs to.< / div > < / blockquote >
< hr > < p > Relationships:< / p >
< p > Version.< strong > encounters< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Encounter" title = "pokedex.db.tables.Encounter" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Encounter< / span > < / tt > < / a > ])< / p >
2012-06-09 07:19:53 +00:00
< hr > < p > Association Proxies:< / p >
< p > Version.< strong > generation< / strong > :
< tt class = "docutils literal" > < span class = "pre" > generation< / span > < / tt > of < tt class = "docutils literal" > < span class = "pre" > self.version_group< / span > < / tt > < / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-pokedex" >
< h3 > Pokedex< a class = "headerlink" href = "#dex-table-pokedex" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.Pokedex" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > Pokedex< / tt > < a class = "headerlink" href = "#pokedex.db.tables.Pokedex" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A collection of Pokémon species ordered in a particular way< / p >
< p > Table name: < em > pokedexes< / em >
(single: < em > pokedex< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > pokedex_prose< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > Pokedex.< strong > region< / strong > (region_id → < a class = "reference internal" href = "#pokedex.db.tables.Region" title = "pokedex.db.tables.Region" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Region< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the region this Pokédex is used in, or None if it’ s global< / div > < / blockquote >
< hr > < p > Internationalized strings:< / p >
< p > Pokedex.< strong > description< / strong > (< em > unicode – plaintext< / em > ) via < em > pokedex_prose< / em > < / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > A longer description of the Pokédex< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > Pokedex.< strong > canonical_for_generation< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Generation" title = "pokedex.db.tables.Generation" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Generation< / span > < / tt > < / a > ])< / p >
< p > Pokedex.< strong > version_groups< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.VersionGroup" title = "pokedex.db.tables.VersionGroup" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroup< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > version_groups." order" < / span > < span class = "pre" > ASC< / span > < / tt > < / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-region" >
< h3 > Region< a class = "headerlink" href = "#dex-table-region" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.Region" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > Region< / tt > < a class = "headerlink" href = "#pokedex.db.tables.Region" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Major areas of the world: Kanto, Johto, etc.< / p >
< p > Table name: < em > regions< / em >
(single: < em > region< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > region_names< / em > .< / p >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > Region.< strong > generation< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.Generation" title = "pokedex.db.tables.Generation" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Generation< / span > < / tt > < / a > )< / p >
< p > Region.< strong > locations< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Location" title = "pokedex.db.tables.Location" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Location< / span > < / tt > < / a > ])< / p >
< p > Region.< strong > pokedexes< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Pokedex" title = "pokedex.db.tables.Pokedex" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Pokedex< / span > < / tt > < / a > ])< / p >
< p > Region.< strong > version_group_regions< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.VersionGroupRegion" title = "pokedex.db.tables.VersionGroupRegion" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroupRegion< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > version_group_regions.version_group_id< / span > < span class = "pre" > ASC< / span > < / tt > < / div > < / blockquote >
< p > Region.< strong > version_groups< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.VersionGroup" title = "pokedex.db.tables.VersionGroup" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroup< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > < p > Association table: < tt class = "docutils literal" > < span class = "pre" > version_group_regions< / span > < / tt > < / p >
< p > Ordered by: < tt class = "docutils literal" > < span class = "pre" > version_groups.order< / span > < / tt > < / p >
< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< / div >
< div class = "section" id = "encounters" >
< h2 > Encounters< a class = "headerlink" href = "#encounters" title = "Permalink to this headline" > ¶< / a > < / h2 >
< div class = "section" id = "dex-table-location" >
< h3 > Location< a class = "headerlink" href = "#dex-table-location" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.Location" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > Location< / tt > < a class = "headerlink" href = "#pokedex.db.tables.Location" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A place in the Pokémon world< / p >
< p > Table name: < em > locations< / em >
(single: < em > location< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > location_names< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > Location.< strong > region< / strong > (region_id → < a class = "reference internal" href = "#pokedex.db.tables.Region" title = "pokedex.db.tables.Region" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Region< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the region this location is in< / div > < / blockquote >
< hr > < p > Relationships:< / p >
2012-06-09 07:19:53 +00:00
< p > Location.< strong > areas< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.LocationArea" title = "pokedex.db.tables.LocationArea" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > LocationArea< / span > < / tt > < / a > ])< / p >
< p > Location.< strong > game_indices< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.LocationGameIndex" title = "pokedex.db.tables.LocationGameIndex" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > LocationGameIndex< / span > < / tt > < / a > ])< / p >
2012-02-12 23:14:24 +00:00
< p > Location.< strong > triggered_evolutions< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonEvolution" title = "pokedex.db.tables.PokemonEvolution" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonEvolution< / span > < / tt > < / a > ])< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-locationarea" >
< h3 > LocationArea< a class = "headerlink" href = "#dex-table-locationarea" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.LocationArea" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > LocationArea< / tt > < a class = "headerlink" href = "#pokedex.db.tables.LocationArea" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A sub-area of a location< / p >
< p > Table name: < em > location_areas< / em >
(single: < em > location_area< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > location_area_prose< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > LocationArea.< strong > location< / strong > (location_id → < a class = "reference internal" href = "#pokedex.db.tables.Location" title = "pokedex.db.tables.Location" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Location< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the location this area is part of< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > LocationArea.< strong > game_index< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-06-09 07:19:53 +00:00
< div > ID the games use for this area< / div > < / blockquote >
2012-02-12 23:14:24 +00:00
< hr > < p > Relationships:< / p >
2012-06-09 07:19:53 +00:00
< p > LocationArea.< strong > encounter_rates< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.LocationAreaEncounterRate" title = "pokedex.db.tables.LocationAreaEncounterRate" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > LocationAreaEncounterRate< / span > < / tt > < / a > ])< / p >
2012-02-12 23:14:24 +00:00
< p > LocationArea.< strong > encounters< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Encounter" title = "pokedex.db.tables.Encounter" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Encounter< / span > < / tt > < / a > ])< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-locationareaencounterrate" >
< h3 > LocationAreaEncounterRate< a class = "headerlink" href = "#dex-table-locationareaencounterrate" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.LocationAreaEncounterRate" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > LocationAreaEncounterRate< / tt > < a class = "headerlink" href = "#pokedex.db.tables.LocationAreaEncounterRate" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > None< / p >
< p > Table name: < em > location_area_encounter_rates< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > location_area_id< / strong > , < strong > encounter_method_id< / strong > , < strong > version_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > LocationAreaEncounterRate.< strong > location_area< / strong > (location_area_id → < a class = "reference internal" href = "#pokedex.db.tables.LocationArea" title = "pokedex.db.tables.LocationArea" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > LocationArea< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the area< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > LocationAreaEncounterRate.< strong > encounter_method_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.EncounterMethod" title = "pokedex.db.tables.EncounterMethod" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > EncounterMethod< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the method< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > LocationAreaEncounterRate.< strong > version_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.Version" title = "pokedex.db.tables.Version" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Version< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the version< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > LocationAreaEncounterRate.< strong > rate< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The encounter rate< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > LocationAreaEncounterRate.< strong > method< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.EncounterMethod" title = "pokedex.db.tables.EncounterMethod" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > EncounterMethod< / span > < / tt > < / a > )< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-encounter" >
< h3 > Encounter< a class = "headerlink" href = "#dex-table-encounter" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.Encounter" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > Encounter< / tt > < a class = "headerlink" href = "#pokedex.db.tables.Encounter" title = "Permalink to this definition" > ¶< / a > < / dt >
2012-02-12 23:14:24 +00:00
< dd > < p > Encounters with wild Pokémon.< / p >
< p > Bear with me, here.< / p >
< p > Within a given area in a given game, encounters are differentiated by the
“ slot” they are in and the state of the game world.< / p >
< p > What the player is doing to get an encounter, such as surfing or walking
through tall grass, is called a method. Each method has its own set of
encounter slots.< / p >
< p > Within a method, slots are defined primarily by rarity. Each slot can
also be affected by world conditions; for example, the 20% slot for walking
in tall grass is affected by whether a swarm is in effect in that area.
“ Is there a swarm?” is a condition; “ there is a swarm” and “ there is not a
swarm” are the possible values of this condition.< / p >
< p > A slot (20% walking in grass) and any appropriate world conditions (no
swarm) are thus enough to define a specific encounter.< / p >
< p > Well, okay, almost: each slot actually appears twice.< / p >
2011-11-18 23:36:39 +00:00
< p > Table name: < em > encounters< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > Encounter.< strong > version< / strong > (version_id → < a class = "reference internal" href = "#pokedex.db.tables.Version" title = "pokedex.db.tables.Version" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Version< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the version this applies to< / div > < / blockquote >
< p > Encounter.< strong > location_area< / strong > (location_area_id → < a class = "reference internal" href = "#pokedex.db.tables.LocationArea" title = "pokedex.db.tables.LocationArea" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > LocationArea< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the location of this encounter< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > Encounter.< strong > encounter_slot_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.EncounterSlot" title = "pokedex.db.tables.EncounterSlot" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > EncounterSlot< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the encounter slot, which determines method and rarity< / div > < / blockquote >
< p > Encounter.< strong > pokemon< / strong > (pokemon_id → < a class = "reference internal" href = "#pokedex.db.tables.Pokemon" title = "pokedex.db.tables.Pokemon" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Pokemon< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the encountered Pokémon< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > Encounter.< strong > min_level< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The minimum level of the encountered Pokémon< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > Encounter.< strong > max_level< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The maxmum level of the encountered Pokémon< / div > < / blockquote >
< hr > < p > Relationships:< / p >
< p > Encounter.< strong > condition_value_map< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.EncounterConditionValueMap" title = "pokedex.db.tables.EncounterConditionValueMap" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > EncounterConditionValueMap< / span > < / tt > < / a > ])< / p >
2012-06-09 07:19:53 +00:00
< p > Encounter.< strong > slot< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.EncounterSlot" title = "pokedex.db.tables.EncounterSlot" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > EncounterSlot< / span > < / tt > < / a > )< / p >
< hr > < p > Association Proxies:< / p >
2012-02-12 23:14:24 +00:00
< p > Encounter.< strong > condition_values< / strong > :
< tt class = "docutils literal" > < span class = "pre" > condition_value< / span > < / tt > of < tt class = "docutils literal" > < span class = "pre" > self.condition_value_map< / span > < / tt > < / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-encountercondition" >
< h3 > EncounterCondition< a class = "headerlink" href = "#dex-table-encountercondition" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.EncounterCondition" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > EncounterCondition< / tt > < a class = "headerlink" href = "#pokedex.db.tables.EncounterCondition" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A conditions in the game world that affects Pokémon encounters, such as time of day.< / p >
< p > Table name: < em > encounter_conditions< / em >
(single: < em > encounter_condition< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > encounter_condition_prose< / em > .< / p >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > EncounterCondition.< strong > values< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.EncounterConditionValue" title = "pokedex.db.tables.EncounterConditionValue" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > EncounterConditionValue< / span > < / tt > < / a > ])< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-encounterconditionvalue" >
< h3 > EncounterConditionValue< a class = "headerlink" href = "#dex-table-encounterconditionvalue" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.EncounterConditionValue" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > EncounterConditionValue< / tt > < a class = "headerlink" href = "#pokedex.db.tables.EncounterConditionValue" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A possible state for a condition; for example, the state of ‘ swarm’ could be ‘ swarm’ or ‘ no swarm’ .< / p >
< p > Table name: < em > encounter_condition_values< / em >
(single: < em > encounter_condition_value< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > encounter_condition_value_prose< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
2011-11-18 23:36:39 +00:00
< p > EncounterConditionValue.< strong > encounter_condition_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.EncounterCondition" title = "pokedex.db.tables.EncounterCondition" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > EncounterCondition< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the encounter condition this is a value of< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > EncounterConditionValue.< strong > is_default< / strong > (< em > bool< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Set if this value is the default state for the condition< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > EncounterConditionValue.< strong > condition< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.EncounterCondition" title = "pokedex.db.tables.EncounterCondition" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > EncounterCondition< / span > < / tt > < / a > )< / p >
< p > EncounterConditionValue.< strong > encounter_map< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.EncounterConditionValueMap" title = "pokedex.db.tables.EncounterConditionValueMap" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > EncounterConditionValueMap< / span > < / tt > < / a > ])< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-encountermethod" >
< h3 > EncounterMethod< a class = "headerlink" href = "#dex-table-encountermethod" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.EncounterMethod" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > EncounterMethod< / tt > < a class = "headerlink" href = "#pokedex.db.tables.EncounterMethod" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A way the player can enter a wild encounter, e.g., surfing, fishing, or walking through tall grass.< / p >
< p > Table name: < em > encounter_methods< / em >
(single: < em > encounter_method< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > encounter_method_prose< / em > .< / p >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > EncounterMethod.< strong > slots< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.EncounterSlot" title = "pokedex.db.tables.EncounterSlot" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > EncounterSlot< / span > < / tt > < / a > ])< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-encounterslot" >
< h3 > EncounterSlot< a class = "headerlink" href = "#dex-table-encounterslot" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.EncounterSlot" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > EncounterSlot< / tt > < a class = "headerlink" href = "#pokedex.db.tables.EncounterSlot" title = "Permalink to this definition" > ¶< / a > < / dt >
2012-02-12 23:14:24 +00:00
< dd > < p > An abstract “ slot” within a method, associated with both some set of conditions and a rarity.< / p >
< p > Note that there are two encounters per slot, so the rarities will only add
up to 50.< / p >
2011-11-18 23:36:39 +00:00
< p > Table name: < em > encounter_slots< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > EncounterSlot.< strong > version_group< / strong > (version_group_id → < a class = "reference internal" href = "#pokedex.db.tables.VersionGroup" title = "pokedex.db.tables.VersionGroup" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroup< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the version group this slot is in< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > EncounterSlot.< strong > encounter_method_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.EncounterMethod" title = "pokedex.db.tables.EncounterMethod" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > EncounterMethod< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the method< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > EncounterSlot.< strong > slot< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > This slot’ s order for the location and method< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > EncounterSlot.< strong > rarity< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The chance of the encounter as a percentage< / div > < / blockquote >
< hr > < p > Relationships:< / p >
< p > EncounterSlot.< strong > encounters< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Encounter" title = "pokedex.db.tables.Encounter" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Encounter< / span > < / tt > < / a > ])< / p >
2012-06-09 07:19:53 +00:00
< p > EncounterSlot.< strong > method< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.EncounterMethod" title = "pokedex.db.tables.EncounterMethod" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > EncounterMethod< / span > < / tt > < / a > )< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< / div >
< div class = "section" id = "contests" >
< h2 > Contests< a class = "headerlink" href = "#contests" title = "Permalink to this headline" > ¶< / a > < / h2 >
< div class = "section" id = "dex-table-contestcombo" >
< h3 > ContestCombo< a class = "headerlink" href = "#dex-table-contestcombo" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.ContestCombo" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > ContestCombo< / tt > < a class = "headerlink" href = "#pokedex.db.tables.ContestCombo" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Combo of two moves in a Contest.< / p >
< p > Table name: < em > contest_combos< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > first_move_id< / strong > , < strong > second_move_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
2011-11-18 23:36:39 +00:00
< p > ContestCombo.< strong > first_move_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.Move" title = "pokedex.db.tables.Move" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Move< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the first move in the combo< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > ContestCombo.< strong > second_move_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.Move" title = "pokedex.db.tables.Move" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Move< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the second and final move in the combo< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > ContestCombo.< strong > first< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.Move" title = "pokedex.db.tables.Move" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Move< / span > < / tt > < / a > )< / p >
< p > ContestCombo.< strong > second< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.Move" title = "pokedex.db.tables.Move" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Move< / span > < / tt > < / a > )< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-contesteffect" >
< h3 > ContestEffect< a class = "headerlink" href = "#dex-table-contesteffect" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.ContestEffect" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > ContestEffect< / tt > < a class = "headerlink" href = "#pokedex.db.tables.ContestEffect" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Effect of a move when used in a Contest.< / p >
< p > Table name: < em > contest_effects< / em >
(single: < em > contest_effect< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
2011-11-18 23:36:39 +00:00
< p > ContestEffect.< strong > appeal< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The base number of hearts the user of this move gets< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > ContestEffect.< strong > jam< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The base number of hearts the user’ s opponent loses< / div > < / blockquote >
< hr > < p > Internationalized strings:< / p >
< p > ContestEffect.< strong > flavor_text< / strong > (< em > unicode – gametext< / em > ) via < em > contest_effect_prose< / em > < / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The in-game description of this effect< / div > < / blockquote >
< p > ContestEffect.< strong > effect< / strong > (< em > unicode – plaintext< / em > ) via < em > contest_effect_prose< / em > < / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > A detailed description of the effect< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > ContestEffect.< strong > moves< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Move" title = "pokedex.db.tables.Move" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Move< / span > < / tt > < / a > ])< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-supercontestcombo" >
< h3 > SuperContestCombo< a class = "headerlink" href = "#dex-table-supercontestcombo" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.SuperContestCombo" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > SuperContestCombo< / tt > < a class = "headerlink" href = "#pokedex.db.tables.SuperContestCombo" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Combo of two moves in a Super Contest.< / p >
< p > Table name: < em > super_contest_combos< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > first_move_id< / strong > , < strong > second_move_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
2011-11-18 23:36:39 +00:00
< p > SuperContestCombo.< strong > first_move_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.Move" title = "pokedex.db.tables.Move" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Move< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the first move in the combo.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > SuperContestCombo.< strong > second_move_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.Move" title = "pokedex.db.tables.Move" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Move< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the second and last move.< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > SuperContestCombo.< strong > first< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.Move" title = "pokedex.db.tables.Move" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Move< / span > < / tt > < / a > )< / p >
< p > SuperContestCombo.< strong > second< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.Move" title = "pokedex.db.tables.Move" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Move< / span > < / tt > < / a > )< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-supercontesteffect" >
< h3 > SuperContestEffect< a class = "headerlink" href = "#dex-table-supercontesteffect" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.SuperContestEffect" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > SuperContestEffect< / tt > < a class = "headerlink" href = "#pokedex.db.tables.SuperContestEffect" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > An effect a move can have when used in the Super Contest< / p >
< p > Table name: < em > super_contest_effects< / em >
(single: < em > super_contest_effect< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
2011-11-18 23:36:39 +00:00
< p > SuperContestEffect.< strong > appeal< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The number of hearts the user gains.< / div > < / blockquote >
< hr > < p > Internationalized strings:< / p >
< p > SuperContestEffect.< strong > flavor_text< / strong > (< em > unicode – plaintext< / em > ) via < em > super_contest_effect_prose< / em > < / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > A description of the effect.< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > SuperContestEffect.< strong > moves< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Move" title = "pokedex.db.tables.Move" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Move< / span > < / tt > < / a > ])< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< / div >
< div class = "section" id = "enum-tables" >
< h2 > Enum tables< a class = "headerlink" href = "#enum-tables" title = "Permalink to this headline" > ¶< / a > < / h2 >
< div class = "section" id = "dex-table-berryfirmness" >
< h3 > BerryFirmness< a class = "headerlink" href = "#dex-table-berryfirmness" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.BerryFirmness" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > BerryFirmness< / tt > < a class = "headerlink" href = "#pokedex.db.tables.BerryFirmness" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A Berry firmness, such as “ hard” or “ very soft” .< / p >
< p > Table name: < em > berry_firmness< / em >
(single: < em > berry_firmness< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > berry_firmness_names< / em > .< / p >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > BerryFirmness.< strong > berries< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Berry" title = "pokedex.db.tables.Berry" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Berry< / span > < / tt > < / a > ])< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-contesttype" >
< h3 > ContestType< a class = "headerlink" href = "#dex-table-contesttype" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.ContestType" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > ContestType< / tt > < a class = "headerlink" href = "#pokedex.db.tables.ContestType" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A Contest type, such as “ cool” or “ smart” , and their associated Berry flavors and Pokéblock colors.< / p >
< p > Table name: < em > contest_types< / em >
(single: < em > contest_type< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > contest_type_names< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Internationalized strings:< / p >
< p > ContestType.< strong > flavor< / strong > (< em > unicode – plaintext< / em > ) via < em > contest_type_names< / em > < / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The name of the corresponding Berry flavor< / div > < / blockquote >
< p > ContestType.< strong > color< / strong > (< em > unicode – plaintext< / em > ) via < em > contest_type_names< / em > < / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The name of the corresponding Pokéblock color< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > ContestType.< strong > hating_natures< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Nature" title = "pokedex.db.tables.Nature" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Nature< / span > < / tt > < / a > ])< / p >
< p > ContestType.< strong > liking_natures< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Nature" title = "pokedex.db.tables.Nature" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Nature< / span > < / tt > < / a > ])< / p >
< p > ContestType.< strong > moves< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Move" title = "pokedex.db.tables.Move" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Move< / span > < / tt > < / a > ])< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-egggroup" >
< h3 > EggGroup< a class = "headerlink" href = "#dex-table-egggroup" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.EggGroup" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > EggGroup< / tt > < a class = "headerlink" href = "#pokedex.db.tables.EggGroup" title = "Permalink to this definition" > ¶< / a > < / dt >
2012-02-12 23:14:24 +00:00
< dd > < p > An Egg group. Usually, two Pokémon can breed if they share an Egg Group.< / p >
< p > (exceptions are the Ditto and No Eggs groups)< / p >
2011-11-18 23:36:39 +00:00
< p > Table name: < em > egg_groups< / em >
(single: < em > egg_group< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > egg_group_prose< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Relationships:< / p >
< p > EggGroup.< strong > species< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonSpecies" title = "pokedex.db.tables.PokemonSpecies" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonSpecies< / span > < / tt > < / a > ])< / p >
2012-06-09 07:19:53 +00:00
< blockquote >
< div > < p > Association table: < tt class = "docutils literal" > < span class = "pre" > pokemon_egg_groups< / span > < / tt > < / p >
< p > Ordered by: < tt class = "docutils literal" > < span class = "pre" > pokemon." order" < / span > < span class = "pre" > ASC< / span > < / tt > < / p >
< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-evolutiontrigger" >
< h3 > EvolutionTrigger< a class = "headerlink" href = "#dex-table-evolutiontrigger" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.EvolutionTrigger" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > EvolutionTrigger< / tt > < a class = "headerlink" href = "#pokedex.db.tables.EvolutionTrigger" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > An evolution type, such as “ level” or “ trade” .< / p >
< p > Table name: < em > evolution_triggers< / em >
(single: < em > evolution_trigger< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > evolution_trigger_prose< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Relationships:< / p >
< p > EvolutionTrigger.< strong > evolutions< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonEvolution" title = "pokedex.db.tables.PokemonEvolution" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonEvolution< / span > < / tt > < / a > ])< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-growthrate" >
< h3 > GrowthRate< a class = "headerlink" href = "#dex-table-growthrate" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.GrowthRate" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > GrowthRate< / tt > < a class = "headerlink" href = "#pokedex.db.tables.GrowthRate" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Growth rate of a Pokémon, i.e. the EXP → level function.< / p >
< p > Table name: < em > growth_rates< / em >
(single: < em > growth_rate< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > growth_rate_prose< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
2011-11-18 23:36:39 +00:00
< p > GrowthRate.< strong > formula< / strong > (< em > unicode – latex< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The formula< / div > < / blockquote >
< hr > < p > Relationships:< / p >
< p > GrowthRate.< strong > evolution_chains< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonSpecies" title = "pokedex.db.tables.PokemonSpecies" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonSpecies< / span > < / tt > < / a > ])< / p >
2012-06-09 07:19:53 +00:00
< p > GrowthRate.< strong > experience_table< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Experience" title = "pokedex.db.tables.Experience" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Experience< / span > < / tt > < / a > ])< / p >
< p > GrowthRate.< strong > max_experience_obj< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.Experience" title = "pokedex.db.tables.Experience" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Experience< / span > < / tt > < / a > )< / p >
< hr > < p > Association Proxies:< / p >
< p > GrowthRate.< strong > max_experience< / strong > :
< tt class = "docutils literal" > < span class = "pre" > experience< / span > < / tt > of < tt class = "docutils literal" > < span class = "pre" > self.max_experience_obj< / span > < / tt > < / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-itemcategory" >
< h3 > ItemCategory< a class = "headerlink" href = "#dex-table-itemcategory" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.ItemCategory" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > ItemCategory< / tt > < a class = "headerlink" href = "#pokedex.db.tables.ItemCategory" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > An item category< / p >
< p > Table name: < em > item_categories< / em >
(single: < em > item_category< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > item_category_prose< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > ItemCategory.< strong > pocket< / strong > (pocket_id → < a class = "reference internal" href = "#pokedex.db.tables.ItemPocket" title = "pokedex.db.tables.ItemPocket" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > ItemPocket< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the pocket these items go to< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > ItemCategory.< strong > items< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Item" title = "pokedex.db.tables.Item" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Item< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > items.identifier< / span > < span class = "pre" > ASC< / span > < / tt > < / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-itemflingeffect" >
< h3 > ItemFlingEffect< a class = "headerlink" href = "#dex-table-itemflingeffect" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.ItemFlingEffect" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > ItemFlingEffect< / tt > < a class = "headerlink" href = "#pokedex.db.tables.ItemFlingEffect" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > An effect of the move Fling when used with a specific item< / p >
< p > Table name: < em > item_fling_effects< / em >
(single: < em > item_fling_effect< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Internationalized strings:< / p >
< p > ItemFlingEffect.< strong > effect< / strong > (< em > unicode – plaintext< / em > ) via < em > item_fling_effect_prose< / em > < / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Description of the effect< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > ItemFlingEffect.< strong > items< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Item" title = "pokedex.db.tables.Item" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Item< / span > < / tt > < / a > ])< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-itempocket" >
< h3 > ItemPocket< a class = "headerlink" href = "#dex-table-itempocket" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.ItemPocket" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > ItemPocket< / tt > < a class = "headerlink" href = "#pokedex.db.tables.ItemPocket" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A pocket that categorizes items< / p >
< p > Table name: < em > item_pockets< / em >
(single: < em > item_pocket< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > item_pocket_names< / em > .< / p >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > ItemPocket.< strong > categories< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.ItemCategory" title = "pokedex.db.tables.ItemCategory" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > ItemCategory< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > item_categories.identifier< / span > < span class = "pre" > ASC< / span > < / tt > < / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-movebattlestyle" >
< h3 > MoveBattleStyle< a class = "headerlink" href = "#dex-table-movebattlestyle" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.MoveBattleStyle" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > MoveBattleStyle< / tt > < a class = "headerlink" href = "#pokedex.db.tables.MoveBattleStyle" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A battle style of a move< / p >
< p > Table name: < em > move_battle_styles< / em >
(single: < em > move_battle_style< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > move_battle_style_prose< / em > .< / p >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > MoveBattleStyle.< strong > nature_preferences< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.NatureBattleStylePreference" title = "pokedex.db.tables.NatureBattleStylePreference" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > NatureBattleStylePreference< / span > < / tt > < / a > ])< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-movedamageclass" >
< h3 > MoveDamageClass< a class = "headerlink" href = "#dex-table-movedamageclass" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.MoveDamageClass" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > MoveDamageClass< / tt > < a class = "headerlink" href = "#pokedex.db.tables.MoveDamageClass" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Any of the damage classes moves can have, i.e. physical, special, or non-damaging.< / p >
< p > Table name: < em > move_damage_classes< / em >
(single: < em > move_damage_class< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > move_damage_class_prose< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Internationalized strings:< / p >
< p > MoveDamageClass.< strong > description< / strong > (< em > unicode – plaintext< / em > ) via < em > move_damage_class_prose< / em > < / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > A description of the class< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > MoveDamageClass.< strong > moves< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Move" title = "pokedex.db.tables.Move" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Move< / span > < / tt > < / a > ])< / p >
< p > MoveDamageClass.< strong > stats< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Stat" title = "pokedex.db.tables.Stat" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Stat< / span > < / tt > < / a > ])< / p >
< p > MoveDamageClass.< strong > types< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Type" title = "pokedex.db.tables.Type" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Type< / span > < / tt > < / a > ])< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-movemetaailment" >
< h3 > MoveMetaAilment< a class = "headerlink" href = "#dex-table-movemetaailment" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.MoveMetaAilment" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > MoveMetaAilment< / tt > < a class = "headerlink" href = "#pokedex.db.tables.MoveMetaAilment" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Common status ailments moves can inflict on a single Pokémon, including
2012-02-12 23:14:24 +00:00
major ailments like paralysis and minor ailments like trapping.< / p >
2011-11-18 23:36:39 +00:00
< p > Table name: < em > move_meta_ailments< / em >
(single: < em > move_meta_ailment< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > move_meta_ailment_names< / em > .< / p >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > MoveMetaAilment.< strong > move_meta< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.MoveMeta" title = "pokedex.db.tables.MoveMeta" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveMeta< / span > < / tt > < / a > ])< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-movemetacategory" >
< h3 > MoveMetaCategory< a class = "headerlink" href = "#dex-table-movemetacategory" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.MoveMetaCategory" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > MoveMetaCategory< / tt > < a class = "headerlink" href = "#pokedex.db.tables.MoveMetaCategory" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Very general categories that loosely group move effects.< / p >
< p > Table name: < em > move_meta_categories< / em >
(single: < em > move_meta_category< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > and < strong > identifier< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Internationalized strings:< / p >
< p > MoveMetaCategory.< strong > description< / strong > (< em > unicode – plaintext< / em > ) via < em > move_meta_category_prose< / em > < / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > A description of the category< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > MoveMetaCategory.< strong > move_meta< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.MoveMeta" title = "pokedex.db.tables.MoveMeta" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveMeta< / span > < / tt > < / a > ])< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-movetarget" >
< h3 > MoveTarget< a class = "headerlink" href = "#dex-table-movetarget" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.MoveTarget" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > MoveTarget< / tt > < a class = "headerlink" href = "#pokedex.db.tables.MoveTarget" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Targetting or “ range” of a move, e.g. “ Affects all opponents” or “ Affects user” .< / p >
< p > Table name: < em > move_targets< / em >
(single: < em > move_target< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > move_target_prose< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Internationalized strings:< / p >
< p > MoveTarget.< strong > description< / strong > (< em > unicode – plaintext< / em > ) via < em > move_target_prose< / em > < / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > A description< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > MoveTarget.< strong > moves< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Move" title = "pokedex.db.tables.Move" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Move< / span > < / tt > < / a > ])< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-nature" >
< h3 > Nature< a class = "headerlink" href = "#dex-table-nature" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.Nature" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > Nature< / tt > < a class = "headerlink" href = "#pokedex.db.tables.Nature" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A nature a Pokémon can have, such as Calm or Brave< / p >
< p > Table name: < em > natures< / em >
(single: < em > nature< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > nature_names< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > Nature.< strong > decreased_stat< / strong > (decreased_stat_id → < a class = "reference internal" href = "#pokedex.db.tables.Stat" title = "pokedex.db.tables.Stat" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Stat< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the stat that this nature decreases by 10% (if decreased_stat_id is the same, the effects cancel out)< / div > < / blockquote >
< p > Nature.< strong > increased_stat< / strong > (increased_stat_id → < a class = "reference internal" href = "#pokedex.db.tables.Stat" title = "pokedex.db.tables.Stat" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Stat< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the stat that this nature increases by 10% (if decreased_stat_id is the same, the effects cancel out)< / div > < / blockquote >
< p > Nature.< strong > hates_flavor< / strong > (hates_flavor_id → < a class = "reference internal" href = "#pokedex.db.tables.ContestType" title = "pokedex.db.tables.ContestType" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > ContestType< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the Berry flavor the Pokémon hates (if likes_flavor_id is the same, the effects cancel out)< / div > < / blockquote >
< p > Nature.< strong > likes_flavor< / strong > (likes_flavor_id → < a class = "reference internal" href = "#pokedex.db.tables.ContestType" title = "pokedex.db.tables.ContestType" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > ContestType< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the Berry flavor the Pokémon likes (if hates_flavor_id is the same, the effects cancel out)< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > Nature.< strong > battle_style_preferences< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.NatureBattleStylePreference" title = "pokedex.db.tables.NatureBattleStylePreference" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > NatureBattleStylePreference< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > nature_battle_style_preferences.move_battle_style_id< / span > < span class = "pre" > ASC< / span > < / tt > < / div > < / blockquote >
< p > Nature.< strong > pokeathlon_effects< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.NaturePokeathlonStat" title = "pokedex.db.tables.NaturePokeathlonStat" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > NaturePokeathlonStat< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Ordered by: < tt class = "docutils literal" > < span class = "pre" > nature_pokeathlon_stats.pokeathlon_stat_id< / span > < span class = "pre" > ASC< / span > < / tt > < / div > < / blockquote >
2012-02-12 23:14:24 +00:00
< hr > < dl class = "attribute" >
< dt id = "pokedex.db.tables.Nature.is_neutral" >
< tt class = "descname" > is_neutral< / tt > < a class = "headerlink" href = "#pokedex.db.tables.Nature.is_neutral" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Returns True iff this nature doesn’ t alter a Pokémon’ s stats,
bestow taste preferences, etc.< / p >
< / dd > < / dl >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
2012-06-09 07:19:53 +00:00
< / div >
< div class = "section" id = "dex-table-palparkarea" >
< h3 > PalParkArea< a class = "headerlink" href = "#dex-table-palparkarea" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.PalParkArea" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > PalParkArea< / tt > < a class = "headerlink" href = "#pokedex.db.tables.PalParkArea" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Pal Park areas enum< / p >
< p > Table name: < em > pal_park_areas< / em >
(single: < em > pal_park_area< / em > )< / p >
< p > Primary key: < strong > id< / strong > .< / p >
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > pal_park_area_names< / em > .< / p >
< / dd > < / dl >
2011-11-18 23:36:39 +00:00
< / div >
< div class = "section" id = "dex-table-pokemoncolor" >
< h3 > PokemonColor< a class = "headerlink" href = "#dex-table-pokemoncolor" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.PokemonColor" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > PokemonColor< / tt > < a class = "headerlink" href = "#pokedex.db.tables.PokemonColor" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > The “ Pokédex color” of a Pokémon species. Usually based on the Pokémon’ s color.< / p >
< p > Table name: < em > pokemon_colors< / em >
(single: < em > pokemon_color< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > pokemon_color_names< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Relationships:< / p >
< p > PokemonColor.< strong > species< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonSpecies" title = "pokedex.db.tables.PokemonSpecies" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonSpecies< / span > < / tt > < / a > ])< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-pokemonmovemethod" >
< h3 > PokemonMoveMethod< a class = "headerlink" href = "#dex-table-pokemonmovemethod" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.PokemonMoveMethod" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > PokemonMoveMethod< / tt > < a class = "headerlink" href = "#pokedex.db.tables.PokemonMoveMethod" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A method a move can be learned by, such as “ Level up” or “ Tutor” .< / p >
< p > Table name: < em > pokemon_move_methods< / em >
(single: < em > pokemon_move_method< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > pokemon_move_method_prose< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Internationalized strings:< / p >
< p > PokemonMoveMethod.< strong > description< / strong > (< em > unicode – plaintext< / em > ) via < em > pokemon_move_method_prose< / em > < / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > A detailed description of how the method works< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > PokemonMoveMethod.< strong > version_group_move_methods< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.VersionGroupPokemonMoveMethod" title = "pokedex.db.tables.VersionGroupPokemonMoveMethod" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroupPokemonMoveMethod< / span > < / tt > < / a > ])< / p >
< p > PokemonMoveMethod.< strong > version_groups< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.VersionGroup" title = "pokedex.db.tables.VersionGroup" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroup< / span > < / tt > < / a > ])< / p >
< blockquote >
< div > Association table: < tt class = "docutils literal" > < span class = "pre" > version_group_pokemon_move_methods< / span > < / tt > < / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-pokemonshape" >
< h3 > PokemonShape< a class = "headerlink" href = "#dex-table-pokemonshape" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.PokemonShape" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > PokemonShape< / tt > < a class = "headerlink" href = "#pokedex.db.tables.PokemonShape" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > The shape of a Pokémon’ s body. Used for flavor in generation IV and V
2012-02-12 23:14:24 +00:00
Pokédexes.< / p >
2011-11-18 23:36:39 +00:00
< p > Table name: < em > pokemon_shapes< / em >
(single: < em > pokemon_shape< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > pokemon_shape_prose< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Internationalized strings:< / p >
< p > PokemonShape.< strong > awesome_name< / strong > (< em > unicode – plaintext< / em > ) via < em > pokemon_shape_prose< / em > < / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > A splendiferous name of the body shape< / div > < / blockquote >
< hr > < p > Relationships:< / p >
< p > PokemonShape.< strong > species< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonSpecies" title = "pokedex.db.tables.PokemonSpecies" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonSpecies< / span > < / tt > < / a > ])< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-stat" >
< h3 > Stat< a class = "headerlink" href = "#dex-table-stat" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.Stat" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > Stat< / tt > < a class = "headerlink" href = "#pokedex.db.tables.Stat" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A Stat, such as Attack or Speed< / p >
< p > Table name: < em > stats< / em >
(single: < em > stat< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > stat_names< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > Stat.< strong > damage_class< / strong > (damage_class_id → < a class = "reference internal" href = "#pokedex.db.tables.MoveDamageClass" title = "pokedex.db.tables.MoveDamageClass" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveDamageClass< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > For offensive and defensive stats, the damage this stat relates to; otherwise None (the NULL value)< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > Stat.< strong > is_battle_only< / strong > (< em > bool< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Whether this stat only exists within a battle< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< p > Stat.< strong > game_index< / strong > (< em > int< / em > ):< / p >
< blockquote >
< div > The stat order the games use internally for the persistent stats. NULL for battle-only stats.< / div > < / blockquote >
< hr > < p > Relationships:< / p >
< p > Stat.< strong > decreasing_natures< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Nature" title = "pokedex.db.tables.Nature" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Nature< / span > < / tt > < / a > ])< / p >
< p > Stat.< strong > hints< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.StatHint" title = "pokedex.db.tables.StatHint" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > StatHint< / span > < / tt > < / a > ])< / p >
< p > Stat.< strong > increasing_natures< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.Nature" title = "pokedex.db.tables.Nature" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Nature< / span > < / tt > < / a > ])< / p >
< p > Stat.< strong > move_meta_stat_changes< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.MoveMetaStatChange" title = "pokedex.db.tables.MoveMetaStatChange" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveMetaStatChange< / span > < / tt > < / a > ])< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< / div >
< div class = "section" id = "changelogs" >
< h2 > Changelogs< a class = "headerlink" href = "#changelogs" title = "Permalink to this headline" > ¶< / a > < / h2 >
< div class = "section" id = "dex-table-abilitychangelog" >
< h3 > AbilityChangelog< a class = "headerlink" href = "#dex-table-abilitychangelog" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.AbilityChangelog" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > AbilityChangelog< / tt > < a class = "headerlink" href = "#pokedex.db.tables.AbilityChangelog" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > History of changes to abilities across main game versions.< / p >
< p > Table name: < em > ability_changelog< / em >
(single: < em > ability_changelog< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > AbilityChangelog.< strong > ability< / strong > (ability_id → < a class = "reference internal" href = "#pokedex.db.tables.Ability" title = "pokedex.db.tables.Ability" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Ability< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the ability that changed< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > AbilityChangelog.< strong > changed_in_version_group_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.VersionGroup" title = "pokedex.db.tables.VersionGroup" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroup< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the version group in which the ability changed< / div > < / blockquote >
< hr > < p > Internationalized strings:< / p >
< p > AbilityChangelog.< strong > effect< / strong > (< em > unicode – markdown< / em > ) via < em > ability_changelog_prose< / em > < / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > A description of the old behavior< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > AbilityChangelog.< strong > changed_in< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.VersionGroup" title = "pokedex.db.tables.VersionGroup" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroup< / span > < / tt > < / a > )< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-moveeffectchangelog" >
< h3 > MoveEffectChangelog< a class = "headerlink" href = "#dex-table-moveeffectchangelog" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.MoveEffectChangelog" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > MoveEffectChangelog< / tt > < a class = "headerlink" href = "#pokedex.db.tables.MoveEffectChangelog" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > History of changes to move effects across main game versions.< / p >
< p > Table name: < em > move_effect_changelog< / em >
(single: < em > move_effect_changelog< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > MoveEffectChangelog.< strong > effect< / strong > (effect_id → < a class = "reference internal" href = "#pokedex.db.tables.MoveEffect" title = "pokedex.db.tables.MoveEffect" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveEffect< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the effect that changed< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > MoveEffectChangelog.< strong > changed_in_version_group_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.VersionGroup" title = "pokedex.db.tables.VersionGroup" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroup< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the version group in which the effect changed< / div > < / blockquote >
< hr > < p > Internationalized strings:< / p >
< p > MoveEffectChangelog.< strong > effect< / strong > (< em > unicode – markdown< / em > ) via < em > move_effect_changelog_prose< / em > < / p >
< blockquote >
< div > A description of the old behavior< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > MoveEffectChangelog.< strong > changed_in< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.VersionGroup" title = "pokedex.db.tables.VersionGroup" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroup< / span > < / tt > < / a > )< / p >
< p > MoveEffectChangelog.< strong > move_effect< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.MoveEffect" title = "pokedex.db.tables.MoveEffect" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveEffect< / span > < / tt > < / a > )< / p >
2012-02-12 23:14:24 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-movechangelog" >
< h3 > MoveChangelog< a class = "headerlink" href = "#dex-table-movechangelog" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.MoveChangelog" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > MoveChangelog< / tt > < a class = "headerlink" href = "#pokedex.db.tables.MoveChangelog" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > History of changes to moves across main game versions.< / p >
< p > Table name: < em > move_changelog< / em >
(single: < em > move_changelog< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > move_id< / strong > , < strong > changed_in_version_group_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > MoveChangelog.< strong > move< / strong > (move_id → < a class = "reference internal" href = "#pokedex.db.tables.Move" title = "pokedex.db.tables.Move" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Move< / span > < / tt > < / a > .id)< / p >
< blockquote >
< div > ID of the move that changed< / div > < / blockquote >
< p > MoveChangelog.< strong > changed_in_version_group_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.VersionGroup" title = "pokedex.db.tables.VersionGroup" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroup< / span > < / tt > < / a > .id):< / p >
< blockquote >
< div > ID of the version group in which the move changed< / div > < / blockquote >
< p > MoveChangelog.< strong > type< / strong > (type_id → < a class = "reference internal" href = "#pokedex.db.tables.Type" title = "pokedex.db.tables.Type" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Type< / span > < / tt > < / a > .id)< / p >
< blockquote >
< div > Prior type of the move, or NULL if unchanged< / div > < / blockquote >
< p > MoveChangelog.< strong > power< / strong > (< em > int< / em > ):< / p >
< blockquote >
< div > Prior base power of the move, or NULL if unchanged< / div > < / blockquote >
< p > MoveChangelog.< strong > pp< / strong > (< em > int< / em > ):< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Prior base PP of the move, or NULL if unchanged< / div > < / blockquote >
< p > MoveChangelog.< strong > accuracy< / strong > (< em > int< / em > ):< / p >
< blockquote >
< div > Prior accuracy of the move, or NULL if unchanged< / div > < / blockquote >
< p > MoveChangelog.< strong > effect< / strong > (effect_id → < a class = "reference internal" href = "#pokedex.db.tables.MoveEffect" title = "pokedex.db.tables.MoveEffect" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveEffect< / span > < / tt > < / a > .id)< / p >
< blockquote >
< div > Prior ID of the effect, or NULL if unchanged< / div > < / blockquote >
< p > MoveChangelog.< strong > effect_chance< / strong > (< em > int< / em > ):< / p >
< blockquote >
< div > Prior effect chance, or NULL if unchanged< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > MoveChangelog.< strong > changed_in< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.VersionGroup" title = "pokedex.db.tables.VersionGroup" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroup< / span > < / tt > < / a > )< / p >
< p > MoveChangelog.< strong > move_effect< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.MoveEffect" title = "pokedex.db.tables.MoveEffect" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveEffect< / span > < / tt > < / a > )< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Undocumented:< / p >
< p > MoveChangelog.< strong > effect_map< / strong > < / p >
< p > MoveChangelog.< strong > short_effect< / strong > < / p >
< p > MoveChangelog.< strong > short_effect_map< / strong > < / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< / div >
< div class = "section" id = "flavor-text" >
< h2 > Flavor text< a class = "headerlink" href = "#flavor-text" title = "Permalink to this headline" > ¶< / a > < / h2 >
< div class = "section" id = "dex-table-itemflavortext" >
< h3 > ItemFlavorText< a class = "headerlink" href = "#dex-table-itemflavortext" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.ItemFlavorText" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > ItemFlavorText< / tt > < a class = "headerlink" href = "#pokedex.db.tables.ItemFlavorText" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > An in-game description of an item< / p >
< p > Table name: < em > item_flavor_text< / em >
(single: < em > item_flavor_text< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > item_id< / strong > , < strong > version_group_id< / strong > , < strong > language_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > ItemFlavorText.< strong > item< / strong > (item_id → < a class = "reference internal" href = "#pokedex.db.tables.Item" title = "pokedex.db.tables.Item" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Item< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the item< / div > < / blockquote >
< p > ItemFlavorText.< strong > version_group< / strong > (version_group_id → < a class = "reference internal" href = "#pokedex.db.tables.VersionGroup" title = "pokedex.db.tables.VersionGroup" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroup< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the version group that sports this text< / div > < / blockquote >
< p > ItemFlavorText.< strong > language< / strong > (language_id → < a class = "reference internal" href = "#pokedex.db.tables.Language" title = "pokedex.db.tables.Language" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Language< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The language< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > ItemFlavorText.< strong > flavor_text< / strong > (< em > unicode – gametext< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The flavor text itself< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-abilityflavortext" >
< h3 > AbilityFlavorText< a class = "headerlink" href = "#dex-table-abilityflavortext" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.AbilityFlavorText" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > AbilityFlavorText< / tt > < a class = "headerlink" href = "#pokedex.db.tables.AbilityFlavorText" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > In-game flavor text of an ability< / p >
< p > Table name: < em > ability_flavor_text< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > ability_id< / strong > , < strong > version_group_id< / strong > , < strong > language_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > AbilityFlavorText.< strong > ability< / strong > (ability_id → < a class = "reference internal" href = "#pokedex.db.tables.Ability" title = "pokedex.db.tables.Ability" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Ability< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the ability< / div > < / blockquote >
< p > AbilityFlavorText.< strong > version_group< / strong > (version_group_id → < a class = "reference internal" href = "#pokedex.db.tables.VersionGroup" title = "pokedex.db.tables.VersionGroup" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroup< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the version group this flavor text is taken from< / div > < / blockquote >
< p > AbilityFlavorText.< strong > language< / strong > (language_id → < a class = "reference internal" href = "#pokedex.db.tables.Language" title = "pokedex.db.tables.Language" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Language< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The language< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > AbilityFlavorText.< strong > flavor_text< / strong > (< em > unicode – gametext< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The actual flavor text< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-moveflavortext" >
< h3 > MoveFlavorText< a class = "headerlink" href = "#dex-table-moveflavortext" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.MoveFlavorText" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > MoveFlavorText< / tt > < a class = "headerlink" href = "#pokedex.db.tables.MoveFlavorText" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > In-game description of a move< / p >
< p > Table name: < em > move_flavor_text< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > move_id< / strong > , < strong > version_group_id< / strong > , < strong > language_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > MoveFlavorText.< strong > move< / strong > (move_id → < a class = "reference internal" href = "#pokedex.db.tables.Move" title = "pokedex.db.tables.Move" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Move< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the move< / div > < / blockquote >
< p > MoveFlavorText.< strong > version_group< / strong > (version_group_id → < a class = "reference internal" href = "#pokedex.db.tables.VersionGroup" title = "pokedex.db.tables.VersionGroup" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroup< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the version group this text appears in< / div > < / blockquote >
< p > MoveFlavorText.< strong > language< / strong > (language_id → < a class = "reference internal" href = "#pokedex.db.tables.Language" title = "pokedex.db.tables.Language" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Language< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The language< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > MoveFlavorText.< strong > flavor_text< / strong > (< em > unicode – gametext< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The flavor text< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-pokemonspeciesflavortext" >
< h3 > PokemonSpeciesFlavorText< a class = "headerlink" href = "#dex-table-pokemonspeciesflavortext" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.PokemonSpeciesFlavorText" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > PokemonSpeciesFlavorText< / tt > < a class = "headerlink" href = "#pokedex.db.tables.PokemonSpeciesFlavorText" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > In-game Pokédex descrption of a Pokémon.< / p >
< p > Table name: < em > pokemon_species_flavor_text< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > species_id< / strong > , < strong > version_id< / strong > , < strong > language_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > PokemonSpeciesFlavorText.< strong > species< / strong > (species_id → < a class = "reference internal" href = "#pokedex.db.tables.PokemonSpecies" title = "pokedex.db.tables.PokemonSpecies" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonSpecies< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the Pokémon< / div > < / blockquote >
< p > PokemonSpeciesFlavorText.< strong > version< / strong > (version_id → < a class = "reference internal" href = "#pokedex.db.tables.Version" title = "pokedex.db.tables.Version" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Version< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the version that has this flavor text< / div > < / blockquote >
< p > PokemonSpeciesFlavorText.< strong > language< / strong > (language_id → < a class = "reference internal" href = "#pokedex.db.tables.Language" title = "pokedex.db.tables.Language" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Language< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The language< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonSpeciesFlavorText.< strong > flavor_text< / strong > (< em > unicode – gametext< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The flavor text< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< / div >
< div class = "section" id = "association-tables" >
< h2 > Association tables< a class = "headerlink" href = "#association-tables" title = "Permalink to this headline" > ¶< / a > < / h2 >
< div class = "section" id = "dex-table-berryflavor" >
< h3 > BerryFlavor< a class = "headerlink" href = "#dex-table-berryflavor" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.BerryFlavor" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > BerryFlavor< / tt > < a class = "headerlink" href = "#pokedex.db.tables.BerryFlavor" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A Berry flavor level.< / p >
< p > Table name: < em > berry_flavors< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > berry_id< / strong > , < strong > contest_type_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > BerryFlavor.< strong > berry< / strong > (berry_id → < a class = "reference internal" href = "#pokedex.db.tables.Berry" title = "pokedex.db.tables.Berry" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Berry< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the berry< / div > < / blockquote >
< p > BerryFlavor.< strong > contest_type< / strong > (contest_type_id → < a class = "reference internal" href = "#pokedex.db.tables.ContestType" title = "pokedex.db.tables.ContestType" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > ContestType< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the flavor< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > BerryFlavor.< strong > flavor< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The level of the flavor in the berry< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-encounterconditionvaluemap" >
< h3 > EncounterConditionValueMap< a class = "headerlink" href = "#dex-table-encounterconditionvaluemap" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.EncounterConditionValueMap" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > EncounterConditionValueMap< / tt > < a class = "headerlink" href = "#pokedex.db.tables.EncounterConditionValueMap" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Maps encounters to the specific conditions under which they occur.< / p >
< p > Table name: < em > encounter_condition_value_map< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > encounter_id< / strong > , < strong > encounter_condition_value_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > EncounterConditionValueMap.< strong > encounter< / strong > (encounter_id → < a class = "reference internal" href = "#pokedex.db.tables.Encounter" title = "pokedex.db.tables.Encounter" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Encounter< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the encounter< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > EncounterConditionValueMap.< strong > encounter_condition_value_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.EncounterConditionValue" title = "pokedex.db.tables.EncounterConditionValue" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > EncounterConditionValue< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the encounter condition value< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > EncounterConditionValueMap.< strong > condition_value< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.EncounterConditionValue" title = "pokedex.db.tables.EncounterConditionValue" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > EncounterConditionValue< / span > < / tt > < / a > )< / p >
2012-02-12 23:14:24 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-itemflag" >
< h3 > ItemFlag< a class = "headerlink" href = "#dex-table-itemflag" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.ItemFlag" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > ItemFlag< / tt > < a class = "headerlink" href = "#pokedex.db.tables.ItemFlag" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > An item attribute such as “ consumable” or “ holdable” .< / p >
< p > Table name: < em > item_flags< / em >
(single: < em > item_flag< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > item_flag_prose< / em > .< / p >
< hr > < p > Internationalized strings:< / p >
< p > ItemFlag.< strong > description< / strong > (< em > unicode – plaintext< / em > ) via < em > item_flag_prose< / em > < / p >
< blockquote >
< div > Short description of the flag< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-itemflagmap" >
< h3 > ItemFlagMap< a class = "headerlink" href = "#dex-table-itemflagmap" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.ItemFlagMap" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > ItemFlagMap< / tt > < a class = "headerlink" href = "#pokedex.db.tables.ItemFlagMap" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Maps an item flag to its item.< / p >
< p > Table name: < em > item_flag_map< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > item_id< / strong > , < strong > item_flag_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
2011-11-18 23:36:39 +00:00
< p > ItemFlagMap.< strong > item_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.Item" title = "pokedex.db.tables.Item" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Item< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the item< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > ItemFlagMap.< strong > item_flag_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.ItemFlag" title = "pokedex.db.tables.ItemFlag" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > ItemFlag< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the item flag< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-machine" >
< h3 > Machine< a class = "headerlink" href = "#dex-table-machine" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.Machine" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > Machine< / tt > < a class = "headerlink" href = "#pokedex.db.tables.Machine" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A TM or HM; numbered item that can teach a move to a Pokémon< / p >
< p > Table name: < em > machines< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > machine_number< / strong > , < strong > version_group_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
2011-11-18 23:36:39 +00:00
< p > Machine.< strong > machine_number< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Number of the machine for TMs, or 100 + the munber for HMs< / div > < / blockquote >
< p > Machine.< strong > version_group< / strong > (version_group_id → < a class = "reference internal" href = "#pokedex.db.tables.VersionGroup" title = "pokedex.db.tables.VersionGroup" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroup< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Versions this entry applies to< / div > < / blockquote >
< p > Machine.< strong > item< / strong > (item_id → < a class = "reference internal" href = "#pokedex.db.tables.Item" title = "pokedex.db.tables.Item" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Item< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the corresponding Item< / div > < / blockquote >
< p > Machine.< strong > move< / strong > (move_id → < a class = "reference internal" href = "#pokedex.db.tables.Move" title = "pokedex.db.tables.Move" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Move< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the taught move< / div > < / blockquote >
< hr > < p > Relationships:< / p >
< p > Machine.< strong > pokemon_moves< / strong >
2012-06-09 07:19:53 +00:00
(→ < a class = "reference internal" href = "#pokedex.db.tables.PokemonMove" title = "pokedex.db.tables.PokemonMove" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonMove< / span > < / tt > < / a > )< / p >
2012-02-12 23:14:24 +00:00
< hr > < dl class = "attribute" >
< dt id = "pokedex.db.tables.Machine.is_hm" >
< tt class = "descname" > is_hm< / tt > < a class = "headerlink" href = "#pokedex.db.tables.Machine.is_hm" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > True if this machine is a HM, False if it’ s a TM< / p >
< / dd > < / dl >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-moveflag" >
< h3 > MoveFlag< a class = "headerlink" href = "#dex-table-moveflag" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.MoveFlag" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > MoveFlag< / tt > < a class = "headerlink" href = "#pokedex.db.tables.MoveFlag" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A Move attribute such as “ snatchable” or “ contact” .< / p >
< p > Table name: < em > move_flags< / em >
(single: < em > move_flag< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > move_flag_prose< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Internationalized strings:< / p >
< p > MoveFlag.< strong > description< / strong > (< em > unicode – markdown< / em > ) via < em > move_flag_prose< / em > < / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > A short description of the flag< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-moveflagmap" >
< h3 > MoveFlagMap< a class = "headerlink" href = "#dex-table-moveflagmap" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.MoveFlagMap" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > MoveFlagMap< / tt > < a class = "headerlink" href = "#pokedex.db.tables.MoveFlagMap" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Maps a move flag to a move< / p >
< p > Table name: < em > move_flag_map< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > move_id< / strong > , < strong > move_flag_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > MoveFlagMap.< strong > move< / strong > (move_id → < a class = "reference internal" href = "#pokedex.db.tables.Move" title = "pokedex.db.tables.Move" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Move< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the move< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > MoveFlagMap.< strong > move_flag_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.MoveFlag" title = "pokedex.db.tables.MoveFlag" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveFlag< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the flag< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > MoveFlagMap.< strong > flag< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.MoveFlag" title = "pokedex.db.tables.MoveFlag" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveFlag< / span > < / tt > < / a > )< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-movemetastatchange" >
< h3 > MoveMetaStatChange< a class = "headerlink" href = "#dex-table-movemetastatchange" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.MoveMetaStatChange" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > MoveMetaStatChange< / tt > < a class = "headerlink" href = "#pokedex.db.tables.MoveMetaStatChange" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Stat changes moves (may) make.< / p >
< p > Table name: < em > move_meta_stat_changes< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > move_id< / strong > , < strong > stat_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
2011-11-18 23:36:39 +00:00
< p > MoveMetaStatChange.< strong > move_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.Move" title = "pokedex.db.tables.Move" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Move< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the move< / div > < / blockquote >
< p > MoveMetaStatChange.< strong > stat< / strong > (stat_id → < a class = "reference internal" href = "#pokedex.db.tables.Stat" title = "pokedex.db.tables.Stat" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Stat< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the stat< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > MoveMetaStatChange.< strong > change< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Amount of increase/decrease, in stages< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-naturebattlestylepreference" >
< h3 > NatureBattleStylePreference< a class = "headerlink" href = "#dex-table-naturebattlestylepreference" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.NatureBattleStylePreference" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > NatureBattleStylePreference< / tt > < a class = "headerlink" href = "#pokedex.db.tables.NatureBattleStylePreference" title = "Permalink to this definition" > ¶< / a > < / dt >
2012-02-12 23:14:24 +00:00
< dd > < p > Battle Palace move preference< / p >
< p > 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< / p >
2011-11-18 23:36:39 +00:00
< p > Table name: < em > nature_battle_style_preferences< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > nature_id< / strong > , < strong > move_battle_style_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > NatureBattleStylePreference.< strong > nature< / strong > (nature_id → < a class = "reference internal" href = "#pokedex.db.tables.Nature" title = "pokedex.db.tables.Nature" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Nature< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the Pokémon’ s nature< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > NatureBattleStylePreference.< strong > move_battle_style_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.MoveBattleStyle" title = "pokedex.db.tables.MoveBattleStyle" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveBattleStyle< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the battle style< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > NatureBattleStylePreference.< strong > low_hp_preference< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Chance of using the move, in percent, if HP is under ½< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > NatureBattleStylePreference.< strong > high_hp_preference< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Chance of using the move, in percent, if HP is over ½< / div > < / blockquote >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > NatureBattleStylePreference.< strong > battle_style< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.MoveBattleStyle" title = "pokedex.db.tables.MoveBattleStyle" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > MoveBattleStyle< / span > < / tt > < / a > )< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-naturepokeathlonstat" >
< h3 > NaturePokeathlonStat< a class = "headerlink" href = "#dex-table-naturepokeathlonstat" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.NaturePokeathlonStat" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > NaturePokeathlonStat< / tt > < a class = "headerlink" href = "#pokedex.db.tables.NaturePokeathlonStat" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Specifies how a Nature affects a Pokéathlon stat< / p >
< p > Table name: < em > nature_pokeathlon_stats< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > nature_id< / strong > , < strong > pokeathlon_stat_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
2011-11-18 23:36:39 +00:00
< p > NaturePokeathlonStat.< strong > nature_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.Nature" title = "pokedex.db.tables.Nature" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Nature< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the nature< / div > < / blockquote >
< p > NaturePokeathlonStat.< strong > pokeathlon_stat< / strong > (pokeathlon_stat_id → < a class = "reference internal" href = "#pokedex.db.tables.PokeathlonStat" title = "pokedex.db.tables.PokeathlonStat" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokeathlonStat< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the stat< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > NaturePokeathlonStat.< strong > max_change< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Maximum change< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-pokeathlonstat" >
< h3 > PokeathlonStat< a class = "headerlink" href = "#dex-table-pokeathlonstat" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.PokeathlonStat" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > PokeathlonStat< / tt > < a class = "headerlink" href = "#pokedex.db.tables.PokeathlonStat" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A Pokéathlon stat, such as “ Stamina” or “ Jump” .< / p >
< p > Table name: < em > pokeathlon_stats< / em >
(single: < em > pokeathlon_stat< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > pokeathlon_stat_names< / em > .< / p >
2012-06-09 07:19:53 +00:00
< hr > < p > Relationships:< / p >
< p > PokeathlonStat.< strong > nature_effects< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.NaturePokeathlonStat" title = "pokedex.db.tables.NaturePokeathlonStat" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > NaturePokeathlonStat< / span > < / tt > < / a > ])< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-pokemonability" >
< h3 > PokemonAbility< a class = "headerlink" href = "#dex-table-pokemonability" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.PokemonAbility" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > PokemonAbility< / tt > < a class = "headerlink" href = "#pokedex.db.tables.PokemonAbility" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Maps an ability to a Pokémon that can have it< / p >
< p > Table name: < em > pokemon_abilities< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > pokemon_id< / strong > , < strong > slot< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
2011-11-18 23:36:39 +00:00
< p > PokemonAbility.< strong > pokemon_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.Pokemon" title = "pokedex.db.tables.Pokemon" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Pokemon< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the Pokémon< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonAbility.< strong > ability_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.Ability" title = "pokedex.db.tables.Ability" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Ability< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the ability< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonAbility.< strong > is_dream< / strong > (< em > bool< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Whether this is a Dream World ability< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonAbility.< strong > slot< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ability slot, i.e. 1 or 2 for gen. IV< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-pokemonegggroup" >
< h3 > PokemonEggGroup< a class = "headerlink" href = "#dex-table-pokemonegggroup" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.PokemonEggGroup" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > PokemonEggGroup< / tt > < a class = "headerlink" href = "#pokedex.db.tables.PokemonEggGroup" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Maps an Egg group to a species; each species belongs to one or two egg groups< / p >
< p > Table name: < em > pokemon_egg_groups< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > species_id< / strong > , < strong > egg_group_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
2011-11-18 23:36:39 +00:00
< p > PokemonEggGroup.< strong > species_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.PokemonSpecies" title = "pokedex.db.tables.PokemonSpecies" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonSpecies< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the species< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonEggGroup.< strong > egg_group_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.EggGroup" title = "pokedex.db.tables.EggGroup" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > EggGroup< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the egg group< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-pokemonformpokeathlonstat" >
< h3 > PokemonFormPokeathlonStat< a class = "headerlink" href = "#dex-table-pokemonformpokeathlonstat" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.PokemonFormPokeathlonStat" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > PokemonFormPokeathlonStat< / tt > < a class = "headerlink" href = "#pokedex.db.tables.PokemonFormPokeathlonStat" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A Pokémon form’ s performance in one Pokéathlon stat.< / p >
< p > Table name: < em > pokemon_form_pokeathlon_stats< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > pokemon_form_id< / strong > , < strong > pokeathlon_stat_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > PokemonFormPokeathlonStat.< strong > pokemon_form< / strong > (pokemon_form_id → < a class = "reference internal" href = "#pokedex.db.tables.PokemonForm" title = "pokedex.db.tables.PokemonForm" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonForm< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the Pokémon form.< / div > < / blockquote >
< p > PokemonFormPokeathlonStat.< strong > pokeathlon_stat< / strong > (pokeathlon_stat_id → < a class = "reference internal" href = "#pokedex.db.tables.PokeathlonStat" title = "pokedex.db.tables.PokeathlonStat" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokeathlonStat< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the Pokéathlon stat.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonFormPokeathlonStat.< strong > minimum_stat< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The minimum value for this stat for this Pokémon form.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonFormPokeathlonStat.< strong > base_stat< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The default value for this stat for this Pokémon form.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonFormPokeathlonStat.< strong > maximum_stat< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The maximum value for this stat for this Pokémon form.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-pokemonhabitat" >
< h3 > PokemonHabitat< a class = "headerlink" href = "#dex-table-pokemonhabitat" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.PokemonHabitat" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > PokemonHabitat< / tt > < a class = "headerlink" href = "#pokedex.db.tables.PokemonHabitat" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > The habitat of a Pokémon, as given in the FireRed/LeafGreen version Pokédex< / p >
< p > Table name: < em > pokemon_habitats< / em >
(single: < em > pokemon_habitat< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > , < strong > identifier< / strong > , and < strong > name< / strong > via < em > pokemon_habitat_names< / em > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Relationships:< / p >
< p > PokemonHabitat.< strong > species< / strong >
(→ [< a class = "reference internal" href = "#pokedex.db.tables.PokemonSpecies" title = "pokedex.db.tables.PokemonSpecies" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonSpecies< / span > < / tt > < / a > ])< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-pokemonmove" >
< h3 > PokemonMove< a class = "headerlink" href = "#dex-table-pokemonmove" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.PokemonMove" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > PokemonMove< / tt > < a class = "headerlink" href = "#pokedex.db.tables.PokemonMove" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Record of a move a Pokémon can learn< / p >
< p > Table name: < em > pokemon_moves< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > pokemon_id< / strong > , < strong > version_group_id< / strong > , < strong > move_id< / strong > , < strong > pokemon_move_method_id< / strong > , < strong > level< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > PokemonMove.< strong > pokemon< / strong > (pokemon_id → < a class = "reference internal" href = "#pokedex.db.tables.Pokemon" title = "pokedex.db.tables.Pokemon" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Pokemon< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the Pokémon< / div > < / blockquote >
< p > PokemonMove.< strong > version_group< / strong > (version_group_id → < a class = "reference internal" href = "#pokedex.db.tables.VersionGroup" title = "pokedex.db.tables.VersionGroup" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroup< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the version group this applies to< / div > < / blockquote >
< p > PokemonMove.< strong > move< / strong > (move_id → < a class = "reference internal" href = "#pokedex.db.tables.Move" title = "pokedex.db.tables.Move" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Move< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the move< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonMove.< strong > pokemon_move_method_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.PokemonMoveMethod" title = "pokedex.db.tables.PokemonMoveMethod" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonMoveMethod< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the method this move is learned by< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonMove.< strong > level< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Level the move is learned at, if applicable< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonMove.< strong > order< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > A sort key to produce the correct ordering when all else is equal< / div > < / blockquote >
< hr > < p > Relationships:< / p >
< p > PokemonMove.< strong > machine< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.Machine" title = "pokedex.db.tables.Machine" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Machine< / span > < / tt > < / a > )< / p >
< p > PokemonMove.< strong > method< / strong >
2012-06-09 07:19:53 +00:00
(→ < a class = "reference internal" href = "#pokedex.db.tables.PokemonMoveMethod" title = "pokedex.db.tables.PokemonMoveMethod" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonMoveMethod< / span > < / tt > < / a > )< / p >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-pokemonstat" >
< h3 > PokemonStat< a class = "headerlink" href = "#dex-table-pokemonstat" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.PokemonStat" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > PokemonStat< / tt > < a class = "headerlink" href = "#pokedex.db.tables.PokemonStat" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > A stat value of a Pokémon< / p >
< p > Table name: < em > pokemon_stats< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > pokemon_id< / strong > , < strong > stat_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > PokemonStat.< strong > pokemon< / strong > (pokemon_id → < a class = "reference internal" href = "#pokedex.db.tables.Pokemon" title = "pokedex.db.tables.Pokemon" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Pokemon< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the Pokémon< / div > < / blockquote >
< p > PokemonStat.< strong > stat< / strong > (stat_id → < a class = "reference internal" href = "#pokedex.db.tables.Stat" title = "pokedex.db.tables.Stat" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Stat< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the stat< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonStat.< strong > base_stat< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The base stat< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonStat.< strong > effort< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The effort increase in this stat gained when this Pokémon is defeated< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-pokemonitem" >
< h3 > PokemonItem< a class = "headerlink" href = "#dex-table-pokemonitem" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.PokemonItem" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > PokemonItem< / tt > < a class = "headerlink" href = "#pokedex.db.tables.PokemonItem" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Record of an item a Pokémon can hold in the wild< / p >
< p > Table name: < em > pokemon_items< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > pokemon_id< / strong > , < strong > version_id< / strong > , < strong > item_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > PokemonItem.< strong > pokemon< / strong > (pokemon_id → < a class = "reference internal" href = "#pokedex.db.tables.Pokemon" title = "pokedex.db.tables.Pokemon" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Pokemon< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the Pokémon< / div > < / blockquote >
< p > PokemonItem.< strong > version< / strong > (version_id → < a class = "reference internal" href = "#pokedex.db.tables.Version" title = "pokedex.db.tables.Version" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Version< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the version this applies to< / div > < / blockquote >
< p > PokemonItem.< strong > item< / strong > (item_id → < a class = "reference internal" href = "#pokedex.db.tables.Item" title = "pokedex.db.tables.Item" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Item< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the item< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonItem.< strong > rarity< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Chance of the Pokémon holding the item, in percent< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-pokemontype" >
< h3 > PokemonType< a class = "headerlink" href = "#dex-table-pokemontype" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.PokemonType" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > PokemonType< / tt > < a class = "headerlink" href = "#pokedex.db.tables.PokemonType" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Maps a type to a Pokémon. Each Pokémon has 1 or 2 types.< / p >
< p > Table name: < em > pokemon_types< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > pokemon_id< / strong > , < strong > slot< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
2011-11-18 23:36:39 +00:00
< p > PokemonType.< strong > pokemon_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.Pokemon" title = "pokedex.db.tables.Pokemon" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Pokemon< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the Pokémon< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonType.< strong > type_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.Type" title = "pokedex.db.tables.Type" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Type< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the type< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonType.< strong > slot< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The type’ s slot, 1 or 2, used to sort types if there are two of them< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-typeefficacy" >
< h3 > TypeEfficacy< a class = "headerlink" href = "#dex-table-typeefficacy" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.TypeEfficacy" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > TypeEfficacy< / tt > < a class = "headerlink" href = "#pokedex.db.tables.TypeEfficacy" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > The damage multiplier used when a move of a particular type damages a
2012-02-12 23:14:24 +00:00
Pokémon of a particular other type.< / p >
2011-11-18 23:36:39 +00:00
< p > Table name: < em > type_efficacy< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > damage_type_id< / strong > , < strong > target_type_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > TypeEfficacy.< strong > damage_type< / strong > (damage_type_id → < a class = "reference internal" href = "#pokedex.db.tables.Type" title = "pokedex.db.tables.Type" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Type< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the damaging type.< / div > < / blockquote >
< p > TypeEfficacy.< strong > target_type< / strong > (target_type_id → < a class = "reference internal" href = "#pokedex.db.tables.Type" title = "pokedex.db.tables.Type" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Type< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the defending Pokémon’ s type.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > TypeEfficacy.< strong > damage_factor< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The multiplier, as a percentage of damage inflicted.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
2012-06-09 07:19:53 +00:00
< / div >
< div class = "section" id = "dex-table-versiongrouppokemonmovemethod" >
< h3 > VersionGroupPokemonMoveMethod< a class = "headerlink" href = "#dex-table-versiongrouppokemonmovemethod" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.VersionGroupPokemonMoveMethod" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > VersionGroupPokemonMoveMethod< / tt > < a class = "headerlink" href = "#pokedex.db.tables.VersionGroupPokemonMoveMethod" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Maps a version group to a move learn methods it supports.< / p >
< p > “ 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.< / p >
< p > Table name: < em > version_group_pokemon_move_methods< / em > < / p >
< p > Primary key: < strong > version_group_id< / strong > , < strong > pokemon_move_method_id< / strong > .< / p >
< hr > < p > Columns:< / p >
< p > VersionGroupPokemonMoveMethod.< strong > version_group< / strong > (version_group_id → < a class = "reference internal" href = "#pokedex.db.tables.VersionGroup" title = "pokedex.db.tables.VersionGroup" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroup< / span > < / tt > < / a > .id)< / p >
< blockquote >
< div > The ID of the version group.< / div > < / blockquote >
< p > VersionGroupPokemonMoveMethod.< strong > pokemon_move_method< / strong > (pokemon_move_method_id → < a class = "reference internal" href = "#pokedex.db.tables.PokemonMoveMethod" title = "pokedex.db.tables.PokemonMoveMethod" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonMoveMethod< / span > < / tt > < / a > .id)< / p >
< blockquote >
< div > The ID of the move method.< / div > < / blockquote >
< / dd > < / dl >
2011-11-18 23:36:39 +00:00
< / div >
< div class = "section" id = "dex-table-versiongroupregion" >
< h3 > VersionGroupRegion< a class = "headerlink" href = "#dex-table-versiongroupregion" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.VersionGroupRegion" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > VersionGroupRegion< / tt > < a class = "headerlink" href = "#pokedex.db.tables.VersionGroupRegion" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Maps a version group to a region that appears in it.< / p >
< p > Table name: < em > version_group_regions< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > version_group_id< / strong > , < strong > region_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > VersionGroupRegion.< strong > version_group< / strong > (version_group_id → < a class = "reference internal" href = "#pokedex.db.tables.VersionGroup" title = "pokedex.db.tables.VersionGroup" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > VersionGroup< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the version group.< / div > < / blockquote >
< p > VersionGroupRegion.< strong > region< / strong > (region_id → < a class = "reference internal" href = "#pokedex.db.tables.Region" title = "pokedex.db.tables.Region" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Region< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The ID of the region.< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< / div >
< div class = "section" id = "index-maps" >
< h2 > Index maps< a class = "headerlink" href = "#index-maps" title = "Permalink to this headline" > ¶< / a > < / h2 >
< div class = "section" id = "dex-table-itemgameindex" >
< h3 > ItemGameIndex< a class = "headerlink" href = "#dex-table-itemgameindex" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.ItemGameIndex" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > ItemGameIndex< / tt > < a class = "headerlink" href = "#pokedex.db.tables.ItemGameIndex" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > The internal ID number a game uses for an item< / p >
< p > Table name: < em > item_game_indices< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > item_id< / strong > , < strong > generation_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > ItemGameIndex.< strong > item< / strong > (item_id → < a class = "reference internal" href = "#pokedex.db.tables.Item" title = "pokedex.db.tables.Item" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Item< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The database ID of the item< / div > < / blockquote >
< p > ItemGameIndex.< strong > generation< / strong > (generation_id → < a class = "reference internal" href = "#pokedex.db.tables.Generation" title = "pokedex.db.tables.Generation" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Generation< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the generation of games< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > ItemGameIndex.< strong > game_index< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Internal ID of the item in the generation< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-locationgameindex" >
< h3 > LocationGameIndex< a class = "headerlink" href = "#dex-table-locationgameindex" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.LocationGameIndex" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > LocationGameIndex< / tt > < a class = "headerlink" href = "#pokedex.db.tables.LocationGameIndex" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > IDs the games use internally for locations< / p >
< p > Table name: < em > location_game_indices< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > location_id< / strong > , < strong > generation_id< / strong > , < strong > game_index< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > LocationGameIndex.< strong > location< / strong > (location_id → < a class = "reference internal" href = "#pokedex.db.tables.Location" title = "pokedex.db.tables.Location" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Location< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Database ID of the locaion< / div > < / blockquote >
< p > LocationGameIndex.< strong > generation< / strong > (generation_id → < a class = "reference internal" href = "#pokedex.db.tables.Generation" title = "pokedex.db.tables.Generation" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Generation< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the generation this entry to< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > LocationGameIndex.< strong > game_index< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Internal game ID of the location< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< div class = "section" id = "dex-table-pokemondexnumber" >
< h3 > PokemonDexNumber< a class = "headerlink" href = "#dex-table-pokemondexnumber" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.PokemonDexNumber" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > PokemonDexNumber< / tt > < a class = "headerlink" href = "#pokedex.db.tables.PokemonDexNumber" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > The number of a species in a particular Pokédex (e.g. Jigglypuff is #138 in Hoenn’ s ‘ dex)< / p >
< p > Table name: < em > pokemon_dex_numbers< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > species_id< / strong > , < strong > pokedex_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > PokemonDexNumber.< strong > species< / strong > (species_id → < a class = "reference internal" href = "#pokedex.db.tables.PokemonSpecies" title = "pokedex.db.tables.PokemonSpecies" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonSpecies< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the species< / div > < / blockquote >
< p > PokemonDexNumber.< strong > pokedex< / strong > (pokedex_id → < a class = "reference internal" href = "#pokedex.db.tables.Pokedex" title = "pokedex.db.tables.Pokedex" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Pokedex< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the Pokédex< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonDexNumber.< strong > pokedex_number< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Number of the Pokémon in that the Pokédex< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
2012-06-09 07:19:53 +00:00
< / div >
< div class = "section" id = "dex-table-pokemonformgeneration" >
< h3 > PokemonFormGeneration< a class = "headerlink" href = "#dex-table-pokemonformgeneration" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.PokemonFormGeneration" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > PokemonFormGeneration< / tt > < a class = "headerlink" href = "#pokedex.db.tables.PokemonFormGeneration" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Links Pokémon forms to the generations they exist in< / p >
< p > Table name: < em > pokemon_form_generations< / em > < / p >
< p > Primary key: < strong > pokemon_form_id< / strong > , < strong > generation_id< / strong > .< / p >
< hr > < p > Columns:< / p >
< p > PokemonFormGeneration.< strong > pokemon_form_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.PokemonForm" title = "pokedex.db.tables.PokemonForm" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonForm< / span > < / tt > < / a > .id):< / p >
< blockquote >
< div > The ID of the Pokémon form.< / div > < / blockquote >
< p > PokemonFormGeneration.< strong > generation< / strong > (generation_id → < a class = "reference internal" href = "#pokedex.db.tables.Generation" title = "pokedex.db.tables.Generation" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Generation< / span > < / tt > < / a > .id)< / p >
< blockquote >
< div > The ID of the generation.< / div > < / blockquote >
< p > PokemonFormGeneration.< strong > game_index< / strong > (< em > int< / em > ):< / p >
< blockquote >
< div > The internal ID the games use for this form.< / div > < / blockquote >
< hr > < p > Relationships:< / p >
< p > PokemonFormGeneration.< strong > form< / strong >
(→ < a class = "reference internal" href = "#pokedex.db.tables.PokemonForm" title = "pokedex.db.tables.PokemonForm" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonForm< / span > < / tt > < / a > )< / p >
< / dd > < / dl >
2011-11-18 23:36:39 +00:00
< / div >
< div class = "section" id = "dex-table-pokemongameindex" >
< h3 > PokemonGameIndex< a class = "headerlink" href = "#dex-table-pokemongameindex" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.PokemonGameIndex" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > PokemonGameIndex< / tt > < a class = "headerlink" href = "#pokedex.db.tables.PokemonGameIndex" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > The number of a Pokémon a game uses internally< / p >
< p > Table name: < em > pokemon_game_indices< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > pokemon_id< / strong > , < strong > generation_id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
2011-11-18 23:36:39 +00:00
< p > PokemonGameIndex.< strong > pokemon_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.Pokemon" title = "pokedex.db.tables.Pokemon" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Pokemon< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Database ID of the Pokémon< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonGameIndex.< strong > generation_id< / strong > (→ < a class = "reference internal" href = "#pokedex.db.tables.Generation" title = "pokedex.db.tables.Generation" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Generation< / span > < / tt > < / a > .id):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Database ID of the generation< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > PokemonGameIndex.< strong > game_index< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Internal ID the generation’ s games use for the Pokémon< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< / div >
< div class = "section" id = "mics-tables" >
< h2 > Mics tables< a class = "headerlink" href = "#mics-tables" title = "Permalink to this headline" > ¶< / a > < / h2 >
< div class = "section" id = "dex-table-experience" >
< h3 > Experience< a class = "headerlink" href = "#dex-table-experience" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.Experience" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > Experience< / tt > < a class = "headerlink" href = "#pokedex.db.tables.Experience" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > EXP needed for a certain level with a certain growth rate< / p >
< p > Table name: < em > experience< / em > < / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > growth_rate_id< / strong > , < strong > level< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > Experience.< strong > growth_rate< / strong > (growth_rate_id → < a class = "reference internal" href = "#pokedex.db.tables.GrowthRate" title = "pokedex.db.tables.GrowthRate" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > GrowthRate< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the growth rate< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > Experience.< strong > level< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The level< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > Experience.< strong > experience< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The number of EXP points needed to get to that level< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
2012-06-09 07:19:53 +00:00
< / div >
< div class = "section" id = "dex-table-palpark" >
< h3 > PalPark< a class = "headerlink" href = "#dex-table-palpark" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.PalPark" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > PalPark< / tt > < a class = "headerlink" href = "#pokedex.db.tables.PalPark" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Pal Park encounter info< / p >
< p > Table name: < em > pal_park< / em >
(single: < em > pal_park< / em > )< / p >
< p > Primary key: < strong > species_id< / strong > .< / p >
< hr > < p > Columns:< / p >
< p > PalPark.< strong > species< / strong > (species_id → < a class = "reference internal" href = "#pokedex.db.tables.PokemonSpecies" title = "pokedex.db.tables.PokemonSpecies" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PokemonSpecies< / span > < / tt > < / a > .id)< / p >
< blockquote >
< div > ID of the Pokémon species this data pertains to< / div > < / blockquote >
< p > PalPark.< strong > area< / strong > (area_id → < a class = "reference internal" href = "#pokedex.db.tables.PalParkArea" title = "pokedex.db.tables.PalParkArea" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > PalParkArea< / span > < / tt > < / a > .id)< / p >
< blockquote >
< div > The area in which this Pokémon can be found< / div > < / blockquote >
< p > PalPark.< strong > base_score< / strong > (< em > int< / em > ):< / p >
< blockquote >
< div > Value used in calculating the player’ s score in a Pal Park run< / div > < / blockquote >
< p > PalPark.< strong > rate< / strong > (< em > int< / em > ):< / p >
< blockquote >
< div > Base rate for encountering this Pokémon< / div > < / blockquote >
< / dd > < / dl >
2011-11-18 23:36:39 +00:00
< / div >
< div class = "section" id = "dex-table-stathint" >
< h3 > StatHint< a class = "headerlink" href = "#dex-table-stathint" title = "Permalink to this headline" > ¶< / a > < / h3 >
< dl class = "dex-table" >
< dt id = "pokedex.db.tables.StatHint" >
< tt class = "descclassname" > pokedex.db.tables.< / tt > < tt class = "descname" > StatHint< / tt > < a class = "headerlink" href = "#pokedex.db.tables.StatHint" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Flavor text for genes that appears in a Pokémon’ s summary. Sometimes
2012-02-12 23:14:24 +00:00
called “ characteristics” .< / p >
2011-11-18 23:36:39 +00:00
< p > Table name: < em > stat_hints< / em >
(single: < em > stat_hint< / em > )< / p >
2012-06-09 07:19:53 +00:00
< p > Primary key: < strong > id< / strong > .< / p >
2011-11-18 23:36:39 +00:00
< p > Has
< strong > id< / strong > .< / p >
2012-02-12 23:14:24 +00:00
< hr > < p > Columns:< / p >
< p > StatHint.< strong > stat< / strong > (stat_id → < a class = "reference internal" href = "#pokedex.db.tables.Stat" title = "pokedex.db.tables.Stat" > < tt class = "xref py py-class docutils literal" > < span class = "pre" > Stat< / span > < / tt > < / a > .id)< / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > ID of the highest stat< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< p > StatHint.< strong > gene_mod_5< / strong > (< em > int< / em > ):< / p >
< blockquote >
2012-02-12 23:14:24 +00:00
< div > Value of the highest stat modulo 5< / div > < / blockquote >
< hr > < p > Internationalized strings:< / p >
< p > StatHint.< strong > message< / strong > (< em > unicode – plaintext< / em > ) via < em > stat_hint_names< / em > < / p >
2011-11-18 23:36:39 +00:00
< blockquote >
2012-02-12 23:14:24 +00:00
< div > The text displayed< / div > < / blockquote >
2011-11-18 23:36:39 +00:00
< / dd > < / dl >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< div class = "sphinxsidebar" >
< div class = "sphinxsidebarwrapper" >
< h3 > < a href = "index.html" > Table Of Contents< / a > < / h3 >
< ul >
< li > < a class = "reference internal" href = "#" > The pokédex tables< / a > < ul >
< li > < a class = "reference internal" href = "#pokemon" > Pokémon< / a > < ul >
< li > < a class = "reference internal" href = "#dex-table-pokemonspecies" > PokemonSpecies< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-pokemon" > Pokemon< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-pokemonform" > PokemonForm< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-evolutionchain" > EvolutionChain< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-pokemonevolution" > PokemonEvolution< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#moves" > Moves< / a > < ul >
< li > < a class = "reference internal" href = "#dex-table-move" > Move< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-moveeffect" > MoveEffect< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-movemeta" > MoveMeta< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#items" > Items< / a > < ul >
< li > < a class = "reference internal" href = "#dex-table-item" > Item< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-berry" > Berry< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#types" > Types< / a > < ul >
< li > < a class = "reference internal" href = "#dex-table-type" > Type< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#abilities" > Abilities< / a > < ul >
< li > < a class = "reference internal" href = "#dex-table-ability" > Ability< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#language" > Language< / a > < ul >
< li > < a class = "reference internal" href = "#dex-table-language" > Language< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#version-stuff" > Version stuff< / a > < ul >
< li > < a class = "reference internal" href = "#dex-table-generation" > Generation< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-versiongroup" > VersionGroup< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-version" > Version< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-pokedex" > Pokedex< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-region" > Region< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#encounters" > Encounters< / a > < ul >
< li > < a class = "reference internal" href = "#dex-table-location" > Location< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-locationarea" > LocationArea< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-locationareaencounterrate" > LocationAreaEncounterRate< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-encounter" > Encounter< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-encountercondition" > EncounterCondition< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-encounterconditionvalue" > EncounterConditionValue< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-encountermethod" > EncounterMethod< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-encounterslot" > EncounterSlot< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#contests" > Contests< / a > < ul >
< li > < a class = "reference internal" href = "#dex-table-contestcombo" > ContestCombo< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-contesteffect" > ContestEffect< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-supercontestcombo" > SuperContestCombo< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-supercontesteffect" > SuperContestEffect< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#enum-tables" > Enum tables< / a > < ul >
< li > < a class = "reference internal" href = "#dex-table-berryfirmness" > BerryFirmness< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-contesttype" > ContestType< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-egggroup" > EggGroup< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-evolutiontrigger" > EvolutionTrigger< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-growthrate" > GrowthRate< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-itemcategory" > ItemCategory< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-itemflingeffect" > ItemFlingEffect< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-itempocket" > ItemPocket< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-movebattlestyle" > MoveBattleStyle< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-movedamageclass" > MoveDamageClass< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-movemetaailment" > MoveMetaAilment< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-movemetacategory" > MoveMetaCategory< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-movetarget" > MoveTarget< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-nature" > Nature< / a > < / li >
2012-06-09 07:19:53 +00:00
< li > < a class = "reference internal" href = "#dex-table-palparkarea" > PalParkArea< / a > < / li >
2011-11-18 23:36:39 +00:00
< li > < a class = "reference internal" href = "#dex-table-pokemoncolor" > PokemonColor< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-pokemonmovemethod" > PokemonMoveMethod< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-pokemonshape" > PokemonShape< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-stat" > Stat< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#changelogs" > Changelogs< / a > < ul >
< li > < a class = "reference internal" href = "#dex-table-abilitychangelog" > AbilityChangelog< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-moveeffectchangelog" > MoveEffectChangelog< / a > < / li >
2012-02-12 23:14:24 +00:00
< li > < a class = "reference internal" href = "#dex-table-movechangelog" > MoveChangelog< / a > < / li >
2011-11-18 23:36:39 +00:00
< / ul >
< / li >
< li > < a class = "reference internal" href = "#flavor-text" > Flavor text< / a > < ul >
< li > < a class = "reference internal" href = "#dex-table-itemflavortext" > ItemFlavorText< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-abilityflavortext" > AbilityFlavorText< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-moveflavortext" > MoveFlavorText< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-pokemonspeciesflavortext" > PokemonSpeciesFlavorText< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#association-tables" > Association tables< / a > < ul >
< li > < a class = "reference internal" href = "#dex-table-berryflavor" > BerryFlavor< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-encounterconditionvaluemap" > EncounterConditionValueMap< / a > < / li >
2012-02-12 23:14:24 +00:00
< li > < a class = "reference internal" href = "#dex-table-itemflag" > ItemFlag< / a > < / li >
2011-11-18 23:36:39 +00:00
< li > < a class = "reference internal" href = "#dex-table-itemflagmap" > ItemFlagMap< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-machine" > Machine< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-moveflag" > MoveFlag< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-moveflagmap" > MoveFlagMap< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-movemetastatchange" > MoveMetaStatChange< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-naturebattlestylepreference" > NatureBattleStylePreference< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-naturepokeathlonstat" > NaturePokeathlonStat< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-pokeathlonstat" > PokeathlonStat< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-pokemonability" > PokemonAbility< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-pokemonegggroup" > PokemonEggGroup< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-pokemonformpokeathlonstat" > PokemonFormPokeathlonStat< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-pokemonhabitat" > PokemonHabitat< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-pokemonmove" > PokemonMove< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-pokemonstat" > PokemonStat< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-pokemonitem" > PokemonItem< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-pokemontype" > PokemonType< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-typeefficacy" > TypeEfficacy< / a > < / li >
2012-06-09 07:19:53 +00:00
< li > < a class = "reference internal" href = "#dex-table-versiongrouppokemonmovemethod" > VersionGroupPokemonMoveMethod< / a > < / li >
2011-11-18 23:36:39 +00:00
< li > < a class = "reference internal" href = "#dex-table-versiongroupregion" > VersionGroupRegion< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#index-maps" > Index maps< / a > < ul >
< li > < a class = "reference internal" href = "#dex-table-itemgameindex" > ItemGameIndex< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-locationgameindex" > LocationGameIndex< / a > < / li >
< li > < a class = "reference internal" href = "#dex-table-pokemondexnumber" > PokemonDexNumber< / a > < / li >
2012-06-09 07:19:53 +00:00
< li > < a class = "reference internal" href = "#dex-table-pokemonformgeneration" > PokemonFormGeneration< / a > < / li >
2011-11-18 23:36:39 +00:00
< li > < a class = "reference internal" href = "#dex-table-pokemongameindex" > PokemonGameIndex< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#mics-tables" > Mics tables< / a > < ul >
< li > < a class = "reference internal" href = "#dex-table-experience" > Experience< / a > < / li >
2012-06-09 07:19:53 +00:00
< li > < a class = "reference internal" href = "#dex-table-palpark" > PalPark< / a > < / li >
2011-11-18 23:36:39 +00:00
< li > < a class = "reference internal" href = "#dex-table-stathint" > StatHint< / a > < / li >
< / ul >
< / li >
< / ul >
< / li >
< / ul >
< h4 > Previous topic< / h4 >
< p class = "topless" > < a href = "schema.html"
title="previous chapter">The database schema< / a > < / p >
< h3 > This Page< / h3 >
< ul class = "this-page-menu" >
< li > < a href = "_sources/main-tables.txt"
rel="nofollow">Show Source< / a > < / li >
< / ul >
< div id = "searchbox" style = "display: none" >
< h3 > Quick search< / h3 >
< form class = "search" action = "search.html" method = "get" >
2012-02-12 23:14:24 +00:00
< input type = "text" name = "q" / >
2011-11-18 23:36:39 +00:00
< input type = "submit" value = "Go" / >
< input type = "hidden" name = "check_keywords" value = "yes" / >
< input type = "hidden" name = "area" value = "default" / >
< / form >
< p class = "searchtip" style = "font-size: 90%" >
Enter search terms or a module, class or function name.
< / p >
< / div >
< script type = "text/javascript" > $ ( '#searchbox' ) . show ( 0 ) ; < / script >
< / div >
< / div >
< div class = "clearer" > < / div >
< / div >
< div class = "related" >
< h3 > Navigation< / h3 >
< ul >
< li class = "right" style = "margin-right: 10px" >
< a href = "genindex.html" title = "General Index"
>index< / a > < / li >
< li class = "right" >
< a href = "py-modindex.html" title = "Python Module Index"
>modules< / a > |< / li >
< li class = "right" >
< a href = "schema.html" title = "The database schema"
>previous< / a > |< / li >
2012-02-12 23:14:24 +00:00
< li > < a href = "index.html" > pokedex 0.1 documentation< / a > » < / li >
2011-11-18 23:36:39 +00:00
< li > < a href = "schema.html" > The database schema< / a > » < / li >
< / ul >
< / div >
< div class = "footer" >
2012-06-09 07:19:53 +00:00
Created using < a href = "http://sphinx.pocoo.org/" > Sphinx< / a > 1.1.3.
2011-11-18 23:36:39 +00:00
< / div >
< / body >
< / html >