Added remaining Pokémon form data. #5

Types, abilities, egg groups, and stats for Shaymin, Giratina, and Rotom forms.
Updated height and weight for Shaymin and Giratina forms.
Added Giratina's form descriptions and updated Shaymin's to mention link
battles and freezing.
This commit is contained in:
Eevee 2009-06-20 22:32:37 -07:00
parent f9391b409a
commit 4397dfbb0c
7 changed files with 105 additions and 12 deletions

View file

@ -384,7 +384,7 @@ id,name,forme_name,forme_base_pokemon_id,generation_id,evolution_chain_id,evolut
383,Groudon,,,3,199,,,,35,9500,Continent,red,6,rough terrain,-1,5,218,0,,0,0,0 383,Groudon,,,3,199,,,,35,9500,Continent,red,6,rough terrain,-1,5,218,0,,0,0,0
384,Rayquaza,,,3,200,,,,70,2065,Sky High,green,2,rare,-1,3,220,0,,0,0,0 384,Rayquaza,,,3,200,,,,70,2065,Sky High,green,2,rare,-1,3,220,0,,0,0,0
385,Jirachi,,,3,201,,,,3,11,Wish,yellow,12,mountain,-1,3,215,100,,0,0,0 385,Jirachi,,,3,201,,,,3,11,Wish,yellow,12,mountain,-1,3,215,100,,0,0,0
386,Deoxys,normal,,3,202,,,,17,608,DNA,red,12,rare,-1,3,215,0,,0,0,0 386,Deoxys,,,3,202,,,,17,608,DNA,red,12,rare,-1,3,215,0,,0,0,0
387,Turtwig,,,4,203,,,,4,102,Tiny Leaf,green,8,,1,45,64,70,,0,0,0 387,Turtwig,,,4,203,,,,4,102,Tiny Leaf,green,8,,1,45,64,70,,0,0,0
388,Grotle,,,4,203,387,1,18,11,970,Grove,green,8,,1,45,141,70,,0,0,0 388,Grotle,,,4,203,387,1,18,11,970,Grove,green,8,,1,45,141,70,,0,0,0
389,Torterra,,,4,203,388,1,32,22,3100,Continent,green*,8,,1,45,208,70,,0,0,0 389,Torterra,,,4,203,388,1,32,22,3100,Continent,green*,8,,1,45,208,70,,0,0,0
@ -411,7 +411,7 @@ id,name,forme_name,forme_base_pokemon_id,generation_id,evolution_chain_id,evolut
410,Shieldon,,,4,212,,,,5,570,Shield,gray,8,,1,45,99,70,,0,0,0 410,Shieldon,,,4,212,,,,5,570,Shield,gray,8,,1,45,99,70,,0,0,0
411,Bastiodon,,,4,212,410,1,30,13,1495,Shield,gray,8,,1,45,199,70,,0,0,0 411,Bastiodon,,,4,212,410,1,30,13,1495,Shield,gray,8,,1,45,199,70,,0,0,0
412,Burmy,,,4,213,,,,2,34,Bagworm,gray,2,,4,120,61,70,,0,0,0 412,Burmy,,,4,213,,,,2,34,Bagworm,gray,2,,4,120,61,70,,0,0,0
413,Wormadam,grass,,4,213,412,3,20,5,65,Bagworm,gray,2,,8,45,159,70,,0,0,0 413,Wormadam,plant,,4,213,412,3,20,5,65,Bagworm,gray,2,,8,45,159,70,,0,0,0
414,Mothim,,,4,213,412,2,20,9,233,Moth,yellow,13,,0,45,159,70,,0,0,0 414,Mothim,,,4,213,412,2,20,9,233,Moth,yellow,13,,0,45,159,70,,0,0,0
415,Combee,,,4,214,,,,3,55,Tiny Bee,yellow,11,,1,120,63,70,,0,1,0 415,Combee,,,4,214,,,,3,55,Tiny Bee,yellow,11,,1,120,63,70,,0,1,0
416,Vespiquen,,,4,214,415,3,21,12,385,Beehive,yellow,9,,8,45,188,70,,0,0,0 416,Vespiquen,,,4,214,415,3,21,12,385,Beehive,yellow,9,,8,45,188,70,,0,0,0
@ -492,15 +492,15 @@ id,name,forme_name,forme_base_pokemon_id,generation_id,evolution_chain_id,evolut
491,Darkrai,,,4,252,,,,15,505,Pitch-Black,black,12,,-1,3,210,0,,0,0,0 491,Darkrai,,,4,252,,,,15,505,Pitch-Black,black,12,,-1,3,210,0,,0,0,0
492,Shaymin,land,,4,253,,,,2,21,Gratitude,green,8,,-1,45,64,100,,0,0,0 492,Shaymin,land,,4,253,,,,2,21,Gratitude,green,8,,-1,45,64,100,,0,0,0
493,Arceus,,,4,254,,,,32,3200,Alpha,gray,8,,-1,3,255,0,,0,0,0 493,Arceus,,,4,254,,,,32,3200,Alpha,gray,8,,-1,3,255,0,,0,0,0
494,Pokemon494,,,,,,,,0,0,,,0,,-1,3,255,0,,0,0,0 494,Pokemon494,,,4,,,,,0,0,,,0,,-1,3,255,0,,0,0,0
495,Pokemon495,,,,,,,,0,0,,,0,,-1,3,255,0,,0,0,0 495,Pokemon495,,,4,,,,,0,0,,,0,,-1,3,255,0,,0,0,0
496,Deoxys,attack,386,,202,,,,17,608,DNA,red,12,rare,-1,3,215,0,,0,0,0 496,Deoxys,attack,386,4,202,,,,17,608,DNA,red,12,rare,-1,3,215,0,,0,0,0
497,Deoxys,defense,386,,202,,,,17,608,DNA,red,12,rare,-1,3,215,0,,0,0,0 497,Deoxys,defense,386,4,202,,,,17,608,DNA,red,12,rare,-1,3,215,0,,0,0,0
498,Deoxys,speed,386,,202,,,,17,608,DNA,red,12,rare,-1,3,215,0,,0,0,0 498,Deoxys,speed,386,4,202,,,,17,608,DNA,red,12,rare,-1,3,215,0,,0,0,0
499,Wormadam,ground,413,,213,412,3,20,5,65,Bagworm,gray,2,,8,45,159,70,,0,0,0 499,Wormadam,sandy,413,4,213,412,3,20,5,65,Bagworm,gray,2,,8,45,159,70,,0,0,0
500,Wormadam,steel,413,,213,412,3,20,5,65,Bagworm,gray,2,,8,45,159,70,,0,0,0 500,Wormadam,trash,413,4,213,412,3,20,5,65,Bagworm,gray,2,,8,45,159,70,,0,0,0
501,Giratina,origin,487,4,248,,,,45,7500,Renegade,black,10,,-1,3,220,0,,0,0,0 501,Giratina,origin,487,4,248,,,,69,6500,Renegade,black,10,,-1,3,220,0,,0,0,0
502,Shaymin,sky,492,4,253,,,,2,21,Gratitude,green,8,,-1,45,64,100,,0,0,0 502,Shaymin,sky,492,4,253,,,,4,52,Gratitude,green,8,,-1,45,64,100,,0,0,0
503,Rotom,heat,479,4,240,,,,3,3,Plasma,red,1,,-1,45,132,70,,0,0,0 503,Rotom,heat,479,4,240,,,,3,3,Plasma,red,1,,-1,45,132,70,,0,0,0
504,Rotom,wash,479,4,240,,,,3,3,Plasma,red,1,,-1,45,132,70,,0,0,0 504,Rotom,wash,479,4,240,,,,3,3,Plasma,red,1,,-1,45,132,70,,0,0,0
505,Rotom,frost,479,4,240,,,,3,3,Plasma,red,1,,-1,45,132,70,,0,0,0 505,Rotom,frost,479,4,240,,,,3,3,Plasma,red,1,,-1,45,132,70,,0,0,0

