Rearranged evolution table; added new B/W evolutions. #378

There are now (well, have been for a while) multiple ways to evolve
a Pokémon from its unique parent, so the current schema wasn't working.
The parent Pokémon has moved back to the main pokemon table, and
pokemon_evolution has grown an artificial primary key.

New evolution methods for Milotic, Leafeon, Glaceon, Magnezone, and
Probopass have been added.
This commit is contained in:
Eevee 2011-04-10 16:33:18 -07:00
parent 08bfd753e0
commit 28d81cc25f
3 changed files with 1003 additions and 1009 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,321 +1,326 @@
from_pokemon_id,to_pokemon_id,evolution_trigger_id,trigger_item_id,minimum_level,gender,location_id,held_item_id,time_of_day,known_move_id,minimum_happiness,minimum_beauty,relative_physical_stats,party_pokemon_id,trade_pokemon_id
id,evolved_pokemon_id,evolution_trigger_id,trigger_item_id,minimum_level,gender,location_id,held_item_id,time_of_day,known_move_id,minimum_happiness,minimum_beauty,relative_physical_stats,party_pokemon_id,trade_pokemon_id
1,2,1,,16,,,,,,,,,,
2,3,1,,32,,,,,,,,,,
4,5,1,,16,,,,,,,,,,
5,6,1,,36,,,,,,,,,,
7,8,1,,16,,,,,,,,,,
8,9,1,,36,,,,,,,,,,
10,11,1,,7,,,,,,,,,,
11,12,1,,10,,,,,,,,,,
13,14,1,,7,,,,,,,,,,
14,15,1,,10,,,,,,,,,,
16,17,1,,18,,,,,,,,,,
17,18,1,,36,,,,,,,,,,
19,20,1,,20,,,,,,,,,,
21,22,1,,20,,,,,,,,,,
23,24,1,,22,,,,,,,,,,
172,25,1,,,,,,,,220,,,,
25,26,3,83,,,,,,,,,,,
27,28,1,,22,,,,,,,,,,
29,30,1,,16,,,,,,,,,,
30,31,3,81,,,,,,,,,,,
32,33,1,,16,,,,,,,,,,
33,34,3,81,,,,,,,,,,,
173,35,1,,,,,,,,220,,,,
35,36,3,81,,,,,,,,,,,
37,38,3,82,,,,,,,,,,,
174,39,1,,,,,,,,220,,,,
39,40,3,81,,,,,,,,,,,
41,42,1,,22,,,,,,,,,,
43,44,1,,21,,,,,,,,,,
44,45,3,85,,,,,,,,,,,
46,47,1,,24,,,,,,,,,,
48,49,1,,31,,,,,,,,,,
50,51,1,,26,,,,,,,,,,
52,53,1,,28,,,,,,,,,,
54,55,1,,33,,,,,,,,,,
56,57,1,,28,,,,,,,,,,
58,59,3,82,,,,,,,,,,,
60,61,1,,25,,,,,,,,,,
61,62,3,84,,,,,,,,,,,
63,64,1,,16,,,,,,,,,,
64,65,2,,,,,,,,,,,,
66,67,1,,28,,,,,,,,,,
67,68,2,,,,,,,,,,,,
69,70,1,,21,,,,,,,,,,
70,71,3,85,,,,,,,,,,,
72,73,1,,30,,,,,,,,,,
74,75,1,,25,,,,,,,,,,
75,76,2,,,,,,,,,,,,
77,78,1,,40,,,,,,,,,,
79,80,1,,37,,,,,,,,,,
81,82,1,,30,,,,,,,,,,
84,85,1,,31,,,,,,,,,,
86,87,1,,34,,,,,,,,,,
88,89,1,,38,,,,,,,,,,
90,91,3,84,,,,,,,,,,,
92,93,1,,25,,,,,,,,,,
93,94,2,,,,,,,,,,,,
96,97,1,,26,,,,,,,,,,
98,99,1,,28,,,,,,,,,,
100,101,1,,30,,,,,,,,,,
102,103,3,85,,,,,,,,,,,
104,105,1,,28,,,,,,,,,,
236,106,1,,20,,,,,,,,1,,
236,107,1,,20,,,,,,,,-1,,
109,110,1,,35,,,,,,,,,,
111,112,1,,42,,,,,,,,,,
440,113,1,,,,,110,day,,,,,,
116,117,1,,32,,,,,,,,,,
118,119,1,,33,,,,,,,,,,
120,121,3,84,,,,,,,,,,,
439,122,1,,,,,,,102,,,,,
238,124,1,,30,,,,,,,,,,
239,125,1,,30,,,,,,,,,,
240,126,1,,30,,,,,,,,,,
129,130,1,,20,,,,,,,,,,
133,134,3,84,,,,,,,,,,,
133,135,3,83,,,,,,,,,,,
133,136,3,82,,,,,,,,,,,
138,139,1,,40,,,,,,,,,,
140,141,1,,40,,,,,,,,,,
446,143,1,,,,,,,,220,,,,
147,148,1,,30,,,,,,,,,,
148,149,1,,55,,,,,,,,,,
152,153,1,,16,,,,,,,,,,
153,154,1,,32,,,,,,,,,,
155,156,1,,14,,,,,,,,,,
156,157,1,,36,,,,,,,,,,
158,159,1,,18,,,,,,,,,,
159,160,1,,30,,,,,,,,,,
161,162,1,,15,,,,,,,,,,
163,164,1,,20,,,,,,,,,,
165,166,1,,18,,,,,,,,,,
167,168,1,,22,,,,,,,,,,
42,169,1,,,,,,,,220,,,,
170,171,1,,27,,,,,,,,,,
175,176,1,,,,,,,,220,,,,
177,178,1,,25,,,,,,,,,,
179,180,1,,15,,,,,,,,,,
180,181,1,,30,,,,,,,,,,
44,182,3,80,,,,,,,,,,,
298,183,1,,,,,,,,220,,,,
183,184,1,,18,,,,,,,,,,
438,185,1,,,,,,,102,,,,,
61,186,2,,,,,198,,,,,,,
187,188,1,,18,,,,,,,,,,
188,189,1,,27,,,,,,,,,,
191,192,3,80,,,,,,,,,,,
194,195,1,,20,,,,,,,,,,
133,196,1,,,,,,day,,220,,,,
133,197,1,,,,,,night,,220,,,,
79,199,2,,,,,198,,,,,,,
360,202,1,,15,,,,,,,,,,
204,205,1,,31,,,,,,,,,,
95,208,2,,,,,210,,,,,,,
209,210,1,,23,,,,,,,,,,
123,212,2,,,,,210,,,,,,,
216,217,1,,30,,,,,,,,,,
218,219,1,,38,,,,,,,,,,
220,221,1,,33,,,,,,,,,,
223,224,1,,25,,,,,,,,,,
458,226,1,,,,,,,,,,,223,
228,229,1,,24,,,,,,,,,,
117,230,2,,,,,212,,,,,,,
231,232,1,,25,,,,,,,,,,
137,233,2,,,,,229,,,,,,,
236,237,1,,20,,,,,,,,0,,
113,242,1,,,,,,,,220,,,,
246,247,1,,30,,,,,,,,,,
247,248,1,,55,,,,,,,,,,
252,253,1,,16,,,,,,,,,,
253,254,1,,36,,,,,,,,,,
255,256,1,,16,,,,,,,,,,
256,257,1,,36,,,,,,,,,,
258,259,1,,16,,,,,,,,,,
259,260,1,,36,,,,,,,,,,
261,262,1,,18,,,,,,,,,,
263,264,1,,20,,,,,,,,,,
265,266,1,,7,,,,,,,,,,
266,267,1,,10,,,,,,,,,,
265,268,1,,7,,,,,,,,,,
268,269,1,,10,,,,,,,,,,
270,271,1,,14,,,,,,,,,,
271,272,3,84,,,,,,,,,,,
273,274,1,,14,,,,,,,,,,
274,275,3,85,,,,,,,,,,,
276,277,1,,22,,,,,,,,,,
278,279,1,,25,,,,,,,,,,
280,281,1,,20,,,,,,,,,,
281,282,1,,30,,,,,,,,,,
283,284,1,,22,,,,,,,,,,
285,286,1,,23,,,,,,,,,,
287,288,1,,18,,,,,,,,,,
288,289,1,,36,,,,,,,,,,
290,291,1,,20,,,,,,,,,,
290,292,4,,,,,,,,,,,,
293,294,1,,20,,,,,,,,,,
294,295,1,,40,,,,,,,,,,
296,297,1,,24,,,,,,,,,,
300,301,3,81,,,,,,,,,,,
304,305,1,,32,,,,,,,,,,
305,306,1,,42,,,,,,,,,,
307,308,1,,37,,,,,,,,,,
309,310,1,,26,,,,,,,,,,
406,315,1,,,,,,day,,220,,,,
316,317,1,,26,,,,,,,,,,
318,319,1,,30,,,,,,,,,,
320,321,1,,40,,,,,,,,,,
322,323,1,,33,,,,,,,,,,
325,326,1,,32,,,,,,,,,,
328,329,1,,35,,,,,,,,,,
329,330,1,,45,,,,,,,,,,
331,332,1,,32,,,,,,,,,,
333,334,1,,35,,,,,,,,,,
339,340,1,,30,,,,,,,,,,
341,342,1,,30,,,,,,,,,,
343,344,1,,36,,,,,,,,,,
345,346,1,,40,,,,,,,,,,
347,348,1,,40,,,,,,,,,,
349,350,1,,,,,,,,,171,,,
353,354,1,,37,,,,,,,,,,
355,356,1,,37,,,,,,,,,,
433,358,1,,,,,,night,,220,,,,
361,362,1,,42,,,,,,,,,,
363,364,1,,32,,,,,,,,,,
364,365,1,,44,,,,,,,,,,
366,367,2,,,,,203,,,,,,,
366,368,2,,,,,204,,,,,,,
371,372,1,,30,,,,,,,,,,
372,373,1,,50,,,,,,,,,,
374,375,1,,20,,,,,,,,,,
375,376,1,,45,,,,,,,,,,
387,388,1,,18,,,,,,,,,,
388,389,1,,32,,,,,,,,,,
390,391,1,,14,,,,,,,,,,
391,392,1,,36,,,,,,,,,,
393,394,1,,16,,,,,,,,,,
394,395,1,,36,,,,,,,,,,
396,397,1,,14,,,,,,,,,,
397,398,1,,34,,,,,,,,,,
399,400,1,,15,,,,,,,,,,
401,402,1,,10,,,,,,,,,,
403,404,1,,15,,,,,,,,,,
404,405,1,,30,,,,,,,,,,
315,407,3,107,,,,,,,,,,,
408,409,1,,30,,,,,,,,,,
410,411,1,,30,,,,,,,,,,
412,413,1,,20,female,,,,,,,,,
412,414,1,,20,male,,,,,,,,,
415,416,1,,21,female,,,,,,,,,
418,419,1,,26,,,,,,,,,,
420,421,1,,25,,,,,,,,,,
422,423,1,,30,,,,,,,,,,
190,424,1,,,,,,,458,,,,,
425,426,1,,28,,,,,,,,,,
427,428,1,,,,,,,,220,,,,
200,429,3,108,,,,,,,,,,,
198,430,3,108,,,,,,,,,,,
431,432,1,,38,,,,,,,,,,
434,435,1,,34,,,,,,,,,,
436,437,1,,33,,,,,,,,,,
443,444,1,,24,,,,,,,,,,
444,445,1,,48,,,,,,,,,,
447,448,1,,,,,,day,,220,,,,
449,450,1,,34,,,,,,,,,,
451,452,1,,40,,,,,,,,,,
453,454,1,,37,,,,,,,,,,
456,457,1,,31,,,,,,,,,,
459,460,1,,40,,,,,,,,,,
215,461,1,,,,,303,night,,,,,,
82,462,1,,,,10,,,,,,,,
108,463,1,,,,,,,205,,,,,
112,464,2,,,,,298,,,,,,,
114,465,1,,,,,,,246,,,,,
125,466,2,,,,,299,,,,,,,
126,467,2,,,,,300,,,,,,,
176,468,3,107,,,,,,,,,,,
193,469,1,,,,,,,246,,,,,
133,470,1,,,,8,,,,,,,,
133,471,1,,,,48,,,,,,,,
207,472,1,,,,,304,night,,,,,,
221,473,1,,,,,,,246,,,,,
233,474,2,,,,,301,,,,,,,
281,475,3,109,,male,,,,,,,,,
299,476,1,,,,10,,,,,,,,
356,477,2,,,,,302,,,,,,,
361,478,3,109,,female,,,,,,,,,
495,496,1,,17,,,,,,,,,,
496,497,1,,36,,,,,,,,,,
498,499,1,,17,,,,,,,,,,
499,500,1,,36,,,,,,,,,,
501,502,1,,17,,,,,,,,,,
502,503,1,,36,,,,,,,,,,
504,505,1,,20,,,,,,,,,,
506,507,1,,16,,,,,,,,,,
507,508,1,,32,,,,,,,,,,
509,510,1,,20,,,,,,,,,,
511,512,3,85,,,,,,,,,,,
513,514,3,82,,,,,,,,,,,
515,516,3,84,,,,,,,,,,,
517,518,3,81,,,,,,,,,,,
519,520,1,,21,,,,,,,,,,
520,521,1,,32,,,,,,,,,,
522,523,1,,27,,,,,,,,,,
524,525,1,,25,,,,,,,,,,
525,526,2,,,,,,,,,,,,
527,528,1,,,,,,,,220,,,,
529,530,1,,31,,,,,,,,,,
532,533,1,,25,,,,,,,,,,
533,534,2,,,,,,,,,,,,
535,536,1,,25,,,,,,,,,,
536,537,1,,36,,,,,,,,,,
540,541,1,,20,,,,,,,,,,
541,542,1,,,,,,,,220,,,,
543,544,1,,22,,,,,,,,,,
544,545,1,,30,,,,,,,,,,
546,547,3,80,,,,,,,,,,,
548,549,3,80,,,,,,,,,,,
551,552,1,,29,,,,,,,,,,
552,553,1,,40,,,,,,,,,,
554,555,1,,35,,,,,,,,,,
557,558,1,,34,,,,,,,,,,
559,560,1,,39,,,,,,,,,,
562,563,1,,34,,,,,,,,,,
564,565,1,,37,,,,,,,,,,
566,567,1,,37,,,,,,,,,,
568,569,1,,36,,,,,,,,,,
570,571,1,,30,,,,,,,,,,
572,573,3,107,,,,,,,,,,,
574,575,1,,32,,,,,,,,,,
575,576,1,,41,,,,,,,,,,
577,578,1,,32,,,,,,,,,,
578,579,1,,41,,,,,,,,,,
580,581,1,,35,,,,,,,,,,
582,583,1,,35,,,,,,,,,,
583,584,1,,47,,,,,,,,,,
585,586,1,,34,,,,,,,,,,
588,589,2,,,,,,,,,,,,616
590,591,1,,39,,,,,,,,,,
592,593,1,,40,,,,,,,,,,
595,596,1,,36,,,,,,,,,,
597,598,1,,40,,,,,,,,,,
599,600,1,,38,,,,,,,,,,
600,601,1,,49,,,,,,,,,,
602,603,1,,39,,,,,,,,,,
603,604,3,83,,,,,,,,,,,
605,606,1,,42,,,,,,,,,,
607,608,1,,41,,,,,,,,,,
608,609,3,108,,,,,,,,,,,
610,611,1,,38,,,,,,,,,,
611,612,1,,48,,,,,,,,,,
613,614,1,,37,,,,,,,,,,
616,617,2,,,,,,,,,,,,588
619,620,1,,50,,,,,,,,,,
622,623,1,,43,,,,,,,,,,
624,625,1,,52,,,,,,,,,,
627,628,1,,54,,,,,,,,,,
629,630,1,,54,,,,,,,,,,
633,634,1,,50,,,,,,,,,,
634,635,1,,64,,,,,,,,,,
636,637,1,,59,,,,,,,,,,
3,5,1,,16,,,,,,,,,,
4,6,1,,36,,,,,,,,,,
5,8,1,,16,,,,,,,,,,
6,9,1,,36,,,,,,,,,,
7,11,1,,7,,,,,,,,,,
8,12,1,,10,,,,,,,,,,
9,14,1,,7,,,,,,,,,,
10,15,1,,10,,,,,,,,,,
11,17,1,,18,,,,,,,,,,
12,18,1,,36,,,,,,,,,,
13,20,1,,20,,,,,,,,,,
14,22,1,,20,,,,,,,,,,
15,24,1,,22,,,,,,,,,,
16,25,1,,,,,,,,220,,,,
17,26,3,83,,,,,,,,,,,
18,28,1,,22,,,,,,,,,,
19,30,1,,16,,,,,,,,,,
20,31,3,81,,,,,,,,,,,
21,33,1,,16,,,,,,,,,,
22,34,3,81,,,,,,,,,,,
23,35,1,,,,,,,,220,,,,
24,36,3,81,,,,,,,,,,,
25,38,3,82,,,,,,,,,,,
26,39,1,,,,,,,,220,,,,
27,40,3,81,,,,,,,,,,,
28,42,1,,22,,,,,,,,,,
29,44,1,,21,,,,,,,,,,
30,45,3,85,,,,,,,,,,,
31,47,1,,24,,,,,,,,,,
32,49,1,,31,,,,,,,,,,
33,51,1,,26,,,,,,,,,,
34,53,1,,28,,,,,,,,,,
35,55,1,,33,,,,,,,,,,
36,57,1,,28,,,,,,,,,,
37,59,3,82,,,,,,,,,,,
38,61,1,,25,,,,,,,,,,
39,62,3,84,,,,,,,,,,,
40,64,1,,16,,,,,,,,,,
41,65,2,,,,,,,,,,,,
42,67,1,,28,,,,,,,,,,
43,68,2,,,,,,,,,,,,
44,70,1,,21,,,,,,,,,,
45,71,3,85,,,,,,,,,,,
46,73,1,,30,,,,,,,,,,
47,75,1,,25,,,,,,,,,,
48,76,2,,,,,,,,,,,,
49,78,1,,40,,,,,,,,,,
50,80,1,,37,,,,,,,,,,
51,82,1,,30,,,,,,,,,,
52,85,1,,31,,,,,,,,,,
53,87,1,,34,,,,,,,,,,
54,89,1,,38,,,,,,,,,,
55,91,3,84,,,,,,,,,,,
56,93,1,,25,,,,,,,,,,
57,94,2,,,,,,,,,,,,
58,97,1,,26,,,,,,,,,,
59,99,1,,28,,,,,,,,,,
60,101,1,,30,,,,,,,,,,
61,103,3,85,,,,,,,,,,,
62,105,1,,28,,,,,,,,,,
63,106,1,,20,,,,,,,,1,,
64,107,1,,20,,,,,,,,-1,,
65,110,1,,35,,,,,,,,,,
66,112,1,,42,,,,,,,,,,
67,113,1,,,,,110,day,,,,,,
68,117,1,,32,,,,,,,,,,
69,119,1,,33,,,,,,,,,,
70,121,3,84,,,,,,,,,,,
71,122,1,,,,,,,102,,,,,
72,124,1,,30,,,,,,,,,,
73,125,1,,30,,,,,,,,,,
74,126,1,,30,,,,,,,,,,
75,130,1,,20,,,,,,,,,,
76,134,3,84,,,,,,,,,,,
77,135,3,83,,,,,,,,,,,
78,136,3,82,,,,,,,,,,,
79,139,1,,40,,,,,,,,,,
80,141,1,,40,,,,,,,,,,
81,143,1,,,,,,,,220,,,,
82,148,1,,30,,,,,,,,,,
83,149,1,,55,,,,,,,,,,
84,153,1,,16,,,,,,,,,,
85,154,1,,32,,,,,,,,,,
86,156,1,,14,,,,,,,,,,
87,157,1,,36,,,,,,,,,,
88,159,1,,18,,,,,,,,,,
89,160,1,,30,,,,,,,,,,
90,162,1,,15,,,,,,,,,,
91,164,1,,20,,,,,,,,,,
92,166,1,,18,,,,,,,,,,
93,168,1,,22,,,,,,,,,,
94,169,1,,,,,,,,220,,,,
95,171,1,,27,,,,,,,,,,
96,176,1,,,,,,,,220,,,,
97,178,1,,25,,,,,,,,,,
98,180,1,,15,,,,,,,,,,
99,181,1,,30,,,,,,,,,,
100,182,3,80,,,,,,,,,,,
101,183,1,,,,,,,,220,,,,
102,184,1,,18,,,,,,,,,,
103,185,1,,,,,,,102,,,,,
104,186,2,,,,,198,,,,,,,
105,188,1,,18,,,,,,,,,,
106,189,1,,27,,,,,,,,,,
107,192,3,80,,,,,,,,,,,
108,195,1,,20,,,,,,,,,,
109,196,1,,,,,,day,,220,,,,
110,197,1,,,,,,night,,220,,,,
111,199,2,,,,,198,,,,,,,
112,202,1,,15,,,,,,,,,,
113,205,1,,31,,,,,,,,,,
114,208,2,,,,,210,,,,,,,
115,210,1,,23,,,,,,,,,,
116,212,2,,,,,210,,,,,,,
117,217,1,,30,,,,,,,,,,
118,219,1,,38,,,,,,,,,,
119,221,1,,33,,,,,,,,,,
120,224,1,,25,,,,,,,,,,
121,226,1,,,,,,,,,,,223,
122,229,1,,24,,,,,,,,,,
123,230,2,,,,,212,,,,,,,
124,232,1,,25,,,,,,,,,,
125,233,2,,,,,229,,,,,,,
126,237,1,,20,,,,,,,,0,,
127,242,1,,,,,,,,220,,,,
128,247,1,,30,,,,,,,,,,
129,248,1,,55,,,,,,,,,,
130,253,1,,16,,,,,,,,,,
131,254,1,,36,,,,,,,,,,
132,256,1,,16,,,,,,,,,,
133,257,1,,36,,,,,,,,,,
134,259,1,,16,,,,,,,,,,
135,260,1,,36,,,,,,,,,,
136,262,1,,18,,,,,,,,,,
137,264,1,,20,,,,,,,,,,
138,266,1,,7,,,,,,,,,,
139,267,1,,10,,,,,,,,,,
140,268,1,,7,,,,,,,,,,
141,269,1,,10,,,,,,,,,,
142,271,1,,14,,,,,,,,,,
143,272,3,84,,,,,,,,,,,
144,274,1,,14,,,,,,,,,,
145,275,3,85,,,,,,,,,,,
146,277,1,,22,,,,,,,,,,
147,279,1,,25,,,,,,,,,,
148,281,1,,20,,,,,,,,,,
149,282,1,,30,,,,,,,,,,
150,284,1,,22,,,,,,,,,,
151,286,1,,23,,,,,,,,,,
152,288,1,,18,,,,,,,,,,
153,289,1,,36,,,,,,,,,,
154,291,1,,20,,,,,,,,,,
155,292,4,,,,,,,,,,,,
156,294,1,,20,,,,,,,,,,
157,295,1,,40,,,,,,,,,,
158,297,1,,24,,,,,,,,,,
159,301,3,81,,,,,,,,,,,
160,305,1,,32,,,,,,,,,,
161,306,1,,42,,,,,,,,,,
162,308,1,,37,,,,,,,,,,
163,310,1,,26,,,,,,,,,,
164,315,1,,,,,,day,,220,,,,
165,317,1,,26,,,,,,,,,,
166,319,1,,30,,,,,,,,,,
167,321,1,,40,,,,,,,,,,
168,323,1,,33,,,,,,,,,,
169,326,1,,32,,,,,,,,,,
170,329,1,,35,,,,,,,,,,
171,330,1,,45,,,,,,,,,,
172,332,1,,32,,,,,,,,,,
173,334,1,,35,,,,,,,,,,
174,340,1,,30,,,,,,,,,,
175,342,1,,30,,,,,,,,,,
176,344,1,,36,,,,,,,,,,
177,346,1,,40,,,,,,,,,,
178,348,1,,40,,,,,,,,,,
179,350,1,,,,,,,,,171,,,
180,354,1,,37,,,,,,,,,,
181,356,1,,37,,,,,,,,,,
182,358,1,,,,,,night,,220,,,,
183,362,1,,42,,,,,,,,,,
184,364,1,,32,,,,,,,,,,
185,365,1,,44,,,,,,,,,,
186,367,2,,,,,203,,,,,,,
187,368,2,,,,,204,,,,,,,
188,372,1,,30,,,,,,,,,,
189,373,1,,50,,,,,,,,,,
190,375,1,,20,,,,,,,,,,
191,376,1,,45,,,,,,,,,,
192,388,1,,18,,,,,,,,,,
193,389,1,,32,,,,,,,,,,
194,391,1,,14,,,,,,,,,,
195,392,1,,36,,,,,,,,,,
196,394,1,,16,,,,,,,,,,
197,395,1,,36,,,,,,,,,,
198,397,1,,14,,,,,,,,,,
199,398,1,,34,,,,,,,,,,
200,400,1,,15,,,,,,,,,,
201,402,1,,10,,,,,,,,,,
202,404,1,,15,,,,,,,,,,
203,405,1,,30,,,,,,,,,,
204,407,3,107,,,,,,,,,,,
205,409,1,,30,,,,,,,,,,
206,411,1,,30,,,,,,,,,,
207,413,1,,20,female,,,,,,,,,
208,414,1,,20,male,,,,,,,,,
209,416,1,,21,female,,,,,,,,,
210,419,1,,26,,,,,,,,,,
211,421,1,,25,,,,,,,,,,
212,423,1,,30,,,,,,,,,,
213,424,1,,,,,,,458,,,,,
214,426,1,,28,,,,,,,,,,
215,428,1,,,,,,,,220,,,,
216,429,3,108,,,,,,,,,,,
217,430,3,108,,,,,,,,,,,
218,432,1,,38,,,,,,,,,,
219,435,1,,34,,,,,,,,,,
220,437,1,,33,,,,,,,,,,
221,444,1,,24,,,,,,,,,,
222,445,1,,48,,,,,,,,,,
223,448,1,,,,,,day,,220,,,,
224,450,1,,34,,,,,,,,,,
225,452,1,,40,,,,,,,,,,
226,454,1,,37,,,,,,,,,,
227,457,1,,31,,,,,,,,,,
228,460,1,,40,,,,,,,,,,
229,461,1,,,,,303,night,,,,,,
230,462,1,,,,10,,,,,,,,
231,463,1,,,,,,,205,,,,,
232,464,2,,,,,298,,,,,,,
233,465,1,,,,,,,246,,,,,
234,466,2,,,,,299,,,,,,,
235,467,2,,,,,300,,,,,,,
236,468,3,107,,,,,,,,,,,
237,469,1,,,,,,,246,,,,,
238,470,1,,,,8,,,,,,,,
239,471,1,,,,48,,,,,,,,
240,472,1,,,,,304,night,,,,,,
241,473,1,,,,,,,246,,,,,
242,474,2,,,,,301,,,,,,,
243,475,3,109,,male,,,,,,,,,
244,476,1,,,,10,,,,,,,,
245,477,2,,,,,302,,,,,,,
246,478,3,109,,female,,,,,,,,,
247,496,1,,17,,,,,,,,,,
248,497,1,,36,,,,,,,,,,
249,499,1,,17,,,,,,,,,,
250,500,1,,36,,,,,,,,,,
251,502,1,,17,,,,,,,,,,
252,503,1,,36,,,,,,,,,,
253,505,1,,20,,,,,,,,,,
254,507,1,,16,,,,,,,,,,
255,508,1,,32,,,,,,,,,,
256,510,1,,20,,,,,,,,,,
257,512,3,85,,,,,,,,,,,
258,514,3,82,,,,,,,,,,,
259,516,3,84,,,,,,,,,,,
260,518,3,81,,,,,,,,,,,
261,520,1,,21,,,,,,,,,,
262,521,1,,32,,,,,,,,,,
263,523,1,,27,,,,,,,,,,
264,525,1,,25,,,,,,,,,,
265,526,2,,,,,,,,,,,,
266,528,1,,,,,,,,220,,,,
267,530,1,,31,,,,,,,,,,
268,533,1,,25,,,,,,,,,,
269,534,2,,,,,,,,,,,,
270,536,1,,25,,,,,,,,,,
271,537,1,,36,,,,,,,,,,
272,541,1,,20,,,,,,,,,,
273,542,1,,,,,,,,220,,,,
274,544,1,,22,,,,,,,,,,
275,545,1,,30,,,,,,,,,,
276,547,3,80,,,,,,,,,,,
277,549,3,80,,,,,,,,,,,
278,552,1,,29,,,,,,,,,,
279,553,1,,40,,,,,,,,,,
280,555,1,,35,,,,,,,,,,
281,558,1,,34,,,,,,,,,,
282,560,1,,39,,,,,,,,,,
283,563,1,,34,,,,,,,,,,
284,565,1,,37,,,,,,,,,,
285,567,1,,37,,,,,,,,,,
286,569,1,,36,,,,,,,,,,
287,571,1,,30,,,,,,,,,,
288,573,3,107,,,,,,,,,,,
289,575,1,,32,,,,,,,,,,
290,576,1,,41,,,,,,,,,,
291,578,1,,32,,,,,,,,,,
292,579,1,,41,,,,,,,,,,
293,581,1,,35,,,,,,,,,,
294,583,1,,35,,,,,,,,,,
295,584,1,,47,,,,,,,,,,
296,586,1,,34,,,,,,,,,,
297,589,2,,,,,,,,,,,,616
298,591,1,,39,,,,,,,,,,
299,593,1,,40,,,,,,,,,,
300,596,1,,36,,,,,,,,,,
301,598,1,,40,,,,,,,,,,
302,600,1,,38,,,,,,,,,,
303,601,1,,49,,,,,,,,,,
304,603,1,,39,,,,,,,,,,
305,604,3,83,,,,,,,,,,,
306,606,1,,42,,,,,,,,,,
307,608,1,,41,,,,,,,,,,
308,609,3,108,,,,,,,,,,,
309,611,1,,38,,,,,,,,,,
310,612,1,,48,,,,,,,,,,
311,614,1,,37,,,,,,,,,,
312,617,2,,,,,,,,,,,,588
313,620,1,,50,,,,,,,,,,
314,623,1,,43,,,,,,,,,,
315,625,1,,52,,,,,,,,,,
316,628,1,,54,,,,,,,,,,
317,630,1,,54,,,,,,,,,,
318,634,1,,50,,,,,,,,,,
319,635,1,,64,,,,,,,,,,
320,637,1,,59,,,,,,,,,,
321,350,2,,,,,580,,,,,,,
322,462,1,,,,379,,,,,,,,
323,476,1,,,,379,,,,,,,,
324,470,1,,,,375,,,,,,,,
325,471,1,,,,380,,,,,,,,

