mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Merge branch 'master' of git://veekun.com/pokedex
This commit is contained in:
commit
e4293afd54
14 changed files with 35136 additions and 37743 deletions
File diff suppressed because it is too large
Load diff
|
@ -1,14 +1,21 @@
|
||||||
id,encounter_condition_id,name
|
id,encounter_condition_id,name,is_default
|
||||||
1,1,During a swarm
|
1,1,During a swarm,0
|
||||||
2,2,Morning
|
2,1,Not during a swarm,1
|
||||||
3,2,Day
|
3,2,In the morning,0
|
||||||
4,2,Night
|
4,2,During the day,1
|
||||||
5,3,Using PokéRadar
|
5,2,At night,0
|
||||||
6,4,Ruby
|
6,3,Using PokeRadar,0
|
||||||
7,4,Sapphire
|
7,3,Not using PokeRadar,1
|
||||||
8,4,Emerald
|
8,4,No game in slot 2,1
|
||||||
9,4,Fire Red
|
9,4,Ruby in slot 2,0
|
||||||
10,4,Leaf Green
|
10,4,Sapphire in slot 2,0
|
||||||
12,1,Not during a swarm
|
11,4,Emerald in slot 2,0
|
||||||
13,3,Not using PokéRadar
|
12,4,Fire Red in slot 2,0
|
||||||
14,4,No game in slot 3
|
13,4,Leaf Green in slot 2,0
|
||||||
|
14,5,Radio off,1
|
||||||
|
15,5,Hoenn radio,0
|
||||||
|
16,5,Sinnoh radio,0
|
||||||
|
17,6,No surfing swarm,1
|
||||||
|
18,6,Surfing swarm,0
|
||||||
|
19,7,No fishing swarm,1
|
||||||
|
20,7,Fishing swarm,0
|
||||||
|
|
|
|
@ -1,5 +1,8 @@
|
||||||
id,name
|
id,name
|
||||||
1,Swarm
|
1,Swarm
|
||||||
2,Time of day
|
2,Time of day
|
||||||
3,PokéRadar
|
3,PokeRadar
|
||||||
4,Gen 3 game in slot 2
|
4,Gen 3 game in slot 2
|
||||||
|
5,Radio
|
||||||
|
6,Surfing swarm
|
||||||
|
7,Fishing swarm
|
||||||
|
|
|
|
@ -1,10 +1,39 @@
|
||||||
encounter_slot_id,encounter_condition_id
|
encounter_slot_id,encounter_condition_id
|
||||||
1,1
|
1,1
|
||||||
2,2
|
2,1
|
||||||
4,3
|
3,2
|
||||||
5,4
|
4,2
|
||||||
|
5,3
|
||||||
6,3
|
6,3
|
||||||
27,2
|
9,4
|
||||||
28,2
|
10,4
|
||||||
29,2
|
11,3
|
||||||
30,2
|
12,3
|
||||||
|
33,1
|
||||||
|
33,2
|
||||||
|
34,1
|
||||||
|
34,2
|
||||||
|
35,2
|
||||||
|
35,5
|
||||||
|
36,2
|
||||||
|
36,5
|
||||||
|
37,2
|
||||||
|
37,5
|
||||||
|
38,2
|
||||||
|
38,5
|
||||||
|
39,2
|
||||||
|
40,2
|
||||||
|
41,2
|
||||||
|
42,2
|
||||||
|
43,2
|
||||||
|
44,2
|
||||||
|
47,7
|
||||||
|
50,7
|
||||||
|
52,7
|
||||||
|
53,7
|
||||||
|
55,7
|
||||||
|
56,7
|
||||||
|
57,7
|
||||||
|
58,7
|
||||||
|
59,7
|
||||||
|
60,6
|
||||||
|
|
|
|
@ -1,33 +1,67 @@
|
||||||
id,encounter_terrain_id,rarity
|
id,version_group_id,encounter_terrain_id,rarity
|
||||||
1,1,20
|
1,8,1,20
|
||||||
2,1,10
|
2,8,1,20
|
||||||
3,1,10
|
3,8,1,10
|
||||||
4,1,5
|
4,8,1,10
|
||||||
5,1,4
|
5,8,1,10
|
||||||
6,1,1
|
6,8,1,10
|
||||||
7,2,60
|
7,8,1,5
|
||||||
8,2,30
|
8,8,1,5
|
||||||
9,2,5
|
9,8,1,4
|
||||||
10,2,4
|
10,8,1,4
|
||||||
11,2,1
|
11,8,1,1
|
||||||
12,3,60
|
12,8,1,1
|
||||||
13,3,30
|
13,8,2,60
|
||||||
14,3,5
|
14,8,2,30
|
||||||
15,3,4
|
15,8,2,5
|
||||||
16,3,1
|
16,8,2,4
|
||||||
17,4,60
|
17,8,2,1
|
||||||
18,4,30
|
18,8,3,60
|
||||||
19,4,5
|
19,8,3,30
|
||||||
20,4,4
|
20,8,3,5
|
||||||
21,4,1
|
21,8,3,4
|
||||||
22,5,60
|
22,8,3,1
|
||||||
23,5,30
|
23,8,4,60
|
||||||
24,5,5
|
24,8,4,30
|
||||||
25,5,4
|
25,8,4,5
|
||||||
26,5,1
|
26,8,4,4
|
||||||
27,1,20
|
27,8,4,1
|
||||||
28,1,5
|
28,8,5,60
|
||||||
29,1,4
|
29,8,5,30
|
||||||
30,1,1
|
30,8,5,5
|
||||||
32,6,51
|
31,8,5,4
|
||||||
33,6,49
|
32,8,5,1
|
||||||
|
33,9,1,20
|
||||||
|
34,9,1,20
|
||||||
|
35,9,1,10
|
||||||
|
36,9,1,10
|
||||||
|
37,9,1,10
|
||||||
|
38,9,1,10
|
||||||
|
39,9,1,5
|
||||||
|
40,9,1,5
|
||||||
|
41,9,1,4
|
||||||
|
42,9,1,4
|
||||||
|
43,9,1,1
|
||||||
|
44,9,1,1
|
||||||
|
45,9,2,60
|
||||||
|
46,9,2,30
|
||||||
|
47,9,2,5
|
||||||
|
48,9,2,4
|
||||||
|
49,9,2,1
|
||||||
|
50,9,3,60
|
||||||
|
51,9,3,30
|
||||||
|
52,9,3,5
|
||||||
|
53,9,3,4
|
||||||
|
54,9,3,1
|
||||||
|
55,9,4,60
|
||||||
|
56,9,4,30
|
||||||
|
57,9,4,5
|
||||||
|
58,9,4,4
|
||||||
|
59,9,4,1
|
||||||
|
60,9,5,60
|
||||||
|
61,9,5,30
|
||||||
|
62,9,5,5
|
||||||
|
63,9,5,4
|
||||||
|
64,9,5,1
|
||||||
|
65,9,6,90
|
||||||
|
66,9,6,10
|
||||||
|
|
|
|
@ -1,7 +1,8 @@
|
||||||
id,name
|
id,name
|
||||||
1,Walking in grass/caves
|
1,Walking in tall grass or a cave
|
||||||
2,Surfing
|
2,Fishing with an Old Rod
|
||||||
3,Fishing with Old Rod
|
3,Fishing with a Good Rod
|
||||||
4,Fishing with Good Rod
|
4,Fishing with a Super Rod
|
||||||
5,Fishing with Super Rod
|
5,Surfing
|
||||||
6,Rock Smash
|
6,Smashing rocks
|
||||||
|
7,Headbutting trees
|
||||||
|
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,5 +1,5 @@
|
||||||
id,name,main_region
|
id,main_region_id,name
|
||||||
1,Generation I,Kanto
|
1,1,Generation I
|
||||||
2,Generation II,Johto
|
2,2,Generation II
|
||||||
3,Generation III,Hoenn
|
3,3,Generation III
|
||||||
4,Generation IV,Sinnoh
|
4,4,Generation IV
|
||||||
|
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,261 +1,287 @@
|
||||||
id,location_id,internal_id,name
|
id,location_id,internal_id,name
|
||||||
1,1,0,
|
1,1,1,
|
||||||
19,2,0,
|
2,2,2,
|
||||||
20,3,0,
|
3,3,3,
|
||||||
21,4,0,
|
4,4,4,
|
||||||
22,5,0,
|
5,5,5,
|
||||||
23,5,0,entrance
|
6,6,6,1F
|
||||||
24,5,0,inside
|
7,6,7,B1F
|
||||||
25,6,0,
|
8,7,8,
|
||||||
26,7,0,1F
|
9,8,9,
|
||||||
27,7,0,B1F
|
10,9,10,
|
||||||
28,7,0,B2F
|
11,10,11,Route 207
|
||||||
29,7,0,B3F
|
12,10,12,2F
|
||||||
30,7,0,B4F
|
13,10,13,3F
|
||||||
31,7,0,B5F
|
14,10,14,snowfall
|
||||||
32,8,0,1F
|
15,10,15,blizzard
|
||||||
33,8,0,B1F
|
16,10,16,4F
|
||||||
34,9,0,1F
|
17,10,17,5F
|
||||||
35,9,0,B1F
|
18,10,18,6F
|
||||||
36,10,0,1F
|
19,10,19,7F
|
||||||
37,10,0,B1F
|
20,10,20,cave
|
||||||
38,11,0,1F
|
21,10,21,Route 216
|
||||||
39,11,0,2F
|
22,10,22,Route 211
|
||||||
40,11,0,3F
|
23,10,23,B1F
|
||||||
41,11,0,4F
|
24,11,24,Area 1
|
||||||
42,11,0,5F
|
25,11,25,Area 2
|
||||||
43,12,0,
|
26,11,26,Area 3
|
||||||
44,13,0,
|
27,11,27,Area 4
|
||||||
45,14,0,
|
28,11,28,Area 5
|
||||||
46,15,0,
|
29,11,29,Area 6
|
||||||
47,16,0,
|
30,12,30,2F
|
||||||
48,17,0,up to Pillar 3
|
31,12,31,1F
|
||||||
49,17,0,up to Pillar 1
|
32,12,32,B1F a
|
||||||
50,17,0,up to Pillar 2
|
33,12,33,B1F b
|
||||||
51,18,0,
|
34,12,34,B1F c
|
||||||
52,19,0,
|
35,12,35,B2F a
|
||||||
53,20,0,
|
36,12,36,B2F b
|
||||||
54,21,0,"north, towards Floaroma City"
|
37,12,37,B2F c
|
||||||
55,21,0,"south, towards Jubilife City"
|
38,12,38,B3F a
|
||||||
56,22,0,"east, towards Eterna City"
|
39,12,39,B3F b
|
||||||
57,22,0,"south, towards Floaroma Town"
|
40,12,40,B3F c
|
||||||
58,23,0,
|
41,12,41,B3F d
|
||||||
59,24,0,
|
42,12,42,B3F e
|
||||||
60,25,0,
|
43,12,43,B4F a
|
||||||
61,26,0,
|
44,12,44,B4F b
|
||||||
62,27,0,"west, towards Celestic Town"
|
45,12,45,B4F c
|
||||||
63,27,0,"south, towards Solaceon Town"
|
46,12,46,B4F d
|
||||||
64,28,0,"east, towards Celestic Town"
|
47,12,47,B5F
|
||||||
65,28,0,"west, towards Eterna City"
|
48,13,48,1F
|
||||||
66,29,0,"north, towards Hearthome City"
|
49,13,49,2F
|
||||||
67,29,0,"east, towards Pastoria City"
|
50,13,50,B1F
|
||||||
68,30,0,
|
51,13,51,inside B1F
|
||||||
69,31,0,
|
52,13,52,inside
|
||||||
70,32,0,
|
53,13,53,inside exit
|
||||||
71,33,0,
|
54,14,54,
|
||||||
72,34,0,
|
55,15,55,1F
|
||||||
73,35,0,
|
56,15,56,B1F
|
||||||
74,36,0,
|
57,16,57,
|
||||||
75,37,0,
|
58,16,58,entrance
|
||||||
76,38,0,
|
59,16,59,inside
|
||||||
77,39,0,
|
60,17,60,
|
||||||
78,40,0,
|
61,18,61,pillar 1
|
||||||
79,41,0,
|
62,18,62,pillar 2
|
||||||
80,42,0,
|
63,18,63,pillar 3
|
||||||
81,43,0,
|
64,18,64,before pillar 1
|
||||||
82,44,0,Area 1
|
70,18,70,between pillars 1 and 2
|
||||||
83,44,0,Area 2
|
76,18,76,between pillars 2 and 3
|
||||||
84,44,0,Area 3
|
82,18,82,after pillar 3
|
||||||
85,44,0,Area 4
|
107,19,107,1F
|
||||||
86,44,0,Area 5
|
108,19,108,B1F
|
||||||
87,44,0,Area 6
|
109,19,109,B2F
|
||||||
88,45,0,
|
110,19,110,B3F
|
||||||
89,46,0,
|
111,19,111,B4F
|
||||||
90,47,0,
|
112,19,112,B5F
|
||||||
91,48,0,
|
113,20,113,1F
|
||||||
92,49,0,
|
114,20,114,B1F
|
||||||
93,50,0,2F
|
115,22,115,0–9 different Unown caught
|
||||||
94,50,0,3F
|
116,22,116,10–25 different Unown caught
|
||||||
95,50,0,4F
|
117,22,117,26+ different Unown caught
|
||||||
96,50,0,5F
|
118,23,118,
|
||||||
97,50,0,6F
|
119,24,119,
|
||||||
98,50,0,7F
|
120,24,120,1F
|
||||||
99,50,0,B1F
|
121,24,121,B1F left
|
||||||
100,50,0,blizzard
|
122,24,122,B1F right
|
||||||
101,50,0,cave
|
123,24,123,B2F right
|
||||||
102,50,0,Route 207
|
124,24,124,B2F left
|
||||||
103,50,0,Route 211
|
125,24,125,B3F
|
||||||
104,50,0,Route 216
|
126,25,126,entrance
|
||||||
105,50,0,snowfall
|
127,25,127,dining room
|
||||||
106,51,0,1F
|
128,25,128,2F private room
|
||||||
107,51,0,2F
|
129,25,129,2F
|
||||||
108,51,0,B1F
|
130,25,130,2F leftmost room
|
||||||
109,51,0,inside
|
131,25,131,2F left room
|
||||||
110,51,0,inside B1F
|
132,25,132,2F middle room
|
||||||
111,51,0,inside exit
|
133,25,133,2F right room
|
||||||
112,52,0,
|
134,25,134,2F rightmost room
|
||||||
113,53,0,
|
135,26,135,before Galactic intervention
|
||||||
114,56,0,0–9 different Unown caught
|
136,26,136,after Galactic intervention
|
||||||
115,56,0,10–25 different Unown caught
|
137,27,137,
|
||||||
116,55,0,
|
138,28,138,
|
||||||
117,55,0,1F
|
139,29,139,
|
||||||
118,55,0,B1F left
|
140,30,140,
|
||||||
119,55,0,B1F right
|
141,31,141,
|
||||||
120,55,0,B2F left
|
142,32,142,
|
||||||
121,55,0,B2F right
|
143,33,143,
|
||||||
122,55,0,B3F
|
144,34,144,"south, towards Jubilife City"
|
||||||
123,56,0,26+ different Unown caught
|
145,34,145,"north, towards Floaroma Town"
|
||||||
124,57,0,
|
146,35,146,"south, towards Floaroma Town"
|
||||||
125,57,0,"2F back room, second from left"
|
147,35,147,"east, towards Eterna City"
|
||||||
129,57,0,"2F back room, second from right"
|
148,36,148,
|
||||||
133,58,0,
|
149,37,149,
|
||||||
134,59,0,
|
150,38,150,
|
||||||
135,60,0,
|
151,39,151,
|
||||||
136,61,0,
|
152,40,152,1F
|
||||||
137,62,0,
|
153,40,153,2F
|
||||||
138,63,0,after Galactic intervention
|
154,40,154,3F
|
||||||
139,63,0,before Galactic intervention
|
155,40,155,4F
|
||||||
140,78,0,
|
156,40,156,5F
|
||||||
141,17,0,up to Pillar 2 (alternate)
|
157,41,157,"south, towards Solaceon City"
|
||||||
142,1000,0,New Bark Town
|
158,41,158,"west, towards Celestic Town"
|
||||||
143,1000,1,Route 29
|
159,42,159,"west, towards Eterna City"
|
||||||
144,1000,2,Cherrygrove City
|
160,42,160,"east, towards Celestic Town"
|
||||||
145,1000,3,Route 30
|
161,43,161,"north, towards Hearthome City"
|
||||||
146,1000,4,Route 31
|
162,43,162,"east, towards Pastoria City"
|
||||||
147,1000,5,Violet City
|
163,44,163,
|
||||||
148,1000,6,Sprout Tower 2F
|
164,45,164,
|
||||||
149,1000,7,Sprout Tower 3F
|
165,46,165,
|
||||||
150,1000,8,Route 32
|
166,47,166,
|
||||||
151,1000,9,Ruins of Alph Outside
|
167,48,167,
|
||||||
152,1000,10,Ruins of Alph Interior
|
168,49,168,
|
||||||
153,1000,11,Ruins of Alph Interior
|
169,50,169,
|
||||||
154,1000,12,Ruins of Alph Interior
|
170,51,170,
|
||||||
155,1000,13,Ruins of Alph Interior
|
171,52,171,
|
||||||
156,1000,14,Union Cave 1F
|
172,53,172,
|
||||||
157,1000,15,Union Cave B1
|
173,54,173,
|
||||||
158,1000,16,Union Cave B2
|
174,55,174,
|
||||||
159,1000,17,Route 33
|
175,56,175,
|
||||||
160,1000,18,Slowpoke Well 1F
|
176,57,176,
|
||||||
161,1000,19,Slowpoke Well B1
|
177,58,177,
|
||||||
162,1000,20,Ilex Forest
|
178,59,178,
|
||||||
163,1000,21,Route 34
|
179,60,179,
|
||||||
164,1000,22,Route 34
|
180,61,180,
|
||||||
165,1000,23,National Park
|
181,62,181,
|
||||||
166,1000,24,? (all bugs)
|
182,63,182,
|
||||||
167,1000,25,Route 36
|
183,64,183,
|
||||||
168,1000,26,Route 37
|
184,84,1,
|
||||||
169,1000,27,Ecruteak City
|
185,108,2,
|
||||||
170,1000,28,Burned Tower 1F
|
186,69,3,
|
||||||
171,1000,29,Burned Tower B1
|
187,110,4,
|
||||||
172,1000,30,Tin Tower 2F
|
188,111,5,
|
||||||
173,1000,31,Tin Tower 3F
|
189,153,6,
|
||||||
174,1000,32,Tin Tower 4F
|
190,138,7,2F
|
||||||
175,1000,33,Tin Tower 5F
|
191,138,8,3F
|
||||||
176,1000,34,Tin Tower 6F
|
192,112,9,
|
||||||
177,1000,35,Tin Tower 7F
|
193,135,10,Outside
|
||||||
178,1000,36,Tin Tower 8F
|
194,135,11,Interior A
|
||||||
179,1000,37,Tin Tower 9F
|
195,135,12,Interior B
|
||||||
180,1000,38,Route 38
|
196,135,13,Interior C
|
||||||
181,1000,39,Route 39
|
197,135,14,Interior D
|
||||||
182,1000,40,Olivine City
|
198,141,15,1F
|
||||||
183,1000,41,Route 40
|
199,141,16,B1F
|
||||||
184,1000,42,Route 41
|
200,141,17,B2F
|
||||||
185,1000,43,"Whirl Islands, unknown floors"
|
201,113,18,
|
||||||
186,1000,44,"Whirl Islands, unknown floors"
|
202,137,19,1F
|
||||||
187,1000,45,Unknown 45
|
203,137,20,B1F
|
||||||
188,1000,46,"Whirl Islands, unknown floors"
|
204,78,21,
|
||||||
189,1000,47,Unknown 47
|
205,114,22,
|
||||||
190,1000,48,Unknown 48
|
206,115,23,
|
||||||
191,1000,49,Unknown 49
|
207,83,24,
|
||||||
192,1000,50,Unknown 50
|
208,150,25,
|
||||||
193,1000,51,Cianwood City
|
209,116,26,
|
||||||
194,1000,52,Route 42
|
210,117,27,
|
||||||
195,1000,53,Mt. Mortar 1F
|
211,75,28,
|
||||||
196,1000,54,Mt. Mortar Lower Cave
|
212,66,29,1F
|
||||||
197,1000,55,Mt. Mortar Upper Cave
|
213,66,30,B1F
|
||||||
198,1000,56,Mt. Mortar B1
|
214,139,31,2F
|
||||||
199,1000,57,Route 43
|
215,139,32,3F
|
||||||
200,1000,58,Lake of Rage
|
216,139,33,4F
|
||||||
201,1000,59,Route 44
|
217,139,34,5F
|
||||||
202,1000,60,Ice Cave 1F
|
218,139,35,6F
|
||||||
203,1000,61,Ice Cave B1
|
219,139,36,7F
|
||||||
204,1000,62,Ice Cave B2
|
220,139,37,8F
|
||||||
205,1000,63,Ice Cave B3
|
221,139,38,9F
|
||||||
206,1000,64,Unknown 64
|
222,118,39,
|
||||||
207,1000,65,Blackthorn City
|
223,119,40,
|
||||||
208,1000,66,Dragon's Den
|
224,85,41,
|
||||||
209,1000,67,Route 45
|
225,121,42,
|
||||||
210,1000,68,Route 46
|
226,122,43,
|
||||||
211,1000,69,Dark Cave (Violet City entrance)
|
227,156,44,unknown floors A
|
||||||
212,1000,70,Dark Cave (Blackthorn City entrance)
|
228,156,45,unknown floors B
|
||||||
213,1000,71,Route 47
|
229,156,46,empty floor X
|
||||||
214,1000,72,Unknown 72
|
230,156,47,unknown floors C
|
||||||
215,1000,73,Unknown 73
|
231,156,48,empty floor Y
|
||||||
216,1000,74,Unknown 74
|
232,156,49,B3F
|
||||||
217,1000,75,Unknown 75
|
233,143,50,
|
||||||
218,1000,76,Unknown 76
|
234,144,51,
|
||||||
219,1000,77,Unknown 77
|
235,70,52,
|
||||||
220,1000,78,Unknown 78
|
236,123,53,
|
||||||
221,1000,79,Unknown 79
|
237,81,54,1F
|
||||||
222,1000,80,Unknown 80
|
238,81,55,Lower Cave
|
||||||
223,1000,81,Unknown 81
|
239,81,56,Upper Cave
|
||||||
224,1000,82,Unknown 82
|
240,81,57,B1F
|
||||||
225,1000,83,Unknown 83
|
241,124,58,
|
||||||
226,1000,84,Unknown 84
|
242,79,59,
|
||||||
227,1000,85,"Silver Cave, Outside"
|
243,125,60,
|
||||||
228,1000,86,"Silver Cave, unknown floors/areas"
|
244,77,61,1F
|
||||||
229,1000,87,"Silver Cave, unknown floors/areas"
|
245,77,62,B1F
|
||||||
230,1000,88,"Silver Cave, unknown floors/areas"
|
246,77,63,B2F
|
||||||
231,1000,89,Unknown 89
|
247,77,64,B3F
|
||||||
232,1000,90,Unknown 90
|
248,145,65,
|
||||||
233,1000,91,Unknown 91
|
249,65,66,
|
||||||
234,1000,92,Unknown 92
|
250,74,67,
|
||||||
235,1000,93,Unknown 93
|
251,126,68,
|
||||||
236,1000,94,Unknown 94
|
252,127,69,
|
||||||
237,1000,95,Unknown 95
|
253,72,70,Violet City entrance
|
||||||
238,1000,96,Unknown 96
|
254,72,71,Blackthorn City entrance
|
||||||
239,1000,97,Unknown 97
|
255,128,72,
|
||||||
240,1000,98,Unknown 98
|
256,80,73,outside
|
||||||
241,1000,99,Celadon City
|
257,148,74,
|
||||||
242,1000,100,Fuchsia City
|
258,136,75,1F
|
||||||
243,1000,101,Unknown 101
|
259,136,76,B1F
|
||||||
244,1000,102,Safari Zone?
|
260,136,77,B2F
|
||||||
245,1000,103,Unknown 103
|
261,136,78,B3F
|
||||||
246,1000,104,Unknown 104
|
262,136,79,B4F
|
||||||
247,1000,105,Route 28
|
263,82,80,1F
|
||||||
248,1000,106,Mt. Moon?
|
264,82,81,1F top
|
||||||
249,1000,107,Mt. Moon?
|
265,82,82,4F
|
||||||
250,1000,108,Rock Tunnel 1F
|
266,128,83,cave gate
|
||||||
251,1000,109,Rock Tunnel B1
|
267,128,84,inside cave
|
||||||
252,1000,110,Victory Road
|
268,139,85,10F
|
||||||
253,1000,111,Route 1
|
269,82,86,outside
|
||||||
254,1000,112,Route 2
|
270,82,87,2F
|
||||||
255,1000,113,Route 3
|
271,82,88,mountainside
|
||||||
256,1000,114,Route 4
|
272,82,89,3F
|
||||||
257,1000,115,Route 5
|
273,82,90,top
|
||||||
258,1000,116,Route 6
|
274,146,91,
|
||||||
259,1000,117,Route 7
|
275,149,92,
|
||||||
260,1000,118,Route 8
|
276,91,93,
|
||||||
261,1000,119,Route 9
|
277,98,94,
|
||||||
262,1000,120,Route 10
|
278,100,95,
|
||||||
263,1000,121,Route 11
|
279,71,96,
|
||||||
264,1000,122,Route 13
|
280,154,97,
|
||||||
265,1000,123,Route 14
|
281,68,98,
|
||||||
266,1000,124,Route 15
|
282,151,99,
|
||||||
267,1000,125,Route 16
|
283,67,100,
|
||||||
268,1000,126,Route 17
|
284,76,101,
|
||||||
269,1000,127,Route 18
|
285,86,102,
|
||||||
270,1000,128,Route 21
|
286,129,103,
|
||||||
271,1000,129,Route 22
|
287,105,104,
|
||||||
272,1000,130,Route 24
|
288,106,105,
|
||||||
273,1000,131,Route 25
|
289,107,106,
|
||||||
274,1000,132,Tohjo Falls
|
290,80,107,1F
|
||||||
275,1000,133,Diglett's Cave
|
291,80,108,2F
|
||||||
276,1000,134,Victory Road
|
292,87,109,1F
|
||||||
277,1000,135,Victory Road
|
293,87,110,B1F
|
||||||
278,1000,136,Viridian Forest?
|
294,152,111,
|
||||||
279,1000,137,Unknown 137
|
295,88,112,
|
||||||
280,1000,138,Unknown 138
|
296,99,113,
|
||||||
281,1000,139,Unknown Dungeon?
|
297,109,114,
|
||||||
282,1000,140,Unknown Dungeon?
|
298,120,115,
|
||||||
283,1000,141,Unknown Dungeon?
|
299,130,116,
|
||||||
|
300,131,117,
|
||||||
|
301,132,118,
|
||||||
|
302,133,119,
|
||||||
|
303,134,120,
|
||||||
|
304,89,121,
|
||||||
|
305,90,122,
|
||||||
|
306,92,123,
|
||||||
|
307,93,124,
|
||||||
|
308,94,125,
|
||||||
|
309,95,126,
|
||||||
|
310,96,127,
|
||||||
|
311,97,128,
|
||||||
|
312,101,129,
|
||||||
|
313,102,130,
|
||||||
|
314,103,131,
|
||||||
|
315,104,132,
|
||||||
|
316,140,133,
|
||||||
|
317,73,134,
|
||||||
|
318,152,135,one
|
||||||
|
319,152,136,two
|
||||||
|
320,99,137,something else
|
||||||
|
321,155,138,
|
||||||
|
322,142,139,
|
||||||
|
323,147,140,1F
|
||||||
|
324,147,141,2F
|
||||||
|
325,147,142,B1F
|
||||||
|
|
|
|
@ -1,81 +1,156 @@
|
||||||
id,generation_id,name
|
id,region_id,name
|
||||||
1,4,Solaceon Ruins
|
1,4,Canalave City
|
||||||
2,4,Twinleaf Town
|
2,4,Eterna City
|
||||||
3,4,Pastoria City
|
3,4,Pastoria City
|
||||||
4,4,Eterna Forest
|
4,4,Sunyshore City
|
||||||
5,4,Stark Mountain
|
5,4,Pokemon League
|
||||||
6,4,Celestic Town
|
6,4,Oreburgh Mine
|
||||||
7,4,Snowpoint Temple
|
7,4,Valley Windworks
|
||||||
8,4,Oreburgh Mine
|
8,4,Eterna Forest
|
||||||
9,4,Oreburgh Gate
|
9,4,Fuego Ironworks
|
||||||
10,4,Wayward Cave
|
10,4,Mt. Coronet
|
||||||
11,4,Lost Tower
|
11,4,Great Marsh
|
||||||
12,4,Eterna City
|
12,4,Solaceon Ruins
|
||||||
13,4,Pokemon League
|
13,4,Victory Road
|
||||||
14,4,Sunyshore City
|
14,4,Deserted Escape Path
|
||||||
15,4,Valley Windworks
|
15,4,Oreburgh Tunnel
|
||||||
16,4,Resort Area
|
16,4,Stark Mountain
|
||||||
17,4,Turnback Cave
|
17,4,Spring Path
|
||||||
18,4,Route 201
|
18,4,Turnback Cave
|
||||||
19,4,Route 202
|
19,4,Snowpoint Temple
|
||||||
20,4,Route 203
|
20,4,Wayward Cave
|
||||||
21,4,Route 204
|
22,4,Ruin Maniac Tunnel
|
||||||
22,4,Route 205
|
23,4,Trophy Garden
|
||||||
23,4,Route 206
|
24,4,Iron Island
|
||||||
24,4,Route 207
|
25,4,Old Chateau
|
||||||
25,4,Route 208
|
26,4,Lake Verity
|
||||||
26,4,Route 209
|
27,4,Lake Valour
|
||||||
27,4,Route 210
|
28,4,Lake Acuity
|
||||||
28,4,Route 211
|
29,4,Near Lake Valour
|
||||||
29,4,Route 212
|
30,4,Near Lake Acuity
|
||||||
30,4,Route 213
|
31,4,Route 201
|
||||||
31,4,Route 214
|
32,4,Route 202
|
||||||
32,4,Route 215
|
33,4,Route 203
|
||||||
33,4,Route 216
|
34,4,Route 204
|
||||||
34,4,Route 217
|
35,4,Route 205
|
||||||
35,4,Route 218
|
36,4,Route 206
|
||||||
36,4,Route 219
|
37,4,Route 207
|
||||||
37,4,Route 221
|
38,4,Route 208
|
||||||
38,4,Route 222
|
39,4,Route 209
|
||||||
39,4,Route 224
|
40,4,Lost Tower
|
||||||
40,4,Route 225
|
41,4,Route 210
|
||||||
41,4,Route 227
|
42,4,Route 211
|
||||||
42,4,Route 228
|
43,4,Route 212
|
||||||
43,4,Route 229
|
44,4,Route 213
|
||||||
44,4,Great Marsh
|
45,4,Route 214
|
||||||
45,4,Route 220
|
46,4,Route 215
|
||||||
46,4,Route 223
|
47,4,Route 216
|
||||||
47,4,Route 226
|
48,4,Route 217
|
||||||
48,4,Route 230
|
49,4,Route 218
|
||||||
49,4,Fuego Ironworks
|
50,4,Route 219
|
||||||
50,4,Mt. Coronet
|
51,4,Route 221
|
||||||
51,4,Victory Road
|
52,4,Route 222
|
||||||
52,4,Ravaged Path
|
53,4,Route 224
|
||||||
53,4,Lake Acuity
|
54,4,Route 225
|
||||||
55,4,Iron Island
|
55,4,Route 227
|
||||||
56,4,Ruin Maniac Tunnel
|
56,4,Route 228
|
||||||
57,4,Old Chateau
|
57,4,Route 229
|
||||||
58,4,Acuity Lakefront
|
58,4,Twinleaf Town
|
||||||
59,4,Valor Lakefront
|
59,4,Celestic City
|
||||||
60,4,Spring Path
|
60,4,Resort Area
|
||||||
61,4,Trophy Garden
|
61,4,Sea Route 220
|
||||||
62,4,Lake Valor
|
62,4,Sea Route 223
|
||||||
63,4,Lake Verity
|
63,4,Sea Route 226
|
||||||
64,4,Sandgem Town
|
64,4,Sea Route 230
|
||||||
65,4,Sandgem
|
65,2,Blackthorn City
|
||||||
66,4,Jubilife City
|
66,2,Burned Tower
|
||||||
67,4,Oreburgh City
|
67,1,Celadon City
|
||||||
68,4,Floaroma Town
|
68,1,Cerulean City
|
||||||
69,4,Hearthome City
|
69,2,Cherrygrove City
|
||||||
70,4,Snowpoint City
|
70,2,Cianwood City
|
||||||
71,4,Solaceon Town
|
71,1,Cinnabar Island
|
||||||
72,4,Fight Area
|
72,2,Dark Cave
|
||||||
73,4,Survival Area
|
73,1,Diglett's Cave
|
||||||
74,4,Fullmoon Island
|
74,2,Dragon's Den
|
||||||
75,4,Newmoon Island
|
75,2,Ecruteak City
|
||||||
76,4,Veilstone City
|
76,1,Fuchsia City
|
||||||
77,4,Battle Tower
|
77,2,Ice Cave
|
||||||
78,4,Canalave City
|
78,2,Ilex Forest
|
||||||
79,4,Event Route
|
79,2,Lake of Rage
|
||||||
80,4,Flower Paradise
|
80,1,Mt. Moon
|
||||||
1000,4,HG/SS Unidentified
|
81,2,Mt. Mortar
|
||||||
|
82,2,Mt. Silver
|
||||||
|
83,2,National Park
|
||||||
|
84,2,New Bark Town
|
||||||
|
85,2,Olivine City
|
||||||
|
86,1,Pallet Town
|
||||||
|
87,1,Rock Tunnel
|
||||||
|
88,1,Route 1
|
||||||
|
89,1,Route 10
|
||||||
|
90,1,Route 11
|
||||||
|
91,1,Route 12
|
||||||
|
92,1,Route 13
|
||||||
|
93,1,Route 14
|
||||||
|
94,1,Route 15
|
||||||
|
95,1,Route 16
|
||||||
|
96,1,Route 17
|
||||||
|
97,1,Route 18
|
||||||
|
98,1,Route 19
|
||||||
|
99,1,Route 2
|
||||||
|
100,1,Route 20
|
||||||
|
101,1,Route 21
|
||||||
|
102,1,Route 22
|
||||||
|
103,1,Route 24
|
||||||
|
104,1,Route 25
|
||||||
|
105,1,Route 26
|
||||||
|
106,1,Route 27
|
||||||
|
107,1,Route 28
|
||||||
|
108,2,Route 29
|
||||||
|
109,1,Route 3
|
||||||
|
110,2,Route 30
|
||||||
|
111,2,Route 31
|
||||||
|
112,2,Route 32
|
||||||
|
113,2,Route 33
|
||||||
|
114,2,Route 34
|
||||||
|
115,2,Route 35
|
||||||
|
116,2,Route 36
|
||||||
|
117,2,Route 37
|
||||||
|
118,2,Route 38
|
||||||
|
119,2,Route 39
|
||||||
|
120,1,Route 4
|
||||||
|
121,2,Route 40
|
||||||
|
122,2,Route 41
|
||||||
|
123,2,Route 42
|
||||||
|
124,2,Route 43
|
||||||
|
125,2,Route 44
|
||||||
|
126,2,Route 45
|
||||||
|
127,2,Route 46
|
||||||
|
128,2,Route 47
|
||||||
|
129,2,Route 48
|
||||||
|
130,1,Route 5
|
||||||
|
131,1,Route 6
|
||||||
|
132,1,Route 7
|
||||||
|
133,1,Route 8
|
||||||
|
134,1,Route 9
|
||||||
|
135,2,Ruins of Alph
|
||||||
|
136,1,Seafoam Islands
|
||||||
|
137,2,Slowpoke Well
|
||||||
|
138,2,Sprout Tower
|
||||||
|
139,2,Tin Tower
|
||||||
|
140,2,Tohjo Falls
|
||||||
|
141,2,Union Cave
|
||||||
|
142,2,Unknown 138
|
||||||
|
143,2,Unknown 49
|
||||||
|
144,2,Unknown 50
|
||||||
|
145,2,Unknown 64
|
||||||
|
146,2,Unknown 90
|
||||||
|
147,2,Unknown Dungeon
|
||||||
|
148,2,Unknown; all Poliwag
|
||||||
|
149,2,Unknown; all Rattata
|
||||||
|
150,2,Unknown; all bugs
|
||||||
|
151,1,Vermilion City
|
||||||
|
152,1,Victory Road
|
||||||
|
153,2,Violet City
|
||||||
|
154,1,Viridian City
|
||||||
|
155,1,Viridian Forest
|
||||||
|
156,2,Whirl Islands
|
||||||
|
|
|
5
pokedex/data/csv/regions.csv
Normal file
5
pokedex/data/csv/regions.csv
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
id,name
|
||||||
|
1,Kanto
|
||||||
|
2,Johto
|
||||||
|
3,Hoenn
|
||||||
|
4,Sinnoh
|
|
14
pokedex/data/csv/version_group_regions.csv
Normal file
14
pokedex/data/csv/version_group_regions.csv
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
version_group_id,region_id
|
||||||
|
1,1
|
||||||
|
2,1
|
||||||
|
3,1
|
||||||
|
3,2
|
||||||
|
4,1
|
||||||
|
4,2
|
||||||
|
5,3
|
||||||
|
6,3
|
||||||
|
7,1
|
||||||
|
8,4
|
||||||
|
9,4
|
||||||
|
10,1
|
||||||
|
10,2
|
|
|
@ -89,6 +89,7 @@ class EncounterConditionValue(TableBase):
|
||||||
id = Column(Integer, primary_key=True, nullable=False)
|
id = Column(Integer, primary_key=True, nullable=False)
|
||||||
encounter_condition_id = Column(Integer, ForeignKey('encounter_conditions.id'), primary_key=False, nullable=False, autoincrement=False)
|
encounter_condition_id = Column(Integer, ForeignKey('encounter_conditions.id'), primary_key=False, nullable=False, autoincrement=False)
|
||||||
name = Column(Unicode(64), nullable=False)
|
name = Column(Unicode(64), nullable=False)
|
||||||
|
is_default = Column(Boolean, nullable=False)
|
||||||
|
|
||||||
class EncounterConditionValueMap(TableBase):
|
class EncounterConditionValueMap(TableBase):
|
||||||
"""Maps encounters to the specific conditions under which they occur."""
|
"""Maps encounters to the specific conditions under which they occur."""
|
||||||
|
@ -116,6 +117,7 @@ class EncounterSlot(TableBase):
|
||||||
|
|
||||||
__tablename__ = 'encounter_slots'
|
__tablename__ = 'encounter_slots'
|
||||||
id = Column(Integer, primary_key=True, nullable=False)
|
id = Column(Integer, primary_key=True, nullable=False)
|
||||||
|
version_group_id = Column(Integer, ForeignKey('version_groups.id'), nullable=False, autoincrement=False)
|
||||||
encounter_terrain_id = Column(Integer, ForeignKey('encounter_terrain.id'), primary_key=False, nullable=False, autoincrement=False)
|
encounter_terrain_id = Column(Integer, ForeignKey('encounter_terrain.id'), primary_key=False, nullable=False, autoincrement=False)
|
||||||
rarity = Column(Integer, nullable=False, autoincrement=False)
|
rarity = Column(Integer, nullable=False, autoincrement=False)
|
||||||
|
|
||||||
|
@ -142,8 +144,8 @@ class EvolutionMethod(TableBase):
|
||||||
class Generation(TableBase):
|
class Generation(TableBase):
|
||||||
__tablename__ = 'generations'
|
__tablename__ = 'generations'
|
||||||
id = Column(Integer, primary_key=True, nullable=False)
|
id = Column(Integer, primary_key=True, nullable=False)
|
||||||
|
main_region_id = Column(Integer, ForeignKey('regions.id'))
|
||||||
name = Column(Unicode(16), nullable=False)
|
name = Column(Unicode(16), nullable=False)
|
||||||
main_region = Column(Unicode(16), nullable=False)
|
|
||||||
|
|
||||||
class GrowthRate(TableBase):
|
class GrowthRate(TableBase):
|
||||||
"""`formula` is written in LaTeX math notation."""
|
"""`formula` is written in LaTeX math notation."""
|
||||||
|
@ -168,7 +170,7 @@ class Location(TableBase):
|
||||||
__tablename__ = 'locations'
|
__tablename__ = 'locations'
|
||||||
__singlename__ = 'location'
|
__singlename__ = 'location'
|
||||||
id = Column(Integer, primary_key=True, nullable=False)
|
id = Column(Integer, primary_key=True, nullable=False)
|
||||||
generation_id = Column(Integer, ForeignKey('generations.id'), nullable=False)
|
region_id = Column(Integer, ForeignKey('regions.id'))
|
||||||
name = Column(Unicode(64), nullable=False)
|
name = Column(Unicode(64), nullable=False)
|
||||||
|
|
||||||
class LocationArea(TableBase):
|
class LocationArea(TableBase):
|
||||||
|
@ -410,6 +412,12 @@ class PokemonType(TableBase):
|
||||||
type_id = Column(Integer, ForeignKey('types.id'), nullable=False)
|
type_id = Column(Integer, ForeignKey('types.id'), nullable=False)
|
||||||
slot = Column(Integer, primary_key=True, nullable=False, autoincrement=False)
|
slot = Column(Integer, primary_key=True, nullable=False, autoincrement=False)
|
||||||
|
|
||||||
|
class Region(TableBase):
|
||||||
|
"""Major areas of the world: Kanto, Johto, etc."""
|
||||||
|
__tablename__ = 'regions'
|
||||||
|
id = Column(Integer, primary_key=True, nullable=False)
|
||||||
|
name = Column(Unicode(16), nullable=False)
|
||||||
|
|
||||||
class Stat(TableBase):
|
class Stat(TableBase):
|
||||||
__tablename__ = 'stats'
|
__tablename__ = 'stats'
|
||||||
id = Column(Integer, primary_key=True, nullable=False)
|
id = Column(Integer, primary_key=True, nullable=False)
|
||||||
|
@ -446,6 +454,11 @@ class VersionGroup(TableBase):
|
||||||
id = Column(Integer, primary_key=True, nullable=False)
|
id = Column(Integer, primary_key=True, nullable=False)
|
||||||
generation_id = Column(Integer, ForeignKey('generations.id'), nullable=False)
|
generation_id = Column(Integer, ForeignKey('generations.id'), nullable=False)
|
||||||
|
|
||||||
|
class VersionGroupRegion(TableBase):
|
||||||
|
__tablename__ = 'version_group_regions'
|
||||||
|
version_group_id = Column(Integer, ForeignKey('version_groups.id'), primary_key=True, nullable=False)
|
||||||
|
region_id = Column(Integer, ForeignKey('regions.id'), primary_key=True, nullable=False)
|
||||||
|
|
||||||
class Version(TableBase):
|
class Version(TableBase):
|
||||||
__tablename__ = 'versions'
|
__tablename__ = 'versions'
|
||||||
id = Column(Integer, primary_key=True, nullable=False)
|
id = Column(Integer, primary_key=True, nullable=False)
|
||||||
|
@ -481,6 +494,9 @@ EncounterSlotCondition.condition = relation(EncounterCondition,
|
||||||
EvolutionChain.growth_rate = relation(GrowthRate, backref='evolution_chains')
|
EvolutionChain.growth_rate = relation(GrowthRate, backref='evolution_chains')
|
||||||
|
|
||||||
Generation.versions = relation(Version, secondary=VersionGroup.__table__)
|
Generation.versions = relation(Version, secondary=VersionGroup.__table__)
|
||||||
|
Generation.main_region = relation(Region)
|
||||||
|
|
||||||
|
Location.region = relation(Region, backref='locations')
|
||||||
|
|
||||||
LocationArea.location = relation(Location, backref='areas')
|
LocationArea.location = relation(Location, backref='areas')
|
||||||
|
|
||||||
|
@ -566,6 +582,12 @@ PokemonName.language = relation(Language)
|
||||||
|
|
||||||
PokemonStat.stat = relation(Stat)
|
PokemonStat.stat = relation(Stat)
|
||||||
|
|
||||||
|
# This is technically a has-many; Generation.main_region_id -> Region.id
|
||||||
|
Region.generation = relation(Generation, uselist=False)
|
||||||
|
Region.version_group_regions = relation(VersionGroupRegion, backref='region',
|
||||||
|
order_by='VersionGroupRegion.version_group_id')
|
||||||
|
Region.version_groups = association_proxy('version_group_regions', 'version_group')
|
||||||
|
|
||||||
SuperContestCombo.first = relation(Move, primaryjoin=SuperContestCombo.first_move_id==Move.id,
|
SuperContestCombo.first = relation(Move, primaryjoin=SuperContestCombo.first_move_id==Move.id,
|
||||||
backref='super_contest_combo_first')
|
backref='super_contest_combo_first')
|
||||||
SuperContestCombo.second = relation(Move, primaryjoin=SuperContestCombo.second_move_id==Move.id,
|
SuperContestCombo.second = relation(Move, primaryjoin=SuperContestCombo.second_move_id==Move.id,
|
||||||
|
@ -587,3 +609,5 @@ Version.version_group = relation(VersionGroup, backref='versions')
|
||||||
Version.generation = association_proxy('version_group', 'generation')
|
Version.generation = association_proxy('version_group', 'generation')
|
||||||
|
|
||||||
VersionGroup.generation = relation(Generation, backref='version_groups')
|
VersionGroup.generation = relation(Generation, backref='version_groups')
|
||||||
|
VersionGroup.version_group_regions = relation(VersionGroupRegion, backref='version_group')
|
||||||
|
VersionGroup.regions = association_proxy('version_group_regions', 'region')
|
||||||
|
|
Loading…
Reference in a new issue