1 id name forme_name forme_base_pokemon_id generation_id evolution_chain_id evolution_parent_pokemon_id evolution_method_id evolution_parameter height weight species color pokemon_shape_id habitat gender_rate capture_rate base_experience base_happiness gen1_internal_id is_baby has_gen4_fem_sprite has_gen4_fem_back_sprite
384 383 Groudon 3 199 35 9500 Continent red 6 rough terrain -1 5 218 0 0 0 0
385 384 Rayquaza 3 200 70 2065 Sky High green 2 rare -1 3 220 0 0 0 0
386 385 Jirachi 3 201 3 11 Wish yellow 12 mountain -1 3 215 100 0 0 0
387 386 Deoxys normal 3 202 17 608 DNA red 12 rare -1 3 215 0 0 0 0
388 387 Turtwig 4 203 4 102 Tiny Leaf green 8 1 45 64 70 0 0 0
389 388 Grotle 4 203 387 1 18 11 970 Grove green 8 1 45 141 70 0 0 0
390 389 Torterra 4 203 388 1 32 22 3100 Continent green* 8 1 45 208 70 0 0 0
411 410 Shieldon 4 212 5 570 Shield gray 8 1 45 99 70 0 0 0
412 411 Bastiodon 4 212 410 1 30 13 1495 Shield gray 8 1 45 199 70 0 0 0
413 412 Burmy 4 213 2 34 Bagworm gray 2 4 120 61 70 0 0 0
414 413 Wormadam grass plant 4 213 412 3 20 5 65 Bagworm gray 2 8 45 159 70 0 0 0
415 414 Mothim 4 213 412 2 20 9 233 Moth yellow 13 0 45 159 70 0 0 0
416 415 Combee 4 214 3 55 Tiny Bee yellow 11 1 120 63 70 0 1 0
417 416 Vespiquen 4 214 415 3 21 12 385 Beehive yellow 9 8 45 188 70 0 0 0
492 491 Darkrai 4 252 15 505 Pitch-Black black 12 -1 3 210 0 0 0 0
493 492 Shaymin land 4 253 2 21 Gratitude green 8 -1 45 64 100 0 0 0
494 493 Arceus 4 254 32 3200 Alpha gray 8 -1 3 255 0 0 0 0
495 494 Pokemon494 4 0 0 0 -1 3 255 0 0 0 0
496 495 Pokemon495 4 0 0 0 -1 3 255 0 0 0 0
497 496 Deoxys attack 386 4 202 17 608 DNA red 12 rare -1 3 215 0 0 0 0
498 497 Deoxys defense 386 4 202 17 608 DNA red 12 rare -1 3 215 0 0 0 0
499 498 Deoxys speed 386 4 202 17 608 DNA red 12 rare -1 3 215 0 0 0 0
500 499 Wormadam ground sandy 413 4 213 412 3 20 5 65 Bagworm gray 2 8 45 159 70 0 0 0
501 500 Wormadam steel trash 413 4 213 412 3 20 5 65 Bagworm gray 2 8 45 159 70 0 0 0
502 501 Giratina origin 487 4 248 45 69 7500 6500 Renegade black 10 -1 3 220 0 0 0 0
503 502 Shaymin sky 492 4 253 2 4 21 52 Gratitude green 8 -1 45 64 100 0 0 0
504 503 Rotom heat 479 4 240 3 3 Plasma red 1 -1 45 132 70 0 0 0
505 504 Rotom wash 479 4 240 3 3 Plasma red 1 -1 45 132 70 0 0 0
506 505 Rotom frost 479 4 240 3 3 Plasma red 1 -1 45 132 70 0 0 0

