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