<filename>pokepy/dex.py
dexdata = """
#001
Bulbasaur
Grass · Poison
#002
Ivysaur
Grass · Poison
#003
Venusaur
Grass · Poison
#004
Charmander
Fire
#005
Charmeleon
Fire
#006
Charizard
Fire · Flying
#007
Squirtle
Water
#008
Wartortle
Water
#009
Blastoise
Water
#010
Caterpie
Bug
#011
Metapod
Bug
#012
Butterfree
Bug · Flying
#013
Weedle
Bug · Poison
#014
Kakuna
Bug · Poison
#015
Beedrill
Bug · Poison
#016
Pidgey
Normal · Flying
#017
Pidgeotto
Normal · Flying
#018
Pidgeot
Normal · Flying
#019
Rattata
Normal
#020
Raticate
Normal
#021
Spearow
Normal · Flying
#022
Fearow
Normal · Flying
#023
Ekans
Poison
#024
Arbok
Poison
#025
Pikachu
Electric
#026
Raichu
Electric
#027
Sandshrew
Ground
#028
Sandslash
Ground
#029
Nidoran♀
Poison
#030
Nidorina
Poison
#031
Nidoqueen
Poison · Ground
#032
Nidoran♂
Poison
#033
Nidorino
Poison
#034
Nidoking
Poison · Ground
#035
Clefairy
Fairy
#036
Clefable
Fairy
#037
Vulpix
Fire
#038
Ninetales
Fire
#039
Jigglypuff
Normal · Fairy
#040
Wigglytuff
Normal · Fairy
#041
Zubat
Poison · Flying
#042
Golbat
Poison · Flying
#043
Oddish
Grass · Poison
#044
Gloom
Grass · Poison
#045
Vileplume
Grass · Poison
#046
Paras
Bug · Grass
#047
Parasect
Bug · Grass
#048
Venonat
Bug · Poison
#049
Venomoth
Bug · Poison
#050
Diglett
Ground
#051
Dugtrio
Ground
#052
Meowth
Normal
#053
Persian
Normal
#054
Psyduck
Water
#055
Golduck
Water
#056
Mankey
Fighting
#057
Primeape
Fighting
#058
Growlithe
Fire
#059
Arcanine
Fire
#060
Poliwag
Water
#061
Poliwhirl
Water
#062
Poliwrath
Water · Fighting
#063
Abra
Psychic
#064
Kadabra
Psychic
#065
Alakazam
Psychic
#066
Machop
Fighting
#067
Machoke
Fighting
#068
Machamp
Fighting
#069
Bellsprout
Grass · Poison
#070
Weepinbell
Grass · Poison
#071
Victreebel
Grass · Poison
#072
Tentacool
Water · Poison
#073
Tentacruel
Water · Poison
#074
Geodude
Rock · Ground
#075
Graveler
Rock · Ground
#076
Golem
Rock · Ground
#077
Ponyta
Fire
#078
Rapidash
Fire
#079
Slowpoke
Water · Psychic
#080
Slowbro
Water · Psychic
#081
Magnemite
Electric · Steel
#082
Magneton
Electric · Steel
#083
Farfetch'd
Normal · Flying
#084
Doduo
Normal · Flying
#085
Dodrio
Normal · Flying
#086
Seel
Water
#087
Dewgong
Water · Ice
#088
Grimer
Poison
#089
Muk
Poison
#090
Shellder
Water
#091
Cloyster
Water · Ice
#092
Gastly
Ghost · Poison
#093
Haunter
Ghost · Poison
#094
Gengar
Ghost · Poison
#095
Onix
Rock · Ground
#096
Drowzee
Psychic
#097
Hypno
Psychic
#098
Krabby
Water
#099
Kingler
Water
#100
Voltorb
Electric
#101
Electrode
Electric
#102
Exeggcute
Grass · Psychic
#103
Exeggutor
Grass · Psychic
#104
Cubone
Ground
#105
Marowak
Ground
#106
Hitmonlee
Fighting
#107
Hitmonchan
Fighting
#108
Lickitung
Normal
#109
Koffing
Poison
#110
Weezing
Poison
#111
Rhyhorn
Ground · Rock
#112
Rhydon
Ground · Rock
#113
Chansey
Normal
#114
Tangela
Grass
#115
Kangaskhan
Normal
#116
Horsea
Water
#117
Seadra
Water
#118
Goldeen
Water
#119
Seaking
Water
#120
Staryu
Water
#121
Starmie
Water · Psychic
#122
Mr. Mime
Psychic · Fairy
#123
Scyther
Bug · Flying
#124
Jynx
Ice · Psychic
#125
Electabuzz
Electric
#126
Magmar
Fire
#127
Pinsir
Bug
#128
Tauros
Normal
#129
Magikarp
Water
#130
Gyarados
Water · Flying
#131
Lapras
Water · Ice
#132
Ditto
Normal
#133
Eevee
Normal
#134
Vaporeon
Water
#135
Jolteon
Electric
#136
Flareon
Fire
#137
Porygon
Normal
#138
Omanyte
Rock · Water
#139
Omastar
Rock · Water
#140
Kabuto
Rock · Water
#141
Kabutops
Rock · Water
#142
Aerodactyl
Rock · Flying
#143
Snorlax
Normal
#144
Articuno
Ice · Flying
#145
Zapdos
Electric · Flying
#146
Moltres
Fire · Flying
#147
Dratini
Dragon
#148
Dragonair
Dragon
#149
Dragonite
Dragon · Flying
#150
Mewtwo
Psychic
#151
Mew
Psychic
#152
Chikorita
Grass
#153
Bayleef
Grass
#154
Meganium
Grass
#155
Cyndaquil
Fire
#156
Quilava
Fire
#157
Typhlosion
Fire
#158
Totodile
Water
#159
Croconaw
Water
#160
Feraligatr
Water
#161
Sentret
Normal
#162
Furret
Normal
#163
Hoothoot
Normal · Flying
#164
Noctowl
Normal · Flying
#165
Ledyba
Bug · Flying
#166
Ledian
Bug · Flying
#167
Spinarak
Bug · Poison
#168
Ariados
Bug · Poison
#169
Crobat
Poison · Flying
#170
Chinchou
Water · Electric
#171
Lanturn
Water · Electric
#172
Pichu
Electric
#173
Cleffa
Fairy
#174
Igglybuff
Normal · Fairy
#175
Togepi
Fairy
#176
Togetic
Fairy · Flying
#177
Natu
Psychic · Flying
#178
Xatu
Psychic · Flying
#179
Mareep
Electric
#180
Flaaffy
Electric
#181
Ampharos
Electric
#182
Bellossom
Grass
#183
Marill
Water · Fairy
#184
Azumarill
Water · Fairy
#185
Sudowoodo
Rock
#186
Politoed
Water
#187
Hoppip
Grass · Flying
#188
Skiploom
Grass · Flying
#189
Jumpluff
Grass · Flying
#190
Aipom
Normal
#191
Sunkern
Grass
#192
Sunflora
Grass
#193
Yanma
Bug · Flying
#194
Wooper
Water · Ground
#195
Quagsire
Water · Ground
#196
Espeon
Psychic
#197
Umbreon
Dark
#198
Murkrow
Dark · Flying
#199
Slowking
Water · Psychic
#200
Misdreavus
Ghost
#201
Unown
Psychic
#202
Wobbuffet
Psychic
#203
Girafarig
Normal · Psychic
#204
Pineco
Bug
#205
Forretress
Bug · Steel
#206
Dunsparce
Normal
#207
Gligar
Ground · Flying
#208
Steelix
Steel · Ground
#209
Snubbull
Fairy
#210
Granbull
Fairy
#211
Qwilfish
Water · Poison
#212
Scizor
Bug · Steel
#213
Shuckle
Bug · Rock
#214
Heracross
Bug · Fighting
#215
Sneasel
Dark · Ice
#216
Teddiursa
Normal
#217
Ursaring
Normal
#218
Slugma
Fire
#219
Magcargo
Fire · Rock
#220
Swinub
Ice · Ground
#221
Piloswine
Ice · Ground
#222
Corsola
Water · Rock
#223
Remoraid
Water
#224
Octillery
Water
#225
Delibird
Ice · Flying
#226
Mantine
Water · Flying
#227
Skarmory
Steel · Flying
#228
Houndour
Dark · Fire
#229
Houndoom
Dark · Fire
#230
Kingdra
Water · Dragon
#231
Phanpy
Ground
#232
Donphan
Ground
#233
Porygon2
Normal
#234
Stantler
Normal
#235
Smeargle
Normal
#236
Tyrogue
Fighting
#237
Hitmontop
Fighting
#238
Smoochum
Ice · Psychic
#239
Elekid
Electric
#240
Magby
Fire
#241
Miltank
Normal
#242
Blissey
Normal
#243
Raikou
Electric
#244
Entei
Fire
#245
Suicune
Water
#246
Larvitar
Rock · Ground
#247
Pupitar
Rock · Ground
#248
Tyranitar
Rock · Dark
#249
Lugia
Psychic · Flying
#250
Ho-oh
Fire · Flying
#251
Celebi
Psychic · Grass
#252
Treecko
Grass
#253
Grovyle
Grass
#254
Sceptile
Grass
#255
Torchic
Fire
#256
Combusken
Fire · Fighting
#257
Blaziken
Fire · Fighting
#258
Mudkip
Water
#259
Marshtomp
Water · Ground
#260
Swampert
Water · Ground
#261
Poochyena
Dark
#262
Mightyena
Dark
#263
Zigzagoon
Normal
#264
Linoone
Normal
#265
Wurmple
Bug
#266
Silcoon
Bug
#267
Beautifly
Bug · Flying
#268
Cascoon
Bug
#269
Dustox
Bug · Poison
#270
Lotad
Water · Grass
#271
Lombre
Water · Grass
#272
Ludicolo
Water · Grass
#273
Seedot
Grass
#274
Nuzleaf
Grass · Dark
#275
Shiftry
Grass · Dark
#276
Taillow
Normal · Flying
#277
Swellow
Normal · Flying
#278
Wingull
Water · Flying
#279
Pelipper
Water · Flying
#280
Ralts
Psychic · Fairy
#281
Kirlia
Psychic · Fairy
#282
Gardevoir
Psychic · Fairy
#283
Surskit
Bug · Water
#284
Masquerain
Bug · Flying
#285
Shroomish
Grass
#286
Breloom
Grass · Fighting
#287
Slakoth
Normal
#288
Vigoroth
Normal
#289
Slaking
Normal
#290
Nincada
Bug · Ground
#291
Ninjask
Bug · Flying
#292
Shedinja
Bug · Ghost
#293
Whismur
Normal
#294
Loudred
Normal
#295
Exploud
Normal
#296
Makuhita
Fighting
#297
Hariyama
Fighting
#298
Azurill
Normal · Fairy
#299
Nosepass
Rock
#300
Skitty
Normal
#301
Delcatty
Normal
#302
Sableye
Dark · Ghost
#303
Mawile
Steel · Fairy
#304
Aron
Steel · Rock
#305
Lairon
Steel · Rock
#306
Aggron
Steel · Rock
#307
Meditite
Fighting · Psychic
#308
Medicham
Fighting · Psychic
#309
Electrike
Electric
#310
Manectric
Electric
#311
Plusle
Electric
#312
Minun
Electric
#313
Volbeat
Bug
#314
Illumise
Bug
#315
Roselia
Grass · Poison
#316
Gulpin
Poison
#317
Swalot
Poison
#318
Carvanha
Water · Dark
#319
Sharpedo
Water · Dark
#320
Wailmer
Water
#321
Wailord
Water
#322
Numel
Fire · Ground
#323
Camerupt
Fire · Ground
#324
Torkoal
Fire
#325
Spoink
Psychic
#326
Grumpig
Psychic
#327
Spinda
Normal
#328
Trapinch
Ground
#329
Vibrava
Ground · Dragon
#330
Flygon
Ground · Dragon
#331
Cacnea
Grass
#332
Cacturne
Grass · Dark
#333
Swablu
Normal · Flying
#334
Altaria
Dragon · Flying
#335
Zangoose
Normal
#336
Seviper
Poison
#337
Lunatone
Rock · Psychic
#338
Solrock
Rock · Psychic
#339
Barboach
Water · Ground
#340
Whiscash
Water · Ground
#341
Corphish
Water
#342
Crawdaunt
Water · Dark
#343
Baltoy
Ground · Psychic
#344
Claydol
Ground · Psychic
#345
Lileep
Rock · Grass
#346
Cradily
Rock · Grass
#347
Anorith
Rock · Bug
#348
Armaldo
Rock · Bug
#349
Feebas
Water
#350
Milotic
Water
#351
Castform
Normal
#352
Kecleon
Normal
#353
Shuppet
Ghost
#354
Banette
Ghost
#355
Duskull
Ghost
#356
Dusclops
Ghost
#357
Tropius
Grass · Flying
#358
Chimecho
Psychic
#359
Absol
Dark
#360
Wynaut
Psychic
#361
Snorunt
Ice
#362
Glalie
Ice
#363
Spheal
Ice · Water
#364
Sealeo
Ice · Water
#365
Walrein
Ice · Water
#366
Clamperl
Water
#367
Huntail
Water
#368
Gorebyss
Water
#369
Relicanth
Water · Rock
#370
Luvdisc
Water
#371
Bagon
Dragon
#372
Shelgon
Dragon
#373
Salamence
Dragon · Flying
#374
Beldum
Steel · Psychic
#375
Metang
Steel · Psychic
#376
Metagross
Steel · Psychic
#377
Regirock
Rock
#378
Regice
Ice
#379
Registeel
Steel
#380
Latias
Dragon · Psychic
#381
Latios
Dragon · Psychic
#382
Kyogre
Water
#383
Groudon
Ground
#384
Rayquaza
Dragon · Flying
#385
Jirachi
Steel · Psychic
#386
Deoxys
Psychic
#387
Turtwig
Grass
#388
Grotle
Grass
#389
Torterra
Grass · Ground
#390
Chimchar
Fire
#391
Monferno
Fire · Fighting
#392
Infernape
Fire · Fighting
#393
Piplup
Water
#394
Prinplup
Water
#395
Empoleon
Water · Steel
#396
Starly
Normal · Flying
#397
Staravia
Normal · Flying
#398
Staraptor
Normal · Flying
#399
Bidoof
Normal
#400
Bibarel
Normal · Water
#401
Kricketot
Bug
#402
Kricketune
Bug
#403
Shinx
Electric
#404
Luxio
Electric
#405
Luxray
Electric
#406
Budew
Grass · Poison
#407
Roserade
Grass · Poison
#408
Cranidos
Rock
#409
Rampardos
Rock
#410
Shieldon
Rock · Steel
#411
Bastiodon
Rock · Steel
#412
Burmy
Bug
#413
Wormadam
Bug · Grass
#414
Mothim
Bug · Flying
#415
Combee
Bug · Flying
#416
Vespiquen
Bug · Flying
#417
Pachirisu
Electric
#418
Buizel
Water
#419
Floatzel
Water
#420
Cherubi
Grass
#421
Cherrim
Grass
#422
Shellos
Water
#423
Gastrodon
Water · Ground
#424
Ambipom
Normal
#425
Drifloon
Ghost · Flying
#426
Drifblim
Ghost · Flying
#427
Buneary
Normal
#428
Lopunny
Normal
#429
Mismagius
Ghost
#430
Honchkrow
Dark · Flying
#431
Glameow
Normal
#432
Purugly
Normal
#433
Chingling
Psychic
#434
Stunky
Poison · Dark
#435
Skuntank
Poison · Dark
#436
Bronzor
Steel · Psychic
#437
Bronzong
Steel · Psychic
#438
Bonsly
Rock
#439
Mime Jr.
Psychic · Fairy
#440
Happiny
Normal
#441
Chatot
Normal · Flying
#442
Spiritomb
Ghost · Dark
#443
Gible
Dragon · Ground
#444
Gabite
Dragon · Ground
#445
Garchomp
Dragon · Ground
#446
Munchlax
Normal
#447
Riolu
Fighting
#448
Lucario
Fighting · Steel
#449
Hippopotas
Ground
#450
Hippowdon
Ground
#451
Skorupi
Poison · Bug
#452
Drapion
Poison · Dark
#453
Croagunk
Poison · Fighting
#454
Toxicroak
Poison · Fighting
#455
Carnivine
Grass
#456
Finneon
Water
#457
Lumineon
Water
#458
Mantyke
Water · Flying
#459
Snover
Grass · Ice
#460
Abomasnow
Grass · Ice
#461
Weavile
Dark · Ice
#462
Magnezone
Electric · Steel
#463
Lickilicky
Normal
#464
Rhyperior
Ground · Rock
#465
Tangrowth
Grass
#466
Electivire
Electric
#467
Magmortar
Fire
#468
Togekiss
Fairy · Flying
#469
Yanmega
Bug · Flying
#470
Leafeon
Grass
#471
Glaceon
Ice
#472
Gliscor
Ground · Flying
#473
Mamoswine
Ice · Ground
#474
Porygon-Z
Normal
#475
Gallade
Psychic · Fighting
#476
Probopass
Rock · Steel
#477
Dusknoir
Ghost
#478
Froslass
Ice · Ghost
#479
Rotom
Electric · Ghost
#480
Uxie
Psychic
#481
Mesprit
Psychic
#482
Azelf
Psychic
#483
Dialga
Steel · Dragon
#484
Palkia
Water · Dragon
#485
Heatran
Fire · Steel
#486
Regigigas
Normal
#487
Giratina
Ghost · Dragon
#488
Cresselia
Psychic
#489
Phione
Water
#490
Manaphy
Water
#491
Darkrai
Dark
#492
Shaymin
Grass
#493
Arceus
Normal
#494
Victini
Psychic · Fire
#495
Snivy
Grass
#496
Servine
Grass
#497
Serperior
Grass
#498
Tepig
Fire
#499
Pignite
Fire · Fighting
#500
Emboar
Fire · Fighting
#501
Oshawott
Water
#502
Dewott
Water
#503
Samurott
Water
#504
Patrat
Normal
#505
Watchog
Normal
#506
Lillipup
Normal
#507
Herdier
Normal
#508
Stoutland
Normal
#509
Purrloin
Dark
#510
Liepard
Dark
#511
Pansage
Grass
#512
Simisage
Grass
#513
Pansear
Fire
#514
Simisear
Fire
#515
Panpour
Water
#516
Simipour
Water
#517
Munna
Psychic
#518
Musharna
Psychic
#519
Pidove
Normal · Flying
#520
Tranquill
Normal · Flying
#521
Unfezant
Normal · Flying
#522
Blitzle
Electric
#523
Zebstrika
Electric
#524
Roggenrola
Rock
#525
Boldore
Rock
#526
Gigalith
Rock
#527
Woobat
Psychic · Flying
#528
Swoobat
Psychic · Flying
#529
Drilbur
Ground
#530
Excadrill
Ground · Steel
#531
Audino
Normal
#532
Timburr
Fighting
#533
Gurdurr
Fighting
#534
Conkeldurr
Fighting
#535
Tympole
Water
#536
Palpitoad
Water · Ground
#537
Seismitoad
Water · Ground
#538
Throh
Fighting
#539
Sawk
Fighting
#540
Sewaddle
Bug · Grass
#541
Swadloon
Bug · Grass
#542
Leavanny
Bug · Grass
#543
Venipede
Bug · Poison
#544
Whirlipede
Bug · Poison
#545
Scolipede
Bug · Poison
#546
Cottonee
Grass · Fairy
#547
Whimsicott
Grass · Fairy
#548
Petilil
Grass
#549
Lilligant
Grass
#550
Basculin
Water
#551
Sandile
Ground · Dark
#552
Krokorok
Ground · Dark
#553
Krookodile
Ground · Dark
#554
Darumaka
Fire
#555
Darmanitan
Fire
#556
Maractus
Grass
#557
Dwebble
Bug · Rock
#558
Crustle
Bug · Rock
#559
Scraggy
Dark · Fighting
#560
Scrafty
Dark · Fighting
#561
Sigilyph
Psychic · Flying
#562
Yamask
Ghost
#563
Cofagrigus
Ghost
#564
Tirtouga
Water · Rock
#565
Carracosta
Water · Rock
#566
Archen
Rock · Flying
#567
Archeops
Rock · Flying
#568
Trubbish
Poison
#569
Garbodor
Poison
#570
Zorua
Dark
#571
Zoroark
Dark
#572
Minccino
Normal
#573
Cinccino
Normal
#574
Gothita
Psychic
#575
Gothorita
Psychic
#576
Gothitelle
Psychic
#577
Solosis
Psychic
#578
Duosion
Psychic
#579
Reuniclus
Psychic
#580
Ducklett
Water · Flying
#581
Swanna
Water · Flying
#582
Vanillite
Ice
#583
Vanillish
Ice
#584
Vanilluxe
Ice
#585
Deerling
Normal · Grass
#586
Sawsbuck
Normal · Grass
#587
Emolga
Electric · Flying
#588
Karrablast
Bug
#589
Escavalier
Bug · Steel
#590
Foongus
Grass · Poison
#591
Amoonguss
Grass · Poison
#592
Frillish
Water · Ghost
#593
Jellicent
Water · Ghost
#594
Alomomola
Water
#595
Joltik
Bug · Electric
#596
Galvantula
Bug · Electric
#597
Ferroseed
Grass · Steel
#598
Ferrothorn
Grass · Steel
#599
Klink
Steel
#600
Klang
Steel
#601
Klinklang
Steel
#602
Tynamo
Electric
#603
Eelektrik
Electric
#604
Eelektross
Electric
#605
Elgyem
Psychic
#606
Beheeyem
Psychic
#607
Litwick
Ghost · Fire
#608
Lampent
Ghost · Fire
#609
Chandelure
Ghost · Fire
#610
Axew
Dragon
#611
Fraxure
Dragon
#612
Haxorus
Dragon
#613
Cubchoo
Ice
#614
Beartic
Ice
#615
Cryogonal
Ice
#616
Shelmet
Bug
#617
Accelgor
Bug
#618
Stunfisk
Ground · Electric
#619
Mienfoo
Fighting
#620
Mienshao
Fighting
#621
Druddigon
Dragon
#622
Golett
Ground · Ghost
#623
Golurk
Ground · Ghost
#624
Pawniard
Dark · Steel
#625
Bisharp
Dark · Steel
#626
Bouffalant
Normal
#627
Rufflet
Normal · Flying
#628
Braviary
Normal · Flying
#629
Vullaby
Dark · Flying
#630
Mandibuzz
Dark · Flying
#631
Heatmor
Fire
#632
Durant
Bug · Steel
#633
Deino
Dark · Dragon
#634
Zweilous
Dark · Dragon
#635
Hydreigon
Dark · Dragon
#636
Larvesta
Bug · Fire
#637
Volcarona
Bug · Fire
#638
Cobalion
Steel · Fighting
#639
Terrakion
Rock · Fighting
#640
Virizion
Grass · Fighting
#641
Tornadus
Flying
#642
Thundurus
Electric · Flying
#643
Reshiram
Dragon · Fire
#644
Zekrom
Dragon · Electric
#645
Landorus
Ground · Flying
#646
Kyurem
Dragon · Ice
#647
Keldeo
Water · Fighting
#648
Meloetta
Normal · Psychic
#649
Genesect
Bug · Steel
#650
Chespin
Grass
#651
Quilladin
Grass
#652
Chesnaught
Grass · Fighting
#653
Fennekin
Fire
#654
Braixen
Fire
#655
Delphox
Fire · Psychic
#656
Froakie
Water
#657
Frogadier
Water
#658
Greninja
Water · Dark
#659
Bunnelby
Normal
#660
Diggersby
Normal · Ground
#661
Fletchling
Normal · Flying
#662
Fletchinder
Fire · Flying
#663
Talonflame
Fire · Flying
#664
Scatterbug
Bug
#665
Spewpa
Bug
#666
Vivillon
Bug · Flying
#667
Litleo
Fire · Normal
#668
Pyroar
Fire · Normal
#669
Flabébé
Fairy
#670
Floette
Fairy
#671
Florges
Fairy
#672
Skiddo
Grass
#673
Gogoat
Grass
#674
Pancham
Fighting
#675
Pangoro
Fighting · Dark
#676
Furfrou
Normal
#677
Espurr
Psychic
#678
Meowstic
Psychic
#679
Honedge
Steel · Ghost
#680
Doublade
Steel · Ghost
#681
Aegislash
Steel · Ghost
#682
Spritzee
Fairy
#683
Aromatisse
Fairy
#684
Swirlix
Fairy
#685
Slurpuff
Fairy
#686
Inkay
Dark · Psychic
#687
Malamar
Dark · Psychic
#688
Binacle
Rock · Water
#689
Barbaracle
Rock · Water
#690
Skrelp
Poison · Water
#691
Dragalge
Poison · Dragon
#692
Clauncher
Water
#693
Clawitzer
Water
#694
Helioptile
Electric · Normal
#695
Heliolisk
Electric · Normal
#696
Tyrunt
Rock · Dragon
#697
Tyrantrum
Rock · Dragon
#698
Amaura
Rock · Ice
#699
Aurorus
Rock · Ice
#700
Sylveon
Fairy
#701
Hawlucha
Fighting · Flying
#702
Dedenne
Electric · Fairy
#703
Carbink
Rock · Fairy
#704
Goomy
Dragon
#705
Sliggoo
Dragon
#706
Goodra
Dragon
#707
Klefki
Steel · Fairy
#708
Phantump
Ghost · Grass
#709
Trevenant
Ghost · Grass
#710
Pumpkaboo
Ghost · Grass
#711
Gourgeist
Ghost · Grass
#712
Bergmite
Ice
#713
Avalugg
Ice
#714
Noibat
Flying · Dragon
#715
Noivern
Flying · Dragon
#716
Xerneas
Fairy
#717
Yveltal
Dark · Flying
#718
Zygarde
Dragon · Ground
#719
Diancie
Rock · Fairy
#720
Hoopa
Psychic · Ghost
#721
Volcanion
Fire · Water
#722
Rowlet
Grass · Flying
#723
Dartrix
Grass · Flying
#724
Decidueye
Grass · Ghost
#725
Litten
Fire
#726
Torracat
Fire
#727
Incineroar
Fire · Dark
#728
Popplio
Water
#729
Brionne
Water
#730
Primarina
Water · Fairy
#731
Pikipek
Normal · Flying
#732
Trumbeak
Normal · Flying
#733
Toucannon
Normal · Flying
#734
Yungoos
Normal
#735
Gumshoos
Normal
#736
Grubbin
Bug
#737
Charjabug
Bug · Electric
#738
Vikavolt
Bug · Electric
#739
Crabrawler
Fighting
#740
Crabominable
Fighting · Ice
#741
Oricorio
Fire · Flying
#742
Cutiefly
Bug · Fairy
#743
Ribombee
Bug · Fairy
#744
Rockruff
Rock
#745
Lycanroc
Rock
#746
Wishiwashi
Water
#747
Mareanie
Poison · Water
#748
Toxapex
Poison · Water
#749
Mudbray
Ground
#750
Mudsdale
Ground
#751
Dewpider
Water · Bug
#752
Araquanid
Water · Bug
#753
Fomantis
Grass
#754
Lurantis
Grass
#755
Morelull
Grass · Fairy
#756
Shiinotic
Grass · Fairy
#757
Salandit
Poison · Fire
#758
Salazzle
Poison · Fire
#759
Stufful
Normal · Fighting
#760
Bewear
Normal · Fighting
#761
Bounsweet
Grass
#762
Steenee
Grass
#763
Tsareena
Grass
#764
Comfey
Fairy
#765
Oranguru
Normal · Psychic
#766
Passimian
Fighting
#767
Wimpod
Bug · Water
#768
Golisopod
Bug · Water
#769
Sandygast
Ghost · Ground
#770
Palossand
Ghost · Ground
#771
Pyukumuku
Water
#772
Type: Null
Normal
#773
Silvally
Normal
#774
Minior
Rock · Flying
#775
Komala
Normal
#776
Turtonator
Fire · Dragon
#777
Togedemaru
Electric · Steel
#778
Mimikyu
Ghost · Fairy
#779
Bruxish
Water · Psychic
#780
Drampa
Normal · Dragon
#781
Dhelmise
Ghost · Grass
#782
Jangmo-o
Dragon
#783
Hakamo-o
Dragon · Fighting
#784
Kommo-o
Dragon · Fighting
#785
Tapu Koko
Electric · Fairy
#786
Tapu Lele
Psychic · Fairy
#787
Tapu Bulu
Grass · Fairy
#788
Tapu Fini
Water · Fairy
#789
Cosmog
Psychic
#790
Cosmoem
Psychic
#791
Solgaleo
Psychic · Steel
#792
Lunala
Psychic · Ghost
#793
Nihilego
Rock · Poison
#794
Buzzwole
Bug · Fighting
#795
Pheromosa
Bug · Fighting
#796
Xurkitree
Electric
#797
Celesteela
Steel · Flying
#798
Kartana
Grass · Steel
#799
Guzzlord
Dark · Dragon
#800
Necrozma
Psychic
#801
Magearna
Steel · Fairy
#802
Marshadow
Fighting · Ghost
""".split('\n')


class Dex:
    def __init__(self):
        self.data = dexdata

    def getIndex(self, name):
        return int(self.data[self.data.index(name)-1][1:])

    def getName(self, index):
        return self.data[self.data.index('#' + '0'*(3-len(str(index))) + str(index)) + 1]