View file

@ -203,6 +203,12 @@ pokemon_id,ability_id,slot
481,26,1 481,26,1
482,26,1 482,26,1
488,26,1 488,26,1
501,26,1
503,26,1
504,26,1
505,26,1
506,26,1
507,26,1
46,27,1 46,27,1
47,27,1 47,27,1
285,27,1 285,27,1
@ -256,6 +262,7 @@ pokemon_id,ability_id,slot
385,32,1 385,32,1
440,32,2 440,32,2
468,32,1 468,32,1
502,32,1
116,33,1 116,33,1
118,33,1 118,33,1
119,33,1 119,33,1

1 pokemon_id ability_id slot
203 481 26 1
204 482 26 1
205 488 26 1
206 501 26 1
207 503 26 1
208 504 26 1
209 505 26 1
210 506 26 1
211 507 26 1
212 46 27 1
213 47 27 1
214 285 27 1
262 385 32 1
263 440 32 2
264 468 32 1
265 502 32 1
266 116 33 1
267 118 33 1
268 119 33 1

View file

@ -539,6 +539,11 @@ pokemon_id,egg_group_id
475,11 475,11
477,11 477,11
479,11 479,11
503,11
504,11
505,11
506,11
507,11
118,12 118,12
119,12 119,12
129,12 129,12
@ -645,3 +650,5 @@ pokemon_id,egg_group_id
496,15 496,15
497,15 497,15
498,15 498,15
501,15
502,15