1 from_pokemon_id id to_pokemon_id evolved_pokemon_id evolution_trigger_id trigger_item_id minimum_level gender location_id held_item_id time_of_day known_move_id minimum_happiness minimum_beauty relative_physical_stats party_pokemon_id trade_pokemon_id
2 1 1 2 1 16
3 2 2 3 1 32
4 4 3 5 1 16
5 5 4 6 1 36
6 7 5 8 1 16
7 8 6 9 1 36
8 10 7 11 1 7
9 11 8 12 1 10
10 13 9 14 1 7
11 14 10 15 1 10
12 16 11 17 1 18
13 17 12 18 1 36
14 19 13 20 1 20
15 21 14 22 1 20
16 23 15 24 1 22
17 172 16 25 1 220
18 25 17 26 3 83
19 27 18 28 1 22
20 29 19 30 1 16
21 30 20 31 3 81
22 32 21 33 1 16
23 33 22 34 3 81
24 173 23 35 1 220
25 35 24 36 3 81
26 37 25 38 3 82
27 174 26 39 1 220
28 39 27 40 3 81
29 41 28 42 1 22
30 43 29 44 1 21
31 44 30 45 3 85
32 46 31 47 1 24
33 48 32 49 1 31
34 50 33 51 1 26
35 52 34 53 1 28
36 54 35 55 1 33
37 56 36 57 1 28
38 58 37 59 3 82
39 60 38 61 1 25
40 61 39 62 3 84
41 63 40 64 1 16
42 64 41 65 2
43 66 42 67 1 28
44 67 43 68 2
45 69 44 70 1 21
46 70 45 71 3 85
47 72 46 73 1 30
48 74 47 75 1 25
49 75 48 76 2
50 77 49 78 1 40
51 79 50 80 1 37
52 81 51 82 1 30
53 84 52 85 1 31
54 86 53 87 1 34
55 88 54 89 1 38
56 90 55 91 3 84
57 92 56 93 1 25
58 93 57 94 2
59 96 58 97 1 26
60 98 59 99 1 28
61 100 60 101 1 30
62 102 61 103 3 85
63 104 62 105 1 28
64 236 63 106 1 20 1
65 236 64 107 1 20 -1
66 109 65 110 1 35
67 111 66 112 1 42
68 440 67 113 1 110 day
69 116 68 117 1 32
70 118 69 119 1 33
71 120 70 121 3 84
72 439 71 122 1 102
73 238 72 124 1 30
74 239 73 125 1 30
75 240 74 126 1 30
76 129 75 130 1 20
77 133 76 134 3 84
78 133 77 135 3 83
79 133 78 136 3 82
80 138 79 139 1 40
81 140 80 141 1 40
82 446 81 143 1 220
83 147 82 148 1 30
84 148 83 149 1 55
85 152 84 153 1 16
86 153 85 154 1 32
87 155 86 156 1 14
88 156 87 157 1 36
89 158 88 159 1 18
90 159 89 160 1 30
91 161 90 162 1 15
92 163 91 164 1 20
93 165 92 166 1 18
94 167 93 168 1 22
95 42 94 169 1 220
96 170 95 171 1 27
97 175 96 176 1 220
98 177 97 178 1 25
99 179 98 180 1 15
100 180 99 181 1 30
101 44 100 182 3 80
102 298 101 183 1 220
103 183 102 184 1 18
104 438 103 185 1 102
105 61 104 186 2 198
106 187 105 188 1 18
107 188 106 189 1 27
108 191 107 192 3 80
109 194 108 195 1 20
110 133 109 196 1 day 220
111 133 110 197 1 night 220
112 79 111 199 2 198
113 360 112 202 1 15
114 204 113 205 1 31
115 95 114 208 2 210
116 209 115 210 1 23
117 123 116 212 2 210
118 216 117 217 1 30
119 218 118 219 1 38
120 220 119 221 1 33
121 223 120 224 1 25
122 458 121 226 1 223
123 228 122 229 1 24
124 117 123 230 2 212
125 231 124 232 1 25
126 137 125 233 2 229
127 236 126 237 1 20 0
128 113 127 242 1 220
129 246 128 247 1 30
130 247 129 248 1 55
131 252 130 253 1 16
132 253 131 254 1 36
133 255 132 256 1 16
134 256 133 257 1 36
135 258 134 259 1 16
136 259 135 260 1 36
137 261 136 262 1 18
138 263 137 264 1 20
139 265 138 266 1 7
140 266 139 267 1 10
141 265 140 268 1 7
142 268 141 269 1 10
143 270 142 271 1 14
144 271 143 272 3 84
145 273 144 274 1 14
146 274 145 275 3 85
147 276 146 277 1 22
148 278 147 279 1 25
149 280 148 281 1 20
150 281 149 282 1 30
151 283 150 284 1 22
152 285 151 286 1 23
153 287 152 288 1 18
154 288 153 289 1 36
155 290 154 291 1 20
156 290 155 292 4
157 293 156 294 1 20
158 294 157 295 1 40
159 296 158 297 1 24
160 300 159 301 3 81
161 304 160 305 1 32
162 305 161 306 1 42
163 307 162 308 1 37
164 309 163 310 1 26
165 406 164 315 1 day 220
166 316 165 317 1 26
167 318 166 319 1 30
168 320 167 321 1 40
169 322 168 323 1 33
170 325 169 326 1 32
171 328 170 329 1 35
172 329 171 330 1 45
173 331 172 332 1 32
174 333 173 334 1 35
175 339 174 340 1 30
176 341 175 342 1 30
177 343 176 344 1 36
178 345 177 346 1 40
179 347 178 348 1 40
180 349 179 350 1 171
181 353 180 354 1 37
182 355 181 356 1 37
183 433 182 358 1 night 220
184 361 183 362 1 42
185 363 184 364 1 32
186 364 185 365 1 44
187 366 186 367 2 203
188 366 187 368 2 204
189 371 188 372 1 30
190 372 189 373 1 50
191 374 190 375 1 20
192 375 191 376 1 45
193 387 192 388 1 18
194 388 193 389 1 32
195 390 194 391 1 14
196 391 195 392 1 36
197 393 196 394 1 16
198 394 197 395 1 36
199 396 198 397 1 14
200 397 199 398 1 34
201 399 200 400 1 15
202 401 201 402 1 10
203 403 202 404 1 15
204 404 203 405 1 30
205 315 204 407 3 107
206 408 205 409 1 30
207 410 206 411 1 30
208 412 207 413 1 20 female
209 412 208 414 1 20 male
210 415 209 416 1 21 female
211 418 210 419 1 26
212 420 211 421 1 25
213 422 212 423 1 30
214 190 213 424 1 458
215 425 214 426 1 28
216 427 215 428 1 220
217 200 216 429 3 108
218 198 217 430 3 108
219 431 218 432 1 38
220 434 219 435 1 34
221 436 220 437 1 33
222 443 221 444 1 24
223 444 222 445 1 48
224 447 223 448 1 day 220
225 449 224 450 1 34
226 451 225 452 1 40
227 453 226 454 1 37
228 456 227 457 1 31
229 459 228 460 1 40
230 215 229 461 1 303 night
231 82 230 462 1 10
232 108 231 463 1 205
233 112 232 464 2 298
234 114 233 465 1 246
235 125 234 466 2 299
236 126 235 467 2 300
237 176 236 468 3 107
238 193 237 469 1 246
239 133 238 470 1 8
240 133 239 471 1 48
241 207 240 472 1 304 night
242 221 241 473 1 246
243 233 242 474 2 301
244 281 243 475 3 109 male
245 299 244 476 1 10
246 356 245 477 2 302
247 361 246 478 3 109 female
248 495 247 496 1 17
249 496 248 497 1 36
250 498 249 499 1 17
251 499 250 500 1 36
252 501 251 502 1 17
253 502 252 503 1 36
254 504 253 505 1 20
255 506 254 507 1 16
256 507 255 508 1 32
257 509 256 510 1 20
258 511 257 512 3 85
259 513 258 514 3 82
260 515 259 516 3 84
261 517 260 518 3 81
262 519 261 520 1 21
263 520 262 521 1 32
264 522 263 523 1 27
265 524 264 525 1 25
266 525 265 526 2
267 527 266 528 1 220
268 529 267 530 1 31
269 532 268 533 1 25
270 533 269 534 2
271 535 270 536 1 25
272 536 271 537 1 36
273 540 272 541 1 20
274 541 273 542 1 220
275 543 274 544 1 22
276 544 275 545 1 30
277 546 276 547 3 80
278 548 277 549 3 80
279 551 278 552 1 29
280 552 279 553 1 40
281 554 280 555 1 35
282 557 281 558 1 34
283 559 282 560 1 39
284 562 283 563 1 34
285 564 284 565 1 37
286 566 285 567 1 37
287 568 286 569 1 36
288 570 287 571 1 30
289 572 288 573 3 107
290 574 289 575 1 32
291 575 290 576 1 41
292 577 291 578 1 32
293 578 292 579 1 41
294 580 293 581 1 35
295 582 294 583 1 35
296 583 295 584 1 47
297 585 296 586 1 34
298 588 297 589 2 616
299 590 298 591 1 39
300 592 299 593 1 40
301 595 300 596 1 36
302 597 301 598 1 40
303 599 302 600 1 38
304 600 303 601 1 49
305 602 304 603 1 39
306 603 305 604 3 83
307 605 306 606 1 42
308 607 307 608 1 41
309 608 308 609 3 108
310 610 309 611 1 38
311 611 310 612 1 48
312 613 311 614 1 37
313 616 312 617 2 588
314 619 313 620 1 50
315 622 314 623 1 43
316 624 315 625 1 52
317 627 316 628 1 54
318 629 317 630 1 54
319 633 318 634 1 50
320 634 319 635 1 64
321 636 320 637 1 59
322 321 350 2 580
323 322 462 1 379
324 323 476 1 379
325 324 470 1 375
326 325 471 1 380