1 pokemon_id egg_group_id
539 475 11
540 477 11
541 479 11
542 503 11
543 504 11
544 505 11
545 506 11
546 507 11
547 118 12
548 119 12
549 129 12
650 496 15
651 497 15
652 498 15
653 501 15
654 502 15

View file

@ -8,5 +8,6 @@ pokemon_id,description
422,Forms only affect appearance. A form is selected before a wild encounter based on whether the battle is in Western or Eastern Sinnoh and cannot be changed. 422,Forms only affect appearance. A form is selected before a wild encounter based on whether the battle is in Western or Eastern Sinnoh and cannot be changed.
423,Forms only affect appearance. A form is selected before a wild encounter based on whether the battle is in Western or Eastern Sinnoh and cannot be changed. 423,Forms only affect appearance. A form is selected before a wild encounter based on whether the battle is in Western or Eastern Sinnoh and cannot be changed.
479,"Forms have different signature moves. When switching forms, the old signature move is removed and the new one, if any, is learned immediately. In a secret room in the Galactic Eterna Building, accessible only with a Secret Key, there are appliances that can be used to switch between forms." 479,"Forms have different signature moves. When switching forms, the old signature move is removed and the new one, if any, is learned immediately. In a secret room in the Galactic Eterna Building, accessible only with a Secret Key, there are appliances that can be used to switch between forms."
492,"Forms have different stats and movepools. After using Gracidea, Sky form will be active during daytime; otherwise, only Land form is active. Gracidea only works on an official event Shaymin." 487,"Forms have different stats. Giratina becomes Origin form in Distortion World or while holding a Griseous Orb. Otherwise, or during a link battle, Giratina will be in Altered form."
492,"Forms have different stats and movepools. After using a Gracidea, Shaymin will transform into Sky form during the daytime. If a Gracidea is not used, it is currently nighttime, during a link battle, or Sky form is Frozen, Shaymin will be in Land form. Gracidea only works on an official event Shaymin."
493,"Form always reflects type, which may be changed by attaching a Plate and activating Multitype." 493,"Form always reflects type, which may be changed by attaching a Plate and activating Multitype."

1 pokemon_id description
8 422 Forms only affect appearance. A form is selected before a wild encounter based on whether the battle is in Western or Eastern Sinnoh and cannot be changed.
9 423 Forms only affect appearance. A form is selected before a wild encounter based on whether the battle is in Western or Eastern Sinnoh and cannot be changed.
10 479 Forms have different signature moves. When switching forms, the old signature move is removed and the new one, if any, is learned immediately. In a secret room in the Galactic Eterna Building, accessible only with a Secret Key, there are appliances that can be used to switch between forms.
11 492 487 Forms have different stats and movepools. After using Gracidea, Sky form will be active during daytime; otherwise, only Land form is active. Gracidea only works on an official event Shaymin. Forms have different stats. Giratina becomes Origin form in Distortion World or while holding a Griseous Orb. Otherwise, or during a link battle, Giratina will be in Altered form.
12 492 Forms have different stats and movepools. After using a Gracidea, Shaymin will transform into Sky form during the daytime. If a Gracidea is not used, it is currently nighttime, during a link battle, or Sky form is Frozen, Shaymin will be in Land form. Gracidea only works on an official event Shaymin.
13 493 Form always reflects type, which may be changed by attaching a Plate and activating Multitype.

View file

@ -2999,3 +2999,45 @@ pokemon_id,stat_id,base_stat,effort
500,4,69,0 500,4,69,0
500,5,95,1 500,5,95,1
500,6,36,0 500,6,36,0
501,1,150,3
501,2,120,0
501,3,100,0
501,4,120,0
501,5,100,0
501,6,90,0
502,1,100,3
502,2,103,0
502,3,75,0
502,4,120,0
502,5,75,0
502,6,127,0
503,1,50,0
503,2,65,0
503,3,107,0
503,4,105,1
503,5,107,0
503,6,86,1
504,1,50,0
504,2,65,0
504,3,107,0
504,4,105,1
504,5,107,0
504,6,86,1
505,1,50,0
505,2,65,0
505,3,107,0
505,4,105,1
505,5,107,0
505,6,86,1
506,1,50,0
506,2,65,0
506,3,107,0
506,4,105,1
506,5,107,0
506,6,86,1
507,1,50,0
507,2,65,0
507,3,107,0
507,4,105,1
507,5,107,0
507,6,86,1

1 pokemon_id stat_id base_stat effort
2999 500 4 69 0
3000 500 5 95 1
3001 500 6 36 0
3002 501 1 150 3
3003 501 2 120 0
3004 501 3 100 0
3005 501 4 120 0
3006 501 5 100 0
3007 501 6 90 0
3008 502 1 100 3
3009 502 2 103 0
3010 502 3 75 0
3011 502 4 120 0
3012 502 5 75 0
3013 502 6 127 0
3014 503 1 50 0
3015 503 2 65 0
3016 503 3 107 0
3017 503 4 105 1
3018 503 5 107 0
3019 503 6 86 1
3020 504 1 50 0
3021 504 2 65 0
3022 504 3 107 0
3023 504 4 105 1
3024 504 5 107 0
3025 504 6 86 1
3026 505 1 50 0
3027 505 2 65 0
3028 505 3 107 0
3029 505 4 105 1
3030 505 5 107 0
3031 505 6 86 1
3032 506 1 50 0
3033 506 2 65 0
3034 506 3 107 0
3035 506 4 105 1
3036 506 5 107 0
3037 506 6 86 1
3038 507 1 50 0
3039 507 2 65 0
3040 507 3 107 0
3041 507 4 105 1
3042 507 5 107 0
3043 507 6 86 1

View file

@ -170,6 +170,7 @@ pokemon_id,type_id,slot
468,3,2 468,3,2
469,3,2 469,3,2
472,3,2 472,3,2
502,3,2
1,4,2 1,4,2
2,4,2 2,4,2
3,4,2 3,4,2
@ -370,6 +371,12 @@ pokemon_id,type_id,slot
478,8,2 478,8,2
479,8,2 479,8,2
487,8,1 487,8,1
501,8,1
503,8,2
504,8,2
505,8,2
506,8,2
507,8,2
81,9,2 81,9,2
82,9,2 82,9,2
205,9,2 205,9,2
@ -576,6 +583,7 @@ pokemon_id,type_id,slot
465,12,1 465,12,1
470,12,1 470,12,1
492,12,1 492,12,1
502,12,1
25,13,1 25,13,1
26,13,1 26,13,1
81,13,1 81,13,1
@ -604,6 +612,11 @@ pokemon_id,type_id,slot
462,13,1 462,13,1
466,13,1 466,13,1
479,13,1 479,13,1
503,13,1
504,13,1
505,13,1
506,13,1
507,13,1
63,14,1 63,14,1
64,14,1 64,14,1
65,14,1 65,14,1
@ -701,6 +714,7 @@ pokemon_id,type_id,slot
483,16,2 483,16,2
484,16,2 484,16,2
487,16,2 487,16,2
501,16,2
197,17,1 197,17,1
198,17,1 198,17,1
215,17,1 215,17,1