View file

@ -1068,6 +1068,8 @@ class Pokemon(TableBase):
info=dict(description=u"ID of the generation this species first appeared in"))
evolution_chain_id = Column(Integer, ForeignKey('evolution_chains.id'),
info=dict(description=u"ID of the species' evolution chain (a.k.a. family)"))
evolves_from_pokemon_id = Column(Integer, ForeignKey('pokemon.id'), nullable=True,
info=dict(description=u"The Pokémon species from which this one evolves"))
height = Column(Integer, nullable=False,
info=dict(description=u"The height of the Pokémon, in decimeters (tenths of a meter)"))
weight = Column(Integer, nullable=False,
@ -1249,9 +1251,8 @@ class PokemonEvolution(TableBase):
Any condition may be null if it does not apply for a particular Pokémon.
"""
__tablename__ = 'pokemon_evolution'
from_pokemon_id = Column(Integer, ForeignKey('pokemon.id'), nullable=False,
info=dict(description=u"The ID of the pre-evolution Pokémon."))
to_pokemon_id = Column(Integer, ForeignKey('pokemon.id'), primary_key=True, nullable=False, autoincrement=False,
id = Column(Integer, primary_key=True, nullable=False)
evolved_pokemon_id = Column(Integer, ForeignKey('pokemon.id'), nullable=False,
info=dict(description=u"The ID of the post-evolution Pokémon."))
evolution_trigger_id = Column(Integer, ForeignKey('evolution_triggers.id'), nullable=False,
info=dict(description=u"The ID of the evolution trigger."))
@ -1988,11 +1989,13 @@ Pokemon.egg_groups = relation(EggGroup,
Pokemon.evolution_chain = relation(EvolutionChain,
innerjoin=True,
backref=backref('pokemon', order_by=Pokemon.order.asc()))
Pokemon.child_pokemon = relation(Pokemon,
primaryjoin=Pokemon.id==PokemonEvolution.from_pokemon_id,
secondary=PokemonEvolution.__table__,
secondaryjoin=PokemonEvolution.to_pokemon_id==Pokemon.id,
backref=backref('parent_pokemon', uselist=False))
Pokemon.parent_pokemon = relation(Pokemon,
primaryjoin=Pokemon.evolves_from_pokemon_id==Pokemon.id,
remote_side=[Pokemon.id],
backref='child_pokemon')
Pokemon.evolutions = relation(PokemonEvolution,
primaryjoin=Pokemon.id==PokemonEvolution.evolved_pokemon_id,
backref=backref('evolved_pokemon', innerjoin=True, lazy='joined'))
Pokemon.flavor_text = relation(PokemonFlavorText,
order_by=PokemonFlavorText.version_id.asc(),
backref='pokemon')
@ -2028,20 +2031,6 @@ Pokemon.types = relation(Type,
PokemonDexNumber.pokedex = relation(Pokedex,
innerjoin=True, lazy='joined')
PokemonEvolution.from_pokemon = relation(Pokemon,
primaryjoin=PokemonEvolution.from_pokemon_id==Pokemon.id,
innerjoin=True,
backref='child_evolutions')
PokemonEvolution.to_pokemon = relation(Pokemon,
primaryjoin=PokemonEvolution.to_pokemon_id==Pokemon.id,
innerjoin=True,
backref=backref('parent_evolution', uselist=False))
PokemonEvolution.child_evolutions = relation(PokemonEvolution,
primaryjoin=PokemonEvolution.from_pokemon_id==PokemonEvolution.to_pokemon_id,
foreign_keys=[PokemonEvolution.to_pokemon_id],
backref=backref('parent_evolution',
remote_side=[PokemonEvolution.from_pokemon_id],
uselist=False))
PokemonEvolution.trigger = relation(EvolutionTrigger,
innerjoin=True, lazy='joined',
backref='evolutions')