1 pokemon_id type_id slot
170 468 3 2
171 469 3 2
172 472 3 2
173 502 3 2
174 1 4 2
175 2 4 2
176 3 4 2
371 478 8 2
372 479 8 2
373 487 8 1
374 501 8 1
375 503 8 2
376 504 8 2
377 505 8 2
378 506 8 2
379 507 8 2
380 81 9 2
381 82 9 2
382 205 9 2
583 465 12 1
584 470 12 1
585 492 12 1
586 502 12 1
587 25 13 1
588 26 13 1
589 81 13 1
612 462 13 1
613 466 13 1
614 479 13 1
615 503 13 1
616 504 13 1
617 505 13 1
618 506 13 1
619 507 13 1
620 63 14 1
621 64 14 1
622 65 14 1
714 483 16 2
715 484 16 2
716 487 16 2
717 501 16 2
718 197 17 1
719 198 17 1
720 215 17 1

View file

@ -180,6 +180,14 @@ class Move(TableBase):
super_contest_effect_id = Column(Integer, nullable=False) super_contest_effect_id = Column(Integer, nullable=False)
class Pokemon(TableBase): class Pokemon(TableBase):
"""The core to this whole mess.
Note that I use both 'forme' and 'form' in both code and the database. I
only use 'forme' when specifically referring to Pokémon that have multiple
distinct species as formsi.e., different stats or movesets. 'Form' is a
more general term referring to any variation within a species, including
purely cosmetic forms like Unown.
"""
__tablename__ = 'pokemon' __tablename__ = 'pokemon'
id = Column(Integer, primary_key=True, nullable=False) id = Column(Integer, primary_key=True, nullable=False)
name = Column(Unicode(20), nullable=False) name = Column(Unicode(20), nullable=False)
@ -225,6 +233,17 @@ class Pokemon(TableBase):
return "%s %s" % (self.forme_name.capitalize(), self.name) return "%s %s" % (self.forme_name.capitalize(), self.name)
return self.name return self.name
@property
def normal_form(self):
"""Returns the normal form for this Pokémon; i.e., this will return
regular Deoxys when called on any Deoxys form.
"""
if self.forme_base_pokemon:
return self.forme_base_pokemon
return self
class PokemonAbility(TableBase): class PokemonAbility(TableBase):
__tablename__ = 'pokemon_abilities' __tablename__ = 'pokemon_abilities'
pokemon_id = Column(Integer, ForeignKey('pokemon.id'), primary_key=True, nullable=False, autoincrement=False) pokemon_id = Column(Integer, ForeignKey('pokemon.id'), primary_key=True, nullable=False, autoincrement=False)
@ -332,6 +351,9 @@ LocationArea.location = relation(Location, backref='areas')
Pokemon.abilities = relation(Ability, secondary=PokemonAbility.__table__, Pokemon.abilities = relation(Ability, secondary=PokemonAbility.__table__,
order_by=PokemonAbility.slot, order_by=PokemonAbility.slot,
backref='pokemon') backref='pokemon')
Pokemon.formes = relation(Pokemon, primaryjoin=Pokemon.id==Pokemon.forme_base_pokemon_id,
backref=backref('forme_base_pokemon',
remote_side=[Pokemon.id]))
Pokemon.dex_numbers = relation(PokemonDexNumber, backref='pokemon') Pokemon.dex_numbers = relation(PokemonDexNumber, backref='pokemon')
Pokemon.egg_groups = relation(EggGroup, secondary=PokemonEggGroup.__table__, Pokemon.egg_groups = relation(EggGroup, secondary=PokemonEggGroup.__table__,
order_by=PokemonEggGroup.egg_group_id, order_by=PokemonEggGroup.egg_group_id,