• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
Resource icon

Resource Wonder Trade w/ Pre-Generated Pokémon 1.0

Sploopo

get real
Member
Joined
Feb 15, 2021
Posts
23
Sploopo submitted a new resource:

Wonder Trade Script w/ Pre-Generated Pokémon - Wonder Trade script that selects a Pokémon from a premade list, rather than randomly generating one.

A simple script that adds fake Wonder Trade functionality into your game.
However, unlike most Wonder Trade scripts (which randomly generate Pokémon that are traded to the player), this script selects a Pokémon from a pre-made list, created by you. The script also has six rarities, allowing for some Pokémon to be less commonly traded than others.
(For reference, this is how Pokémon Clover does Wonder Trade. I don't know if there are any other games that do it like this, so if there are, tell...

Read more about this resource...
 

lichen

i make sprites , i think
Member
Joined
Sep 9, 2020
Posts
106
Just for reference, this does work with v18! A team i'm a part of just tried it out and it works perfectly!
 

EndlessBeat

Professionally Unprofessional
Member
Joined
Apr 2, 2021
Posts
89
There was a small error I found while testing this script out. I believe it was from the rand function having a chance of picking 0 whenever Common was selected. I added a + 1 and haven't had any errors since. Other than that, this is an awesome script! Definitely using it in my game. Great work!
+1.PNG
 

Sploopo

get real
Member
Joined
Feb 15, 2021
Posts
23
There was a small error I found while testing this script out. I believe it was from the rand function having a chance of picking 0 whenever Common was selected. I added a + 1 and haven't had any errors since. Other than that, this is an awesome script! Definitely using it in my game. Great work!View attachment 6603
Oh, thanks! I've updated the script to account for that.
 

EndlessBeat

Professionally Unprofessional
Member
Joined
Apr 2, 2021
Posts
89
Made my own renditions of the script, one that includes every Pokemon, and one that chooses a Pokemon's National Dex number from an array. I'll still credit you of course for this awesome script in my game! Should be easier now to choose which Pokemon can be traded without having to copy the same block of code over and over again, resulting in a super long case statement. What do you think?
 

Attachments

  • NewWT1.PNG
    NewWT1.PNG
    63.1 KB · Views: 357
  • NewWT2.PNG
    NewWT2.PNG
    72.4 KB · Views: 330

TsukiStuffs

Rookie
Member
Joined
Jan 22, 2020
Posts
3
Is there a way to make it so that the pokemon you recieve will be the same level as the one you trade?
 

Sploopo

get real
Member
Joined
Feb 15, 2021
Posts
23
Is there a way to make it so that the pokemon you recieve will be the same level as the one you trade?
It's been five months, but you can probably do this with variables. Just set the level field in your traded Pokémon script to the level of the Pokémon you're trading.
 

Sr.Haruno

Pokémon God - Creator
Member
Joined
Dec 24, 2018
Posts
0
Should be you able to select pokémon to trade?

a friend of my isn't able to select, he's using v19.1
 

Driko

Rookie
Member
Joined
Mar 29, 2022
Posts
1
hello I'm having a hard time always when I start the script it takes the 2 Pokémon on the team and switches without showing the option to select the Pokemon you want to trade. I would like to know how I change this.
 

Fishy

Rookie
Member
Joined
Dec 20, 2022
Posts
4
Hi guys I made a script that works with 20.1 and I added Pokémon as well.
WonderTrade Script # credit to Sploopo:
Expand Collapse Copy
# Wonder Trade Script # Credit to Sploopo
F = 45      # categ 1    # Ice Pokémon # Level 1
E = 33.75   # categ 2    # Starters # Level 1
D = 22      # categ 3    # Popular Pokémon # Lowest Level possible at which they evolved
C = 0.5     # categ 4    # Legendary # Mostly Level 50
B = 0.5     # categ 5    # Top 20 Pokémon by Stats + Shiny # Mostly Level 50
A = 0.25    # categ 6    # Event Pokémon + Shiny # Level 15,25 or 50
#
def pbWonderTrade
random_categ = rand(0.0..100.0) # Random Float
#
  if(random_categ <= F) # F selected
    choice_1 = rand(14)+1 # Random Integrer between 1 and 14
#
    case choice_1
    when 1
        pk = Pokemon.new(:VULPIX, 1)
        pk.form = 1
    when 2
        pk = Pokemon.new(:SNORUNT, 1)
    when 3
        pk = Pokemon.new(:VANILLITE, 1)
    when 4
        pk = Pokemon.new(:BERGMITE, 1)
    when 5
        pk = Pokemon.new(:EISCUE, 1)
    when 6
        pk = Pokemon.new(:SWINUB, 1)
    when 7
        pk = Pokemon.new(:DELIBIRD, 1)
    when 8
        pk = Pokemon.new(:SMOOCHUM, 1)
    when 9
        pk = Pokemon.new(:SPHEAL, 1)
    when 10
        pk = Pokemon.new(:SNOM, 1)
    when 11
        pk = Pokemon.new(:LAPRAS, 1)
    when 12
        pk = Pokemon.new(:SNOVER, 1)
    when 13
        pk = Pokemon.new(:AMAURA, 1)
    when 14
        pk = Pokemon.new(:ROTOM, 1)
        pk.form = 3
    end
#
  elsif(random_categ <= E + F) # E selected
    choice_2 = rand(25)+1 # Random Integrer between 1 and 25
#
    case choice_2
    when 1
        pk = Pokemon.new(:BULBASAUR, 1)
    when 2
        pk = Pokemon.new(:CHARMANDER, 1)
    when 3
        pk = Pokemon.new(:SQUIRTLE, 1)
    when 4
        pk = Pokemon.new(:PIKACHU, 1)
    when 5
        pk = Pokemon.new(:CHIKORITA, 1)
    when 6
        pk = Pokemon.new(:CYNDAQUIL, 1)
    when 7
        pk = Pokemon.new(:TOTODILE, 1)
    when 8
        pk = Pokemon.new(:TREECKO, 1)
    when 9
        pk = Pokemon.new(:TORCHIC, 1)
    when 10
        pk = Pokemon.new(:MUDKIP, 1)
    when 11
        pk = Pokemon.new(:TURTWIG, 1)
    when 12
        pk = Pokemon.new(:CHIMCHAR, 1)
    when 13
        pk = Pokemon.new(:PIPLUP, 1)
    when 14
        pk = Pokemon.new(:SNIVY, 1)
    when 15
        pk = Pokemon.new(:TEPIG, 1)
    when 16
        pk = Pokemon.new(:OSHAWOTT, 1)
    when 17
        pk = Pokemon.new(:CHESPIN, 1)
    when 18
        pk = Pokemon.new(:FENNEKIN, 1)
    when 19
        pk = Pokemon.new(:FROAKIE, 1)
    when 20
        pk = Pokemon.new(:ROWLET, 1)
    when 21
        pk = Pokemon.new(:LITTEN, 1)
    when 22
        pk = Pokemon.new(:POPPLIO, 1)
    when 23
        pk = Pokemon.new(:GROOKEY, 1)
    when 24
        pk = Pokemon.new(:SCORBUNNY, 1)
    when 25
        pk = Pokemon.new(:SOBBLE, 1)
    end
#
  elsif(random_categ <= D + E + F) # D selected
    choice_3 = rand(30)+1 # Random Integrer between 1 and 30
#
    case choice_3
    when 1
        pk = Pokemon.new(:GENGAR, 30)
    when 2
        pk = Pokemon.new(:GARDEVOIR, 30)
    when 3
        pk = Pokemon.new(:GARCHOMP, 25)
    when 4
        pk = Pokemon.new(:SYLVEON, 25)
    when 5
        pk = Pokemon.new(:UMBREON, 36)
    when 6
        pk = Pokemon.new(:CHARIZARD, 36)
    when 7
        pk = Pokemon.new(:MIMIKYU, 1)
    when 8
        pk = Pokemon.new(:LUCARIO, 25)
    when 9
        pk = Pokemon.new(:GRENINJA, 26)
    when 10
        pk = Pokemon.new(:EEVEE, 1)
    when 11
        pk = Pokemon.new(:DRAGONITE, 55)
    when 12
        pk = Pokemon.new(:ABSOL, 1)
    when 13
        pk = Pokemon.new(:AMPHAROS, 30)
    when 14
        pk = Pokemon.new(:NINETALES, 25)
    when 15
        pk = Pokemon.new(:TYRANITAR, 55)
    when 16
        pk = Pokemon.new(:SNORLAX, 1)
    when 17
        pk = Pokemon.new(:SCIZOR, 25)
    when 18
        pk = Pokemon.new(:BLASTOISE, 36)
    when 19
        pk = Pokemon.new(:BLAZIKEN, 36)
    when 20
        pk = Pokemon.new(:ARCANINE, 25)
    when 21
        pk = Pokemon.new(:PIKACHU, 1)
    when 22
        pk = Pokemon.new(:GYARADOS, 20)
    when 23
        pk = Pokemon.new(:JIGGLYPUFF, 15)
    when 24
        pk = Pokemon.new(:FLYGON, 45)
    when 25
        pk = Pokemon.new(:LUXRAY, 30)
    when 26
        pk = Pokemon.new(:ELECTABUZZ, 30)
    when 27
        pk = Pokemon.new(:MAGMAR, 30)
    when 28
        pk = Pokemon.new(:TOGEPI, 1)
    when 29
        pk = Pokemon.new(:PHIONE, 1)
    when 30
        pk = Pokemon.new(:DITTO, 1)
    end
#
  elsif(random_categ <= C + D + E + F) # C selected
    choice_4 = rand(70)+1 # Random Integrer between 1 and 70
#
    case choice_4
    when 1
        pk = Pokemon.new(:ARTICUNO, 50)
    when 2
        pk = Pokemon.new(:ZAPDOS, 50)
    when 3
        pk = Pokemon.new(:MOLTRES, 50)
    when 4
        pk = Pokemon.new(:RAIKOU, 50)
    when 5
        pk = Pokemon.new(:ENTEI, 50)
    when 6
        pk = Pokemon.new(:SUICUINE, 50)
    when 7
        pk = Pokemon.new(:REGIROCK, 50)
    when 8
        pk = Pokemon.new(:REGICE, 50)
    when 9
        pk = Pokemon.new(:REGISTEEL, 50)
    when 10
        pk = Pokemon.new(:LATIAS, 50)
    when 11
        pk = Pokemon.new(:LATIOS, 50)
    when 12
        pk = Pokemon.new(:UXIE, 50)
    when 13
        pk = Pokemon.new(:MESPRIT, 50)
    when 14
        pk = Pokemon.new(:AZELF, 50)
    when 15
        pk = Pokemon.new(:HEATRAN, 50)
    when 16
        pk = Pokemon.new(:REGIGIGAS, 50)
    when 17
        pk = Pokemon.new(:CRESSELIA, 50)
    when 18
        pk = Pokemon.new(:COBALION, 50)
    when 19
        pk = Pokemon.new(:TERAKION, 50)
    when 20
        pk = Pokemon.new(:VIRIZION, 50)
    when 21
        pk = Pokemon.new(:TORNADUS, 50)
    when 22
        pk = Pokemon.new(:TUNDURUS, 50)
    when 23
        pk = Pokemon.new(:LANDORUS, 50)
    when 24
        pk = Pokemon.new(:TYPENULL, 50)
    when 25
        pk = Pokemon.new(:SILVALLY, 50)
    when 26
        pk = Pokemon.new(:TAPUKOKO, 50)
    when 27
        pk = Pokemon.new(:TAPULELE, 50)
    when 28
        pk = Pokemon.new(:TAPUBULU, 50)
    when 29
        pk = Pokemon.new(:TAPUFINI, 50)
    when 30
        pk = Pokemon.new(:NIHILEGO, 50)
    when 31
        pk = Pokemon.new(:BUZZWOLE, 50)
    when 32
        pk = Pokemon.new(:PHEROMOSA, 50)
    when 33
        pk = Pokemon.new(:XURKITREE, 50)
    when 34
        pk = Pokemon.new(:CELESTEELA, 50)
    when 35
        pk = Pokemon.new(:KARTANA, 50)
    when 36
        pk = Pokemon.new(:GUZZLORD, 50)
    when 37
        pk = Pokemon.new(:POIPOLE, 50)
    when 38
        pk = Pokemon.new(:NAGANADEL, 50)
    when 39
        pk = Pokemon.new(:STAKATAKA, 50)
    when 40
        pk = Pokemon.new(:BLACEPHALON, 50)
    when 41
        pk = Pokemon.new(:KUBFU, 50)
    when 42
        pk = Pokemon.new(:URSHIFU, 50)
    when 43
        pk = Pokemon.new(:REGIELEKI, 50)
    when 44
        pk = Pokemon.new(:REGIDRAGO, 50)
    when 45
        pk = Pokemon.new(:GLASTRIER, 50)
    when 46
        pk = Pokemon.new(:SPECTRIER, 50)
    when 47
        pk = Pokemon.new(:MEWTWO, 50)
    when 48
        pk = Pokemon.new(:LUGIA, 50)
    when 49
        pk = Pokemon.new(:HOOH, 50)
    when 50
        pk = Pokemon.new(:KYOGRE, 50)
    when 51
        pk = Pokemon.new(:GROUDON, 50)
    when 52
        pk = Pokemon.new(:RAYQUAZA, 50)
    when 53
        pk = Pokemon.new(:DIALGA, 50)
    when 54
        pk = Pokemon.new(:PALKIA, 50)
    when 55
        pk = Pokemon.new(:GIRATINA, 50)
    when 56
        pk = Pokemon.new(:RESHIRAM, 50)
    when 57
        pk = Pokemon.new(:ZEKROM, 50)
    when 58
        pk = Pokemon.new(:KYUREM, 50)
    when 59
        pk = Pokemon.new(:XERNEAS, 50)
    when 60
        pk = Pokemon.new(:YVELTAL, 50)
    when 61
        pk = Pokemon.new(:ZYGARDE, 50)
    when 62
        pk = Pokemon.new(:COSMOG, 50)
    when 63
        pk = Pokemon.new(:COSMOEM, 50)
    when 64
        pk = Pokemon.new(:SOLGALEO, 50)
    when 65
        pk = Pokemon.new(:LUNALA, 50)
    when 66
        pk = Pokemon.new(:NECROZMA, 50)
    when 67
        pk = Pokemon.new(:ZACIAN, 50)
    when 68
        pk = Pokemon.new(:ZAMAZENTA, 50)
    when 69
        pk = Pokemon.new(:ETERNATUS, 50)
    when 70
        pk = Pokemon.new(:CALYREX, 50)
    end
#
  elsif(random_categ <= B + C + D + E + F) # B selected
    choice_5 = rand(42)+1 # Random Integrer between 1 and 42
#
    case choice_5
    when 1
        pk = Pokemon.new(:ARCEUS, 50)
    when 2
        pk = Pokemon.new(:MEWTWO, 50)
    when 3
        pk = Pokemon.new(:LUGIA, 50)
    when 4
        pk = Pokemon.new(:HOOH, 50)
    when 5
        pk = Pokemon.new(:RAYQUAZA, 50)
    when 6
        pk = Pokemon.new(:DIALGA, 50)
    when 7
        pk = Pokemon.new(:PALKIA, 50)
    when 8
        pk = Pokemon.new(:GIRATINA, 50)
    when 9
        pk = Pokemon.new(:GIRATINA, 50)
        pk.form = 1
    when 10
        pk = Pokemon.new(:SLAKING, 50)
    when 11
        pk = Pokemon.new(:KYOGRE, 50)
    when 12
        pk = Pokemon.new(:GROUDON, 50)
    when 13
        pk = Pokemon.new(:REGIGIGAS, 50)
    when 14
        pk = Pokemon.new(:DRAGONITE, 55)
    when 15
        pk = Pokemon.new(:MEW, 50)
    when 16
        pk = Pokemon.new(:TYRANITAR, 55)
    when 17
        pk = Pokemon.new(:CELEBI, 50)
    when 18
        pk = Pokemon.new(:SALAMENCE, 50)
    when 19
        pk = Pokemon.new(:METAGROSS, 50)
    when 20
        pk = Pokemon.new(:LATIAS, 50)
    when 21
        pk = Pokemon.new(:LATIOS, 50)
    when 22
        pk = Pokemon.new(:ARCEUS, 50)
        pk.shiny = true
    when 23
        pk = Pokemon.new(:MEWTWO, 50)
        pk.shiny = true
    when 24
        pk = Pokemon.new(:LUGIA, 50)
        pk.shiny = true
    when 25
        pk = Pokemon.new(:HOOH, 50)
        pk.shiny = true
    when 26
        pk = Pokemon.new(:RAYQUAZA, 50)
        pk.shiny = true
    when 27
        pk = Pokemon.new(:DIALGA, 50)
        pk.shiny = true
    when 28
        pk = Pokemon.new(:PALKIA, 50)
        pk.shiny = true
    when 29
        pk = Pokemon.new(:GIRATINA, 50)
        pk.form = 1
        pk.shiny = true
    when 30
        pk = Pokemon.new(:GIRATINA, 50)
        pk.shiny = true
    when 31
        pk = Pokemon.new(:SLAKING, 50)
        pk.shiny = true
    when 32
        pk = Pokemon.new(:KYOGRE, 50)
        pk.shiny = true
    when 33
        pk = Pokemon.new(:GROUDON, 50)
        pk.shiny = true
    when 34
        pk = Pokemon.new(:REGIGIGAS, 50)
        pk.shiny = true
    when 35
        pk = Pokemon.new(:DRAGONITE, 55)
        pk.shiny = true
    when 36
        pk = Pokemon.new(:MEW, 50)
        pk.shiny = true
    when 37
        pk = Pokemon.new(:TYRANITAR, 55)
        pk.shiny = true
    when 38
        pk = Pokemon.new(:CELEBI, 50)
        pk.shiny = true
    when 39
        pk = Pokemon.new(:SALAMENCE, 50)
        pk.shiny = true
    when 40
        pk = Pokemon.new(:METAGROSS, 50)
        pk.shiny = true
    when 41
        pk = Pokemon.new(:LATIAS, 50)
        pk.shiny = true
    when 42
        pk = Pokemon.new(:LATIOS, 50)
        pk.shiny = true
    end
#
    else # A selected
    choice_6 = rand(94)+1 # Random Integrer between 1 and 94
#
    case choice_6
    when 1
        pk = Pokemon.new(:MEW, 50)
    when 2
        pk = Pokemon.new(:CELEBI, 50)
    when 3
        pk = Pokemon.new(:LUGIA, 50)
    when 4
        pk = Pokemon.new(:HOOH, 50)
    when 5
        pk = Pokemon.new(:JIRACHI, 50)
    when 6
        pk = Pokemon.new(:DEOXYS, 50)
    when 7
        pk = Pokemon.new(:DEOXYS, 50)
        pk.form = 1
    when 8
        pk = Pokemon.new(:DEOXYS, 50)
        pk.form = 2
    when 9
        pk = Pokemon.new(:DEOXYS, 50)
        pk.form = 3
    when 10
        pk = Pokemon.new(:PICHU, 1)
        pk.form = 2
    when 11
        pk = Pokemon.new(:MANAPHY, 50)
    when 12
        pk = Pokemon.new(:DARKRAI, 50)
    when 13
        pk = Pokemon.new(:SHAYMIN, 50)
    when 14
        pk = Pokemon.new(:SHAYMIN, 50)
        pk.form = 1
    when 15
        pk = Pokemon.new(:ARCEUS, 50)
    when 16
        pk = Pokemon.new(:VICTINI, 50)
    when 17
        pk = Pokemon.new(:KELDEO, 50)
    when 18
        pk = Pokemon.new(:KELDEO, 50)
        pk.form = 1
    when 19
        pk = Pokemon.new(:MELOETTA, 50)
    when 20
        pk = Pokemon.new(:MELOETTA, 50)
        pk.form = 1
    when 21
        pk = Pokemon.new(:GENESECT, 50)
    when 22
        pk = Pokemon.new(:VIVILLON, 25)
        pk.form = 18
    when 23
        pk = Pokemon.new(:VIVILLON, 25)
        pk.form = 19
    when 24
        pk = Pokemon.new(:DIANCIE, 50)
    when 25
        pk = Pokemon.new(:HOOPA, 50)
    when 26
        pk = Pokemon.new(:HOOPA, 50)
        pk.form = 1
    when 27
        pk = Pokemon.new(:VOLCANION, 50)
    when 28
        pk = Pokemon.new(:PIKACHU, 25)
        pk.form = 2
    when 29
        pk = Pokemon.new(:PIKACHU, 25)
        pk.form = 3
    when 30
        pk = Pokemon.new(:PIKACHU, 25)
        pk.form = 4
    when 31
        pk = Pokemon.new(:PIKACHU, 25)
        pk.form = 5
    when 32
        pk = Pokemon.new(:PIKACHU, 25)
        pk.form = 6
    when 33
        pk = Pokemon.new(:PIKACHU, 25)
        pk.form = 7
    when 34
        pk = Pokemon.new(:PIKACHU, 25)
        pk.form = 8
    when 35
        pk = Pokemon.new(:PIKACHU, 25)
        pk.form = 9
    when 36
        pk = Pokemon.new(:GRENINJA, 36)
        pk.form = 2
    when 37
        pk = Pokemon.new(:ROCKRUFF, 25)
        pk.form = 2
    when 38
        pk = Pokemon.new(:LYCANROC, 50)
        pk.form = 2
    when 39
        pk = Pokemon.new(:MAGEARNEA, 50)
    when 40
        pk = Pokemon.new(:MAGEARNEA, 50)
        pk.form = 1
    when 41
        pk = Pokemon.new(:MARSHADOW, 25)
    when 42
        pk = Pokemon.new(:ZERAORA, 50)
    when 43
        pk = Pokemon.new(:MELTAN, 15)
    when 44
        pk = Pokemon.new(:MELMETAL, 50)
    when 45
        pk = Pokemon.new(:HATTREM, 50)
    when 46
        pk = Pokemon.new(:MILCERY, 15)
    when 47
        pk = Pokemon.new(:ALCREMIE, 50)
    when 48
        pk = Pokemon.new(:MEW, 50)
        pk.shiny = true
    when 49
        pk = Pokemon.new(:CELEBI, 50)
        pk.shiny = true
    when 50
        pk = Pokemon.new(:LUGIA, 50)
        pk.shiny = true
    when 51
        pk = Pokemon.new(:HOOH, 50)
        pk.shiny = true
    when 52
        pk = Pokemon.new(:JIRACHI, 50)
        pk.shiny = true
    when 53
        pk = Pokemon.new(:DEOXYS, 50)
        pk.shiny = true
    when 54
        pk = Pokemon.new(:DEOXYS, 50)
        pk.form = 1
        pk.shiny = true
    when 55
        pk = Pokemon.new(:DEOXYS, 50)
        pk.form = 2
        pk.shiny = true
    when 56
        pk = Pokemon.new(:DEOXYS, 50)
        pk.form = 3
        pk.shiny = true
    when 57
        pk = Pokemon.new(:PICHU, 1)
        pk.form = 2
        pk.shiny = true
    when 58
        pk = Pokemon.new(:MANAPHY, 50)
        pk.shiny = true
    when 59
        pk = Pokemon.new(:DARKRAI, 50)
        pk.shiny = true
    when 60
        pk = Pokemon.new(:SHAYMIN, 50)
        pk.shiny = true
    when 61
        pk = Pokemon.new(:SHAYMIN, 50)
        pk.form = 1
        pk.shiny = true
    when 62
        pk = Pokemon.new(:ARCEUS, 50)
        pk.shiny = true
    when 63
        pk = Pokemon.new(:VICTINI, 50)
        pk.shiny = true
    when 64
        pk = Pokemon.new(:KELDEO, 50)
        pk.shiny = true
    when 65
        pk = Pokemon.new(:KELDEO, 50)
        pk.form = 1
        pk.shiny = true
    when 66
        pk = Pokemon.new(:MELOETTA, 50)
        pk.shiny = true
    when 67
        pk = Pokemon.new(:MELOETTA, 50)
        pk.form = 1
        pk.shiny = true
    when 68
        pk = Pokemon.new(:GENESECT, 50)
        pk.shiny = true
    when 69
        pk = Pokemon.new(:VIVILLON, 25)
        pk.form = 18
        pk.shiny = true
    when 70
        pk = Pokemon.new(:VIVILLON, 25)
        pk.form = 19
        pk.shiny = true
    when 71
        pk = Pokemon.new(:DIANCIE, 50)
        pk.shiny = true
    when 72
        pk = Pokemon.new(:HOOPA, 50)
        pk.shiny = true
    when 73
        pk = Pokemon.new(:HOOPA, 50)
        pk.form = 1
        pk.shiny = true
    when 74
        pk = Pokemon.new(:VOLCANION, 50)
        pk.shiny = true
    when 75
        pk = Pokemon.new(:PIKACHU, 25)
        pk.form = 2
        pk.shiny = true
    when 76
        pk = Pokemon.new(:PIKACHU, 25)
        pk.form = 3
        pk.shiny = true
    when 77
        pk = Pokemon.new(:PIKACHU, 25)
        pk.form = 4
        pk.shiny = true
    when 78
        pk = Pokemon.new(:PIKACHU, 25)
        pk.form = 5
        pk.shiny = true
    when 79
        pk = Pokemon.new(:PIKACHU, 25)
        pk.form = 6
        pk.shiny = true
    when 80
        pk = Pokemon.new(:PIKACHU, 25)
        pk.form = 7
        pk.shiny = true
    when 81
        pk = Pokemon.new(:PIKACHU, 25)
        pk.form = 8
        pk.shiny = true
    when 82
        pk = Pokemon.new(:PIKACHU, 25)
        pk.form = 9
        pk.shiny = true
    when 83
        pk = Pokemon.new(:GRENINJA, 36)
        pk.form = 2
        pk.shiny = true
    when 84
        pk = Pokemon.new(:ROCKRUFF, 25)
        pk.form = 2
        pk.shiny = true
    when 85
        pk = Pokemon.new(:LYCANROC, 50)
        pk.form = 2
        pk.shiny = true
    when 86
        pk = Pokemon.new(:MAGEARNEA, 50)
        pk.shiny = true
    when 87
        pk = Pokemon.new(:MAGEARNEA, 50)
        pk.form = 1
        pk.shiny = true
    when 88
        pk = Pokemon.new(:MARSHADOW, 25)
        pk.shiny = true
    when 89
        pk = Pokemon.new(:ZERAORA, 50)
        pk.shiny = true
    when 90
        pk = Pokemon.new(:MELTAN, 15)
        pk.shiny = true
    when 91
        pk = Pokemon.new(:MELMETAL, 50)
        pk.shiny = true
    when 92
        pk = Pokemon.new(:HATTREM, 50)
        pk.shiny = true
    when 93
        pk = Pokemon.new(:MILCERY, 15)
        pk.shiny = true
    when 94
        pk = Pokemon.new(:ALCREMIE, 50)
        pk.shiny = true
    end
#
end
#
  pn = nil
  tn = "Ash"
  pbStartTrade(pbGet(1), pk, pn, tn, 0) # The trade.
end
#
# To use the function create an event with:
# pbChooseTradablePokemon(1,3)
# Conditionnal Branch: Variable 0001 >= 0 (execute the trade if the player choose a Pokémon)
# pbWonderTrade
 
Last edited:

E4Artemy

Novice
Member
Joined
Dec 3, 2023
Posts
17
It worked on 21.1. I wanted something more specific, so I tried to edit, even though I can't program for myself. I put every single Pokémon and form (til gen 9 Teal Mask DLC) and changed some parameters. Obviously, gen 9 Pokémon and partner Pikachu, Eevee and Female Unfezant as forms (that I included) need to be included in PBS or you'll need to edit the script. I needed a good portion of patience (13 hours) and luck, so if someone wants, I'd appreciate some credits, but Sploopo and Fishy are the true masterminds, make sure to give them the real credits.
Ruby:
Expand Collapse Copy
#
# To use the function create an event with:
# pbChooseTradablePokemon(1,3)
# Conditionnal Branch: Variable 0001 >= 0 (execute the trade if the player choose a Pokémon)
# pbWonderTrade
# Wonder Trade Script # Credit to Sploopo, Fishy, E4 Artemy
#44,4%     chance to get a >= 168 catch rate Pokémon
#25%     chance to get a >= 100 catch rate Pokémon
#15%     chance to get a > 45 catch rate Pokémon
#10%     chance to get a = 45 catch rate Pokémon
#5%     chance to get a < 45 catch rate Pokémon
#0,5%     chance to get a legendary or mythical Pokémon
#0,1%     chance to get a lv.1 shiny non-special Pokémon
G = 44,4
F = 25
E = 15
D = 10  
C = 5
B = 0,5
A = 0,1  
#
def pbWonderTrade
random_categ = rand(0.0..100.0) # Random Float
#
  if(random_categ = G) # G selected
    choice_1 = rand(268)+1 # Random Integrer between 1 and 268
    case choice_1
    when 1
        pk = Pokemon.new(:CATERPIE, rand(1,6))
    when 2
        pk = Pokemon.new(:WEEDLE, rand(1,6))
    when 3
        pk = Pokemon.new(:PIDGEY, rand(1,17))
    when 4
        pk = Pokemon.new(:RATTATA, rand(1,19))
    when 5
        pk = Pokemon.new(:RATTATA_1, rand(1,19))
    when 6
        pk = Pokemon.new(:SPEAROW, rand(1,19))
    when 7
        pk = Pokemon.new(:EKANS, rand(1,21))
    when 8
        pk = Pokemon.new(:SANDSHREW, rand(1,21))  
    when 9
        pk = Pokemon.new(:SANDSHREW_1, rand(1,60))
    when 10
        pk = Pokemon.new(:ZUBAT, rand(1,21))
    when 11
        pk = Pokemon.new(:ODDISH, rand(1,20))
    when 12
        pk = Pokemon.new(:DIGLETT, rand(1,25))
    when 13
        pk = Pokemon.new(:DIGLETT_1, rand(1,25))
    when 14
        pk = Pokemon.new(:MEOWTH, rand(1,27))
    when 15
        pk = Pokemon.new(:MEOWTH_1, rand(1,60))
    when 16
        pk = Pokemon.new(:MEOWTH_2, rand(1,27))
    when 17
        pk = Pokemon.new(:POLIWAG, rand(1,24))
    when 18
        pk = Pokemon.new(:BELLSPROUT, rand(1,20))
    when 19
        pk = Pokemon.new(:GEODUDE, rand(1,24))
    when 20
        pk = Pokemon.new(:GEODUDE_1, rand(1,24))
    when 21
        pk = Pokemon.new(:MAGIKARP, rand(1,19))
    when 22
        pk = Pokemon.new(:SENTRET, rand(1,14))
    when 23
        pk = Pokemon.new(:HOOTHOOT, rand(1,19))
    when 24
        pk = Pokemon.new(:LEDYBA, rand(1,17))
    when 25
        pk = Pokemon.new(:SPINARAK, rand(1,21))
    when 26
        pk = Pokemon.new(:HOPPIP, rand(1,17))
    when 27
        pk = Pokemon.new(:WOOPER, rand(1,19))
    when 28
        pk = Pokemon.new(:WOOPER_1, rand(1,19))
    when 29
        pk = Pokemon.new(:POOCHYENA, rand(1,17))
    when 30
        pk = Pokemon.new(:ZIGZAGOON, rand(1,19))
    when 31
        pk = Pokemon.new(:ZIGZAGOON_1, rand(1,19))
    when 32
        pk = Pokemon.new(:WURMPLE, rand(1,6))
    when 33
        pk = Pokemon.new(:LOTAD, rand(1,13))
    when 34
        pk = Pokemon.new(:SEEDOT, rand(1,13))
    when 35
        pk = Pokemon.new(:SHROOMISH, rand(1,22))
    when 36
        pk = Pokemon.new(:SLAKOTH, rand(1,17))
    when 37
        pk = Pokemon.new(:NINCADA, rand(1,19))
    when 38
        pk = Pokemon.new(:NOSEPASS, rand(1,60))
    when 39
        pk = Pokemon.new(:SKITTY, rand(1,60))
    when 40
        pk = Pokemon.new(:NUMEL, rand(1,32))
    when 41
        pk = Pokemon.new(:SPOINK, rand(1,31))
    when 42
        pk = Pokemon.new(:SPINDA, rand(1,60))
    when 43
        pk = Pokemon.new(:TRAPINCH, rand(1,34))
    when 44
        pk = Pokemon.new(:SWABLU, rand(1,34))
    when 45
        pk = Pokemon.new(:BALTOY, rand(1,35))
    when 46
        pk = Pokemon.new(:FEEBAS, rand(1,60))
    when 47
        pk = Pokemon.new(:SPHEAL, rand(1,31))
    when 48
        pk = Pokemon.new(:CLAMPERL, rand(1,60))
    when 49
        pk = Pokemon.new(:STARLY, rand(1,13))
    when 50
        pk = Pokemon.new(:BIDOOF, rand(1,14))
    when 51
        pk = Pokemon.new(:KRICKETOT, rand(1,9))
    when 52
        pk = Pokemon.new(:BUDEW, rand(1,20))
    when 53
        pk = Pokemon.new(:BRONZOR, rand(1,32))
    when 54
        pk = Pokemon.new(:BONSLY, rand(1,20))
    when 55
        pk = Pokemon.new(:PATRAT, rand(1,19))
    when 56
        pk = Pokemon.new(:WATCHOG, rand(20,60))
    when 57
        pk = Pokemon.new(:LILLIPUP, rand(1,15))
    when 58
        pk = Pokemon.new(:PURRLOIN, rand(1,19))
    when 59
        pk = Pokemon.new(:PIDOVE, rand(1,20))
    when 60
        pk = Pokemon.new(:ROGGENROLA, rand(1,24))
    when 61
        pk = Pokemon.new(:AUDINO, rand(1,60))
    when 62
        pk = Pokemon.new(:TYMPOLE, rand(1,24))
    when 63
        pk = Pokemon.new(:SEWADDLE, rand(1,19))
    when 64
        pk = Pokemon.new(:VENIPEDE, rand(1,21))
    when 65
        pk = Pokemon.new(:MARACTUS, rand(1,60))
    when 66
        pk = Pokemon.new(:MINCCINO, rand(1,60))
    when 67
        pk = Pokemon.new(:VANILLITE, rand(1,34))
    when 68
        pk = Pokemon.new(:FERROSEED, rand(1,39))
    when 69
        pk = Pokemon.new(:ELGYEM, rand(1,41))
    when 70
        pk = Pokemon.new(:BUNNELBY, rand(1,19))
    when 71
        pk = Pokemon.new(:FLETCHLING, rand(1,16))
    when 72
        pk = Pokemon.new(:SCATTERBUG, rand(1,8))
    when 73
        pk = Pokemon.new(:PIKIPEK, rand(1,13))
    when 74
        pk = Pokemon.new(:YUNGOOS, rand(1,19))
    when 75
        pk = Pokemon.new(:GRUBBIN, rand(1,19))
    when 76
        pk = Pokemon.new(:SKWOVET, rand(1,23))
    when 77
        pk = Pokemon.new(:ROOKIDEE, rand(1,17))
    when 78
        pk = Pokemon.new(:BLIPBUG, rand(1,9))
    when 79
        pk = Pokemon.new(:NICKIT, rand(1,17))
    when 80
        pk = Pokemon.new(:WOOLOO, rand(1,23))
    when 81
        pk = Pokemon.new(:CHEWTLE, rand(1,21))
    when 82
        pk = Pokemon.new(:YAMPER, rand(1,24))
    when 83
        pk = Pokemon.new(:ROLYCOLY, rand(1,17))
    when 84
        pk = Pokemon.new(:APPLIN, rand(1,60))
    when 85
        pk = Pokemon.new(:SILICOBRA, rand(1,35))
    when 86
        pk = Pokemon.new(:ARROKUDA, rand(1,25))
    when 87
        pk = Pokemon.new(:IMPIDIMP, rand(1,31))
    when 88
        pk = Pokemon.new(:LECHONK, rand(1,17))
    when 89
        pk = Pokemon.new(:TAROUNTULA, rand(1,14))
    when 90
        pk = Pokemon.new(:SMOLIV, rand(1,24))
    when 91
        pk = Pokemon.new(:NACLI, rand(1,23))
    when 92
        pk = Pokemon.new(:WIGLETT, rand(1,25))
    when 93
        pk = Pokemon.new(:NIDORANfe, rand(1,15))
    when 94
        pk = Pokemon.new(:NIDORANma, rand(1,15))
    when 95
        pk = Pokemon.new(:MAREEP, rand(1,14))
    when 96
        pk = Pokemon.new(:SUNKERN, rand(1,60))
    when 97
        pk = Pokemon.new(:RALTS, rand(1,19))
    when 98
        pk = Pokemon.new(:SHINX, rand(1,14))
    when 99
        pk = Pokemon.new(:BOUNSWEET, rand(1,17))
    when 100
        pk = Pokemon.new(:HATENNA, rand(1,31))
    when 101
        pk = Pokemon.new(:KRABBY, rand(1,27))
    when 102
        pk = Pokemon.new(:HORSEA, rand(1,31))
    when 103
        pk = Pokemon.new(:GOLDEEN, rand(1,32))
    when 104
        pk = Pokemon.new(:STARYU, rand(1,60))
    when 105
        pk = Pokemon.new(:UNOWN_26, rand(5,60))
    when 106
        pk = Pokemon.new(:SWINUB, rand(1,32))
    when 107
        pk = Pokemon.new(:GULPIN, rand(1,25))
    when 108
        pk = Pokemon.new(:CARVANHA, rand(1,29))
    when 109
        pk = Pokemon.new(:SHUPPET, rand(1,37))
    when 110
        pk = Pokemon.new(:LUVDISC, rand(1,60))
    when 111
        pk = Pokemon.new(:STUNKY, rand(1,33))
    when 112
        pk = Pokemon.new(:FLABEBE, rand(1,18))
    when 113
        pk = Pokemon.new(:FLABEBE_1, rand(1,18))
    when 114
        pk = Pokemon.new(:FLABEBE_2, rand(1,18))
    when 115
        pk = Pokemon.new(:FLABEBE_3, rand(1,18))
    when 116
        pk = Pokemon.new(:FLABEBE_4, rand(1,18))
    when 117
        pk = Pokemon.new(:CLAUNCHER, rand(1,36))
    when 118
        pk = Pokemon.new(:CRABRAWLER, rand(1,60))
    when 119
        pk = Pokemon.new(:LITLEO, rand(1,34))
    when 120
        pk = Pokemon.new(:PANCHAM, rand(1,31))
    when 121
        pk = Pokemon.new(:CORPHISH, rand(1,29))
    when 122
        pk = Pokemon.new(:ABRA, rand(1,15))
    when 123
        pk = Pokemon.new(:TAILLOW, rand(1,21))
    when 124
        pk = Pokemon.new(:SURSKIT, rand(1,21))
    when 125
        pk = Pokemon.new(:PLUSLE, rand(1,60))
    when 126
        pk = Pokemon.new(:MINUN, rand(1,60))
    when 127
        pk = Pokemon.new(:KECLEON, rand(1,60))
    when 128
        pk = Pokemon.new(:TROPIUS, rand(1,60))
    when 129
        pk = Pokemon.new(:PACHIRISU, rand(1,60))
    when 130
        pk = Pokemon.new(:CARNIVINE, rand(1,60))
    when 131
        pk = Pokemon.new(:GOTHITA, rand(1,31))
    when 132
        pk = Pokemon.new(:SOLOSIS, rand(1,31))
    when 133
        pk = Pokemon.new(:EMOLGA, rand(1,60))
    when 134
        pk = Pokemon.new(:KARRABLAST, rand(1,60))
    when 135
        pk = Pokemon.new(:SHELMET, rand(1,60))
    when 136
        pk = Pokemon.new(:SKIDDO, rand(1,31))
    when 137
        pk = Pokemon.new(:SPRITZEE, rand(1,60))
    when 138
        pk = Pokemon.new(:SWIRLIX, rand(1,60))
    when 139
        pk = Pokemon.new(:DEWPIDER, rand(1,21))
    when 140
        pk = Pokemon.new(:MILCERY, rand(1,60))
    when 141
        pk = Pokemon.new(:FINIZEN, rand(1,37))
    when 142
        pk = Pokemon.new(:PIKACHU, rand(10,60))  
    when 143
        pk = Pokemon.new(:PIKACHU_1, rand(5,60))
    when 144
        pk = Pokemon.new(:VULPIX, rand(1,60))
    when 145
        pk = Pokemon.new(:VULPIX_1, rand(1,60))
    when 146
        pk = Pokemon.new(:PARAS, rand(1,23))
    when 147
        pk = Pokemon.new(:VENONAT, rand(1,30))
    when 148
        pk = Pokemon.new(:PSYDUCK, rand(1,32))
    when 149
        pk = Pokemon.new(:MANKEY, rand(1,27))
    when 150
        pk = Pokemon.new(:GROWLITHE, rand(1,60))
    when 151
        pk = Pokemon.new(:GROWLITHE_1, rand(1,60))
    when 152
        pk = Pokemon.new(:TENTACOOL, rand(1,29))
    when 153
        pk = Pokemon.new(:PONYTA, rand(1,39))
    when 154
        pk = Pokemon.new(:PONYTA_1, rand(1,39))
    when 155
        pk = Pokemon.new(:SLOWPOKE, rand(1,60))
    when 156
        pk = Pokemon.new(:SLOWPOKE_1, rand(1,60))
    when 157
        pk = Pokemon.new(:MAGNEMITE, rand(1,29))
    when 158
        pk = Pokemon.new(:DODUO, rand(1,30))
    when 159
        pk = Pokemon.new(:SEEL, rand(1,33))
    when 160
        pk = Pokemon.new(:GRIMER, rand(1,37))
    when 161
        pk = Pokemon.new(:GRIMER_1, rand(1,37))
    when 162
        pk = Pokemon.new(:SHELLDER, rand(1,40))
    when 163
        pk = Pokemon.new(:GASTLY, rand(1,24))
    when 164
        pk = Pokemon.new(:DROWZEE, rand(1,25))
    when 165
        pk = Pokemon.new(:VOLTORB, rand(1,29))
    when 166
        pk = Pokemon.new(:VOLTORB_1, rand(1,29))
    when 167
        pk = Pokemon.new(:CUBONE, rand(1,27))
    when 168
        pk = Pokemon.new(:KOFFING, rand(1,34))
    when 169
        pk = Pokemon.new(:CHINCHOU, rand(1,26))
    when 170
        pk = Pokemon.new(:PICHU, rand(1,20))
    when 171
        pk = Pokemon.new(:TOGEPI, rand(1,60))
    when 172
        pk = Pokemon.new(:NATU, rand(1,24))
    when 173
        pk = Pokemon.new(:AZURILL, rand(1,20))
    when 174
        pk = Pokemon.new(:PINECO, rand(1,30))
    when 175
        pk = Pokemon.new(:DUNSPARCE, rand(1,44))
    when 176
        pk = Pokemon.new(:SNUBBULL, rand(1,22))
    when 177
        pk = Pokemon.new(:SHUCKLE, rand(1,60))
    when 178
        pk = Pokemon.new(:SLUGMA, rand(1,37))
    when 179
        pk = Pokemon.new(:REMORAID, rand(1,24))
    when 180
        pk = Pokemon.new(:WINGULL, rand(1,24))
    when 181
        pk = Pokemon.new(:WHISMUR, rand(1,19))
    when 182
        pk = Pokemon.new(:CACNEA, rand(1,31))
    when 183
        pk = Pokemon.new(:BARBOACH, rand(1,29))
    when 184
        pk = Pokemon.new(:DUSKULL, rand(1,37))
    when 185
        pk = Pokemon.new(:SNORUNT, rand(1,41))
    when 186
        pk = Pokemon.new(:BUIZEL, rand(1,25))
    when 187
        pk = Pokemon.new(:CHERUBI, rand(1,24))
    when 188
        pk = Pokemon.new(:SHELLOS, rand(1,29))
    when 189
        pk = Pokemon.new(:SHELLOS_1, rand(1,29))
    when 190
        pk = Pokemon.new(:BUNEARY, rand(1,60))
    when 191
        pk = Pokemon.new(:GLAMEOW, rand(1,37))
    when 192
        pk = Pokemon.new(:FINNEON, rand(1,30))
    when 193
        pk = Pokemon.new(:PANSAGE, rand(1,60))
    when 194
        pk = Pokemon.new(:PANSEAR, rand(1,60))
    when 195
        pk = Pokemon.new(:PANPOUR, rand(1,60))
    when 196
        pk = Pokemon.new(:MUNNA, rand(1,60))
    when 197
        pk = Pokemon.new(:BLITZLE, rand(1,26))
    when 198
        pk = Pokemon.new(:WOOBAT, rand(1,60))
    when 199
        pk = Pokemon.new(:COTTONEE, rand(1,60))
    when 200
        pk = Pokemon.new(:PETILIL, rand(1,60))
    when 201
        pk = Pokemon.new(:BASCULIN, rand(1,60))
    when 202
        pk = Pokemon.new(:BASCULIN_1, rand(1,60))
    when 203
        pk = Pokemon.new(:BASCULIN_2, rand(1,60))
    when 204
        pk = Pokemon.new(:DWEBBLE, rand(1,33))
    when 205
        pk = Pokemon.new(:YAMASK, rand(1,33))
    when 206
        pk = Pokemon.new(:YAMASK_1, rand(1,33))
    when 207
        pk = Pokemon.new(:TRUBBISH, rand(1,35))
    when 208
        pk = Pokemon.new(:DUCKLETT, rand(1,34))
    when 209
        pk = Pokemon.new(:DEERLING, rand(1,33))
    when 210
        pk = Pokemon.new(:DEERLING_1, rand(1,33))
    when 211
        pk = Pokemon.new(:DEERLING_2, rand(1,33))
    when 212
        pk = Pokemon.new(:DEERLING_3, rand(1,33))
    when 213
        pk = Pokemon.new(:FOONGUS, rand(1,38))
    when 214
        pk = Pokemon.new(:FRILLISH, rand(1,39))
    when 215
        pk = Pokemon.new(:JOLTIK, rand(1,35))
    when 216
        pk = Pokemon.new(:TYNAMO, rand(1,38))
    when 217
        pk = Pokemon.new(:LITWICK, rand(1,40))
    when 218
        pk = Pokemon.new(:GOLETT, rand(1,42))
    when 219
        pk = Pokemon.new(:RUFFLET, rand(1,53))
    when 220
        pk = Pokemon.new(:VULLABY, rand(1,53))
    when 221
        pk = Pokemon.new(:ESPURR, rand(1,24))
    when 222
        pk = Pokemon.new(:INKAY, rand(1,29))
    when 223
        pk = Pokemon.new(:HELIOPTILE, rand(1,60))
    when 224
        pk = Pokemon.new(:BERGMITE, rand(1,36))
    when 225
        pk = Pokemon.new(:NOIBAT, rand(1,47))
    when 226
        pk = Pokemon.new(:CUTIEFLY, rand(1,24))
    when 227
        pk = Pokemon.new(:ROCKRUFF, rand(1,24))
    when 228
        pk = Pokemon.new(:ROCKRUFF_1, rand(1,24))
    when 229
        pk = Pokemon.new(:MAREANIE, rand(1,37))
    when 230
        pk = Pokemon.new(:MUDBRAY, rand(1,29))
    when 231
        pk = Pokemon.new(:FOMANTIS, rand(1,33))
    when 232
        pk = Pokemon.new(:MORELULL, rand(1,23))
    when 233
        pk = Pokemon.new(:GOSSIFLEUR, rand(1,19))
    when 234
        pk = Pokemon.new(:SIZZLIPEDE, rand(1,27))
    when 235
        pk = Pokemon.new(:SNOM, rand(1,60))
    when 236
        pk = Pokemon.new(:CUFANT, rand(1,33))
    when 237
        pk = Pokemon.new(:NYMBLE, rand(1,23))
    when 238
        pk = Pokemon.new(:PAWMI, rand(1,17))
    when 239
        pk = Pokemon.new(:FIDOUGH, rand(1,25))
    when 240
        pk = Pokemon.new(:SQUAWKABILLY, rand(1,60))
    when 241
        pk = Pokemon.new(:SQUAWKABILLY_1, rand(1,60))
    when 242
        pk = Pokemon.new(:SQUAWKABILLY_2, rand(1,60))
    when 243
        pk = Pokemon.new(:SQUAWKABILLY_3, rand(1,60))
    when 244
        pk = Pokemon.new(:TADBULB, rand(1,60))
    when 245
        pk = Pokemon.new(:SHROODLE, rand(1,27))
    when 246
        pk = Pokemon.new(:BRAMBLIN, rand(1,60))
    when 247
        pk = Pokemon.new(:TOEDSCOOL, rand(1,29))
    when 248
        pk = Pokemon.new(:CAPSAKID, rand(1,60))
    when 249
        pk = Pokemon.new(:RELLOR, rand(1,60))
    when 250
        pk = Pokemon.new(:TINKATINK, rand(1,23))
    when 251
        pk = Pokemon.new(:VAROOM, rand(1,39))
    when 252
        pk = Pokemon.new(:CYCLIZAR, rand(1,60))
    when 253
        pk = Pokemon.new(:MACHOP, rand(1,27))
    when 254
        pk = Pokemon.new(:HARIYAMA, rand(24,60))
    when 255
        pk = Pokemon.new(:ARON, rand(1,31))
    when 256
        pk = Pokemon.new(:MEDITITE, rand(1,37))
    when 256
        pk = Pokemon.new(:TIMBURR, rand(1,24))
    when 257
        pk = Pokemon.new(:SANDILE, rand(1,28))
    when 258
        pk = Pokemon.new(:SCRAGGY, rand(1,28))
    when 259
        pk = Pokemon.new(:MIENFOO, rand(1,49))
    when 260
        pk = Pokemon.new(:HONEDGE, rand(1,34))
    when 261
        pk = Pokemon.new(:DEDENNE, rand(1,60))
    when 262
        pk = Pokemon.new(:TOGEDEMARU, rand(1,60))
    when 263
        pk = Pokemon.new(:CLOBBOPUS, rand(1,60))
    when 264
        pk = Pokemon.new(:MORPEKO, rand(1,60))
    when 265
        pk = Pokemon.new(:WATTREL, rand(1,24))
    when 266
    pk = Pokemon.new(:UNOWN_27, rand(5,60))
    when 267
        pk = Pokemon.new(:JIGGLYPUFF, rand(10,60))
    when 268
        pk = Pokemon.new(:IGGLYBUFF, rand(1,20))
    end
#
  if(random_categ = F) # F selected
    choice_1 = rand(132)+1 # Random Integrer between 1 and 132
#
    case choice_1
    when 1
        pk = Pokemon.new(:FURFROU, rand(1,60))
    when 2
        pk = Pokemon.new(:CRAWDAUNT, rand(30,60))
    when 3
        pk = Pokemon.new(:CLEFAIRY, rand(10,60))
    when 4
        pk = Pokemon.new(:CLEFFA, rand(1,20))
    when 5
        pk = Pokemon.new(:MARILL, rand(10,20))
    when 6
        pk = Pokemon.new(:VOLBEAT, rand(1,60))
    when 7
        pk = Pokemon.new(:ILLUMISE, rand(1,60))
    when 8
        pk = Pokemon.new(:ROSELIA, rand(10,60))
    when 9
        pk = Pokemon.new(:CAMERUPT, rand(33,60))
    when 10
        pk = Pokemon.new(:TANDEMAUS, rand(1,24))
    when 11
        pk = Pokemon.new(:MASCHIFF, rand(1,29))
    when 12
        pk = Pokemon.new(:CETODDLE, rand(1,60))
    when 13
        pk = Pokemon.new(:MIMEJR, rand(1,27))
    when 14
        pk = Pokemon.new(:HIPPOPOTAS, rand(1,33))
    when 15
        pk = Pokemon.new(:CROAGUNK, rand(1,37))
    when 16
        pk = Pokemon.new(:AROMATISSE, rand(1,60))
    when 17
        pk = Pokemon.new(:SLURPUFF, rand(1,60))
    when 18
        pk = Pokemon.new(:STUFFUL, rand(1,26))
    when 19
        pk = Pokemon.new(:SANDYGAST, rand(1,41))
    when 20
        pk = Pokemon.new(:HAPPINY, rand(1,60))
    when 21
        pk = Pokemon.new(:KLINK, rand(1,37))
    when 22
        pk = Pokemon.new(:RATICATE, rand(20,60))
    when 23
        pk = Pokemon.new(:MIGHTYENA, rand(18,60))
    when 24
        pk = Pokemon.new(:BIBAREL, rand(15,60))
    when 25
        pk = Pokemon.new(:DIGGERSBY, rand(20,60))
    when 26
        pk = Pokemon.new(:GUMSHOOS, rand(20,60))
    when 27
        pk = Pokemon.new(:THIEVUL, rand(18,60))
    when 28
        pk = Pokemon.new(:DUBWOOL, rand(18,60))
    when 29
        pk = Pokemon.new(:WAILMER, rand(1,39))
    when 30
        pk = Pokemon.new(:WYNAUT, rand(1,14))
    when 31
        pk = Pokemon.new(:DRIFLOON, rand(1,27))
    when 32
        pk = Pokemon.new(:METAPOD, rand(4,9))
    when 33
        pk = Pokemon.new(:KAKUNA, rand(4,9))
    when 34
        pk = Pokemon.new(:PIDGEOTTO, rand(18,35))
    when 35
        pk = Pokemon.new(:NIDORINA, rand(16,60))
    when 36
        pk = Pokemon.new(:NIDORINO, rand(16,60))
    when 37
        pk = Pokemon.new(:GLOOM, rand(21,60))
    when 38
        pk = Pokemon.new(:POLIWHIRL, rand(25,60))
    when 39
        pk = Pokemon.new(:WEEPINBELL, rand(21,60))
    when 40
        pk = Pokemon.new(:GRAVELER, rand(25,60))
    when 41
        pk = Pokemon.new(:RHYHORN, rand(1,41))
    when 42
        pk = Pokemon.new(:FLAAFFY, rand(15,29))
    when 43
        pk = Pokemon.new(:SKIPLOOM, rand(18,26))
    when 44
        pk = Pokemon.new(:SUNFLORA, rand(1,60))
    when 45
        pk = Pokemon.new(:TEDDIURSA, rand(1,29))
    when 46
        pk = Pokemon.new(:HOUNDOUR, rand(1,23))
    when 47
        pk = Pokemon.new(:PHANPY, rand(1,24))
    when 48
        pk = Pokemon.new(:SILCOON, rand(4,9))
    when 49
        pk = Pokemon.new(:CASCOON, rand(4,9))
    when 50
        pk = Pokemon.new(:LOMBRE, rand(14,60))
    when 51
        pk = Pokemon.new(:NUZLEAF, rand(14,60))
    when 52
        pk = Pokemon.new(:KIRLIA, rand(20,29))
    when 53
        pk = Pokemon.new(:VIGOROTH, rand(18,35))
    when 54
        pk = Pokemon.new(:NINJASK, rand(20,60))
    when 55
        pk = Pokemon.new(:LOUDRED, rand(20,39))
    when 56
        pk = Pokemon.new(:ELECTRIKE, rand(1,25))
    when 57
        pk = Pokemon.new(:VIBRAVA, rand(35,44))
    when 58
        pk = Pokemon.new(:SEALEO, rand(32,43))
    when 59
        pk = Pokemon.new(:STARAVIA, rand(14,33))
    when 60
        pk = Pokemon.new(:LUXIO, rand(15,29))
    when 61
        pk = Pokemon.new(:BURMY, rand(1,19))
    when 62
        pk = Pokemon.new(:BURMY_1, rand(1,19))
    when 63
        pk = Pokemon.new(:BURMY_2, rand(1,19))
    when 64
        pk = Pokemon.new(:COMBEE, rand(1,20))
    when 65
        pk = Pokemon.new(:CHINGLING, rand(1,20))
    when 66
        pk = Pokemon.new(:SKORUPI, rand(1,39))
    when 67
        pk = Pokemon.new(:SNOVER, rand(1,39))
    when 68
        pk = Pokemon.new(:HERDIER, rand(16,31))
    when 69
        pk = Pokemon.new(:TRANQUILL, rand(21,31))
    when 70
        pk = Pokemon.new(:BOLDORE, rand(25,60))
    when 71
        pk = Pokemon.new(:DRILBUR, rand(1,30))
    when 72
        pk = Pokemon.new(:PALPITOAD, rand(25,35))
    when 73
        pk = Pokemon.new(:SWADLOON, rand(20,60))
    when 74
        pk = Pokemon.new(:WHIRLIPEDE, rand(22,29))
    when 75
        pk = Pokemon.new(:DARUMAKA, rand(1,34))
    when 76
        pk = Pokemon.new(:DARUMAKA_1, rand(1,60))
    when 77
        pk = Pokemon.new(:VANILLISH, rand(35,46))
    when 78
        pk = Pokemon.new(:CUBCHOO, rand(1,36))
    when 79
        pk = Pokemon.new(:PAWNIARD, rand(1,51))
    when 79
        pk = Pokemon.new(:FLETCHINDER, rand(17,34))
    when 80
        pk = Pokemon.new(:SPEWPA, rand(9,12))
    when 81
        pk = Pokemon.new(:FLOETTE, rand(19,60))
    when 82
        pk = Pokemon.new(:FLOETTE_1, rand(19,60))
    when 83
        pk = Pokemon.new(:FLOETTE_2, rand(19,60))
    when 84
        pk = Pokemon.new(:FLOETTE_3, rand(19,60))
    when 85
        pk = Pokemon.new(:FLOETTE_4, rand(19,60))
    when 86
        pk = Pokemon.new(:BINACLE, rand(1,38))
    when 87
        pk = Pokemon.new(:PHANTUMP, rand(1,60))
    when 88
        pk = Pokemon.new(:PUMPKABOO, rand(1,60))
    when 89
        pk = Pokemon.new(:PUMPKABOO_1, rand(1,60))
    when 90
        pk = Pokemon.new(:PUMPKABOO_2, rand(1,60))
    when 91
        pk = Pokemon.new(:PUMPKABOO_3, rand(1,60))
    when 92
        pk = Pokemon.new(:TRUMBEAK, rand(14,27))
    when 93
        pk = Pokemon.new(:CHARJABUG, rand(20,60))
    when 94
        pk = Pokemon.new(:SALANDIT, rand(1,32))
    when 95
        pk = Pokemon.new(:STEENEE, rand(18,29))
    when 96
        pk = Pokemon.new(:CORVISQUIRE, rand(18,38))
    when 97
        pk = Pokemon.new(:DOTTLER, rand(10,29))
    when 98
        pk = Pokemon.new(:CARKOL, rand(18,33))
    when 99
        pk = Pokemon.new(:SANDACONDA, rand(36,60))
    when 100
        pk = Pokemon.new(:SINISTEA, rand(1,60))
    when 101
        pk = Pokemon.new(:HATTREM, rand(32,41))
    when 102
        pk = Pokemon.new(:MORGREM, rand(32,41))
    when 103
        pk = Pokemon.new(:SPIDOPS, rand(15,60))
    when 104
        pk = Pokemon.new(:DOLLIV, rand(25,34))
    when 105
        pk = Pokemon.new(:NACLSTACK, rand(24,37))
    when 106
        pk = Pokemon.new(:KLAWF, rand(1,60))
    when 107
        pk = Pokemon.new(:FLITTLE, rand(1,34))
    when 108
        pk = Pokemon.new(:GREAVARD, rand(1,29))
    when 109
        pk = Pokemon.new(:KADABRA, rand(16,60))
    when 110
        pk = Pokemon.new(:SPIRITOMB, rand(1,60))
    when 111
        pk = Pokemon.new(:GOTHORITA, rand(32,41))
    when 112
        pk = Pokemon.new(:DUOSION, rand(32,41))
    when 113
        pk = Pokemon.new(:HAWLUCHA, rand(1,60))
    when 114
        pk = Pokemon.new(:ARAQUANID, rand(22,60))
    when 115
        pk = Pokemon.new(:ALCREMIE, rand(24,60))
    when 116
        pk = Pokemon.new(:ALCREMIE_7, rand(2,60))
    when 117
        pk = Pokemon.new(:ALCREMIE_14, rand(2,60))
    when 118
        pk = Pokemon.new(:ALCREMIE_21, rand(2,60))
    when 119
        pk = Pokemon.new(:ALCREMIE_28, rand(2,60))
    when 120
        pk = Pokemon.new(:ALCREMIE_35, rand(2,60))
    when 121
        pk = Pokemon.new(:ALCREMIE_42, rand(2,60))
    when 122
        pk = Pokemon.new(:ALCREMIE_49, rand(2,60))
    when 123
        pk = Pokemon.new(:ALCREMIE_56, rand(2,60))
    when 124
        pk = Pokemon.new(:OINKOLOGNE, rand(18,60))
    when 125
        pk = Pokemon.new(:OINKOLOGNE_1, rand(18,60))
    when 126
        pk = Pokemon.new(:FLAMIGO, rand(1,60))
    when 127
        pk = Pokemon.new(:VELUZA, rand(1,60))
    when 128
        pk = Pokemon.new(:TATSUGIRI, rand(1,60))
    when 129
        pk = Pokemon.new(:TATSUGIRI_1, rand(1,60))
    when 130
        pk = Pokemon.new(:TATSUGIRI_2, rand(1,60))
    when 131
        pk = Pokemon.new(:GRAVELER_1, rand(25,60))
    when 132
        pk = Pokemon.new(:POLTCHAGEIST, rand(1,60))
    end
#
  elsif(random_categ = E) # E selected
    choice_2 = rand(234)+1 # Random Integrer between 1 and 234
#
    case choice_2
    when 1
        pk = Pokemon.new(:ARBOK, rand(22,60))
    when 2
        pk = Pokemon.new(:SANDSLASH, rand(22,60))
    when 3
        pk = Pokemon.new(:GOLBAT, rand(22,60))
    when 4
        pk = Pokemon.new(:PERSIAN, rand(28,60))
    when 5
        pk = Pokemon.new(:PERSIAN_1, rand(10,60))
    when 6
        pk = Pokemon.new(:MACHOKE, rand(28,60))
    when 7
        pk = Pokemon.new(:HAUNTER, rand(25,60))
    when 8
        pk = Pokemon.new(:EXEGGCUTE, rand(1,60))
    when 9
        pk = Pokemon.new(:FURRET, rand(15,60))
    when 10
        pk = Pokemon.new(:NOCTOWL, rand(20,60))
    when 11
        pk = Pokemon.new(:LEDIAN, rand(18,60))
    when 12
        pk = Pokemon.new(:ARIADOS, rand(22,60))
    when 13
        pk = Pokemon.new(:CROBAT, rand(22,60))
    when 14
        pk = Pokemon.new(:QUAGSIRE, rand(20,60))
    when 15
        pk = Pokemon.new(:LINOONE, rand(20,60))
    when 16
        pk = Pokemon.new(:LINOONE_1, rand(20,34))
    when 17
        pk = Pokemon.new(:BRELOOM, rand(23,60))
    when 18
        pk = Pokemon.new(:LAIRON, rand(32,41))
    when 19
        pk = Pokemon.new(:MEDICHAM, rand(37,60))
    when 20
        pk = Pokemon.new(:TORKOAL, rand(1,60))
    when 21
        pk = Pokemon.new(:ZANGOOSE, rand(1,60))
    when 22
        pk = Pokemon.new(:SEVIPER, rand(1,60))
    when 23
        pk = Pokemon.new(:CLAYDOL, rand(36,60))
    when 24
        pk = Pokemon.new(:DUSCLOPS, rand(37,60))
    when 25
        pk = Pokemon.new(:BRONZONG, rand(33,60))
    when 26
        pk = Pokemon.new(:LIEPARD, rand(20,60))
    when 27
        pk = Pokemon.new(:GURDURR, rand(25,60))
    when 28
        pk = Pokemon.new(:KROKOROK, rand(29,39))
    when 29
        pk = Pokemon.new(:SCRAFTY, rand(39,60))
    when 30
        pk = Pokemon.new(:COFAGRIGUS, rand(34,60))
    when 31
        pk = Pokemon.new(:FERROTHORN, rand(40,60))
    when 32
        pk = Pokemon.new(:BEHEEYEM, rand(42,60))
    when 33
        pk = Pokemon.new(:LAMPENT, rand(41,60))
    when 34
        pk = Pokemon.new(:GOLURK, rand(43,60))
    when 35
        pk = Pokemon.new(:HEATMOR, rand(1,60))
    when 36
        pk = Pokemon.new(:DURANT, rand(1,60))
    when 37
        pk = Pokemon.new(:DOUBLADE, rand(35,60))
    when 38
        pk = Pokemon.new(:LYCANROC, rand(25,60))
    when 39
        pk = Pokemon.new(:LYCANROC_1, rand(25,60))
    when 40
        pk = Pokemon.new(:LYCANROC_2, rand(25,60))
    when 41
        pk = Pokemon.new(:WIMPOD, rand(1,29))
    when 42
        pk = Pokemon.new(:GREEDENT, rand(24,60))
    when 43
        pk = Pokemon.new(:PERRSERKER, rand(28,60))
    when 44
        pk = Pokemon.new(:RUNERIGUS, rand(34,60))
    when 45
        pk = Pokemon.new(:COPPERAJAH, rand(34,60))
    when 46
        pk = Pokemon.new(:DACHSBUN, rand(26,60))
    when 47
        pk = Pokemon.new(:CHARCADET, rand(1,60))
    when 48
        pk = Pokemon.new(:KILOWATTREL, rand(25,60))
    when 49
        pk = Pokemon.new(:GRAFAIAI, rand(28,60))
    when 50
        pk = Pokemon.new(:MAUSHOLD, rand(25,60))
    when 51
        pk = Pokemon.new(:TOEDSCRUEL, rand(30,60))
    when 52
        pk = Pokemon.new(:TINKATUFF, rand(24,37))
    when 53
        pk = Pokemon.new(:CLODSIRE, rand(30,60))
    when 54
        pk = Pokemon.new(:MALAMAR, rand(30,60))
    when 55
        pk = Pokemon.new(:BRUXISH, rand(1,60))
    when 56
        pk = Pokemon.new(:PAWMO, rand(18,60))
    when 57
        pk = Pokemon.new(:RAICHU, rand(10,60))
    when 58
        pk = Pokemon.new(:RAICHU_1, rand(10,60))
    when 59
        pk = Pokemon.new(:NINETALES, rand(1,60))
    when 60
        pk = Pokemon.new(:NINETALES_1, rand(1,60))
    when 61
        pk = Pokemon.new(:PARASECT, rand(24,60))
    when 62
        pk = Pokemon.new(:VENOMOTH, rand(31,60))
    when 63
        pk = Pokemon.new(:GOLDUCK, rand(33,60))
    when 64
        pk = Pokemon.new(:PRIMEAPE, rand(28,60))
    when 65
        pk = Pokemon.new(:ARCANINE, rand(1,60))
    when 66
        pk = Pokemon.new(:ARCANINE_1, rand(1,60))
    when 67
        pk = Pokemon.new(:SLOWBRO, rand(2,60))
    when 68
        pk = Pokemon.new(:SLOWBRO_1, rand(2,60))
    when 69
        pk = Pokemon.new(:DEWGONG, rand(34,60))  
    when 70
        pk = Pokemon.new(:MUK, rand(38,60))
    when 71
        pk = Pokemon.new(:MUK_1, rand(38,60))
    when 72
        pk = Pokemon.new(:HYPNO, rand(26,60))
    when 73
        pk = Pokemon.new(:MAROWAK, rand(28,60))
    when 74
        pk = Pokemon.new(:MAROWAK_1, rand(28,60))
    when 75
        pk = Pokemon.new(:SEADRA, rand(32,60))
    when 76
        pk = Pokemon.new(:LANTURN, rand(27,60))
    when 77
        pk = Pokemon.new(:TOGETIC, rand(10,60))
    when 78
        pk = Pokemon.new(:XATU, rand(25,60))
    when 79
        pk = Pokemon.new(:AZUMARILL, rand(18,60))
    when 80
        pk = Pokemon.new(:YANMA, rand(1,60))
    when 81
        pk = Pokemon.new(:FORRETRESS, rand(31,60))
    when 82
        pk = Pokemon.new(:GRANBULL, rand(23,60))
    when 83
        pk = Pokemon.new(:MAGCARGO, rand(38,60))
    when 84
        pk = Pokemon.new(:PILOSWINE, rand(33,60))
    when 85
        pk = Pokemon.new(:OCTILLERY, rand(25,60))
    when 86
        pk = Pokemon.new(:TYROGUE, rand(1,19))
    when 87
        pk = Pokemon.new(:MASQUERAIN, rand(22,60))
    when 88
        pk = Pokemon.new(:SWALOT, rand(26,60))
    when 89
        pk = Pokemon.new(:WHISCASH, rand(30,60))
    when 90
        pk = Pokemon.new(:GLALIE, rand(42,60))
    when 91
        pk = Pokemon.new(:ROSERADE, rand(10,60))
    when 92
        pk = Pokemon.new(:FLOATZEL, rand(26,60))
    when 93
        pk = Pokemon.new(:CHERRIM, rand(25,60))
    when 94
        pk = Pokemon.new(:GASTRODON, rand(30,60))
    when 95
        pk = Pokemon.new(:GASTRODON_1, rand(30,60))
    when 96
        pk = Pokemon.new(:PURUGLY, rand(38,60))
    when 97
        pk = Pokemon.new(:RIOLU, rand(1,60))
    when 98
        pk = Pokemon.new(:TOXICROAK, rand(37,60))
    when 99
        pk = Pokemon.new(:LUMINEON, rand(31,60))
    when 100
        pk = Pokemon.new(:FROSLASS, rand(1,60))
    when 101
        pk = Pokemon.new(:SIMISAGE, rand(1,60))
    when 102
        pk = Pokemon.new(:SIMISEAR, rand(1,60))
    when 103
        pk = Pokemon.new(:SIMIPOUR, rand(1,60))
    when 104
        pk = Pokemon.new(:MUSHARNA, rand(1,60))
    when 105
        pk = Pokemon.new(:ZEBSTRIKA, rand(27,60))
    when 106
        pk = Pokemon.new(:WHIMSICOTT, rand(1,60))
    when 107
        pk = Pokemon.new(:LILLIGANT, rand(1,60))
    when 108
        pk = Pokemon.new(:LILLIGANT_1, rand(1,60))
    when 109
        pk = Pokemon.new(:CRUSTLE, rand(34,60))
    when 110
        pk = Pokemon.new(:ZORUA, rand(1,60))
    when 111
        pk = Pokemon.new(:ZORUA_1, rand(1,60))
    when 112
        pk = Pokemon.new(:SAWSBUCK, rand(34,60))
    when 113
        pk = Pokemon.new(:SAWSBUCK_1, rand(34,60))  
    when 114
        pk = Pokemon.new(:SAWSBUCK_2, rand(34,60))  
    when 115
        pk = Pokemon.new(:SAWSBUCK_3, rand(34,60))
    when 116
        pk = Pokemon.new(:ESCAVALIER, rand(2,60))
    when 117
        pk = Pokemon.new(:AMOONGUSS, rand(39,60))
    when 118
        pk = Pokemon.new(:ALOMOMOLA, rand(1,60))
    when 119
        pk = Pokemon.new(:GALVANTULA, rand(36,60))
    when 120
        pk = Pokemon.new(:AXEW, rand(1,37))
    when 121
        pk = Pokemon.new(:ACCELGOR, rand(1,60))
    when 122
        pk = Pokemon.new(:STUNFISK, rand(1,60))
    when 123
        pk = Pokemon.new(:STUNFISK_1, rand(1,60))
    when 124
        pk = Pokemon.new(:MEOWSTIC, rand(25,60))
    when 125
        pk = Pokemon.new(:MEOWSTIC_1, rand(25,60))
    when 126
        pk = Pokemon.new(:HELIOLISK, rand(1,60))
    when 127
        pk = Pokemon.new(:KLEFKI, rand(1,60))
    when 128
        pk = Pokemon.new(:RIBOMBEE, rand(25,60))
    when 129
        pk = Pokemon.new(:TOXAPEX, rand(38,60))
    when 130
        pk = Pokemon.new(:LURANTIS, rand(34,60))
    when 131
        pk = Pokemon.new(:SHIINOTIC, rand(24,60))
    when 132
        pk = Pokemon.new(:ELDEGOSS, rand(20,60))
    when 133
        pk = Pokemon.new(:DREDNAW, rand(22,60))
    when 134
        pk = Pokemon.new(:TOXEL, rand(1,29))
    when 135
        pk = Pokemon.new(:CENTISKORCH, rand(28,60))
    when 136
        pk = Pokemon.new(:PINCURCHIN, rand(1,60))
    when 137
        pk = Pokemon.new(:FROSMOTH, rand(10,60))
    when 138
        pk = Pokemon.new(:MAUSHOLD, rand(25,60))
    when 139
        pk = Pokemon.new(:MABOSSTIFF, rand(30,60))
    when 140
        pk = Pokemon.new(:SCOVILLAIN, rand(1,60))
    when 141
        pk = Pokemon.new(:REVAVROOM, rand(40,60))
    when 142
        pk = Pokemon.new(:SLOWKING, rand(1,60))
    when 143
        pk = Pokemon.new(:SLOWKING_1, rand(1,60))  
    when 144
        pk = Pokemon.new(:BEWEAR, rand(27,60))
    when 145
        pk = Pokemon.new(:TURTONATOR, rand(1,60))
    when 146
        pk = Pokemon.new(:DRAMPA, rand(1,60))
    when 147
        pk = Pokemon.new(:GLIMMET, rand(1,34))
    when 148
        pk = Pokemon.new(:SUDOWOODO, rand(15,60))
    when 149
        pk = Pokemon.new(:PYROAR, rand(35,60))
    when 150
        pk = Pokemon.new(:PANGORO, rand(32,60))
    when 151
        pk = Pokemon.new(:TENTACRUEL, rand(30,60))
    when 152
        pk = Pokemon.new(:RAPIDASH, rand(40,60))
    when 153
        pk = Pokemon.new(:RAPIDASH_1, rand(40,60))
    when 154
        pk = Pokemon.new(:MAGNETON, rand(30,60))
    when 155
        pk = Pokemon.new(:CLOYSTER, rand(1,60))
    when 156
        pk = Pokemon.new(:KINGLER, rand(28,60))
    when 157
        pk = Pokemon.new(:ELECTRODE, rand(30,60))
    when 157
        pk = Pokemon.new(:ELECTRODE_1, rand(1,60))
    when 158
        pk = Pokemon.new(:WEEZING, rand(35,60))
    when 159
        pk = Pokemon.new(:WEEZING_1, rand(35,60))
    when 160
        pk = Pokemon.new(:RHYDON, rand(42,60))
    when 161
        pk = Pokemon.new(:SEAKING, rand(33,60))
    when 163
        pk = Pokemon.new(:STARMIE, rand(1,60))
    when 164
        pk = Pokemon.new(:GIRAFARIG, rand(1,60))
    when 165
        pk = Pokemon.new(:GLIGAR, rand(1,60))
    when 166
        pk = Pokemon.new(:SNEASEL, rand(1,60))
    when 167
        pk = Pokemon.new(:SNEASEL_1, rand(1,60))
    when 168
        pk = Pokemon.new(:URSARING, rand(30,60))
    when 169
        pk = Pokemon.new(:CORSOLA, rand(1,60))
    when 170
        pk = Pokemon.new(:CORSOLA_1, rand(1,60))
    when 171
        pk = Pokemon.new(:DONPHAN, rand(25,60))
    when 172
        pk = Pokemon.new(:DELCATTY, rand(1,60))
    when 172
        pk = Pokemon.new(:SHARPEDO, rand(1,60))
    when 173
        pk = Pokemon.new(:WAILORD, rand(1,60))
    when 174
        pk = Pokemon.new(:GRUMPIG, rand(32,60))
    when 175
        pk = Pokemon.new(:CACTURNE, rand(32,60))
    when 176
        pk = Pokemon.new(:MILOTIC, rand(1,60))
    when 177
        pk = Pokemon.new(:HUNTAIL, rand(1,60))
    when 178
        pk = Pokemon.new(:GOREBYSS, rand(1,60))
    when 179
        pk = Pokemon.new(:DRIFBLIM, rand(28,60))
    when 180
        pk = Pokemon.new(:LOPUNNY, rand(10,60))
    when 181
        pk = Pokemon.new(:SKUNTANK, rand(34,60))
    when 182
        pk = Pokemon.new(:HIPPOWDON, rand(34,60))
    when 183
        pk = Pokemon.new(:ABOMASNOW, rand(40,60))
    when 184
        pk = Pokemon.new(:PROBOPASS, rand(1,60))
    when 185
        pk = Pokemon.new(:EXCADRILL, rand(31,60))
    when 186
        pk = Pokemon.new(:DARMANITAN, rand(35,60))
    when 187
        pk = Pokemon.new(:DARMANITAN_2, rand(35,60))
    when 188
        pk = Pokemon.new(:GARBODOR, rand(35,60))
    when 189
        pk = Pokemon.new(:CINCCINO, rand(1,60))
    when 190
        pk = Pokemon.new(:JELLICENT, rand(40,60))
    when 191
        pk = Pokemon.new(:KLANG, rand(38,47))
    when 192
        pk = Pokemon.new(:EELEKTRIK, rand(39,60))
    when 193
        pk = Pokemon.new(:FRAXURE, rand(38,47))
    when 194
        pk = Pokemon.new(:BEARTIC, rand(37,60))
    when 195
        pk = Pokemon.new(:BRAVIARY, 54)
    when 196
        pk = Pokemon.new(:BRAVIARY_1, 54)
    when 197
        pk = Pokemon.new(:MANDIBUZZ, 54)
    when 198
        pk = Pokemon.new(:CARBINK, rand(1,60))
    when 199
        pk = Pokemon.new(:TREVENANT, rand(1,60))
    when 200
        pk = Pokemon.new(:GOURGEIST, rand(1,60))
    when 201
        pk = Pokemon.new(:GOURGEIST_1, rand(1,60))
    when 202
        pk = Pokemon.new(:GOURGEIST_2, rand(1,60))
    when 203
        pk = Pokemon.new(:GOURGEIST_3, rand(1,60))
    when 204
        pk = Pokemon.new(:CRABOMINABLE, rand(1,60))
    when 205
        pk = Pokemon.new(:WISHIWASHI, rand(1,60))
    when 206
        pk = Pokemon.new(:MUDSDALE, rand(30,60))
    when 207
        pk = Pokemon.new(:COMFEY, rand(1,60))
    when 208
        pk = Pokemon.new(:PALOSSAND, rand(42,60))
    when 209
        pk = Pokemon.new(:PYUKUMUKU, rand(1,60))
    when 209
        pk = Pokemon.new(:BARRASKEWDA, rand(26,60))
    when 210
        pk = Pokemon.new(:POLTEAGEIST, rand(1,60))
    when 211
        pk = Pokemon.new(:STONJOURNER, rand(1,60))
    when 212
        pk = Pokemon.new(:EISCUE, rand(1,60))
    when 213
        pk = Pokemon.new(:ESPATHRA, rand(35,60))
    when 214
        pk = Pokemon.new(:HOUNDSTONE, rand(30,60))
    when 215
        pk = Pokemon.new(:DRAGALGE, rand(48,60))
    when 216
        pk = Pokemon.new(:CLAWITZER, rand(37,60))
    when 217
        pk = Pokemon.new(:AVALUGG, rand(37,60))
    when 218
        pk = Pokemon.new(:AVALUGG_1, rand(37,60))
    when 219
        pk = Pokemon.new(:WIGGLYTUFF, rand(10,60))
    when 220
        pk = Pokemon.new(:DUGTRIO, rand(26,60))
    when 221
        pk = Pokemon.new(:DUGTRIO_1, rand(26,60))
    when 222
        pk = Pokemon.new(:ALAKAZAM, rand(16,60))
    when 223
        pk = Pokemon.new(:MUNCHLAX, rand(1,60))
    when 224
        pk = Pokemon.new(:MAMOSWINE, rand(34,60))
    when 225
        pk = Pokemon.new(:GOTHITELLE, rand(42,60))
    when 226
        pk = Pokemon.new(:REUNICLUS, rand(42,60))
    when 227
        pk = Pokemon.new(:BELLIBOLT, rand(1,60))
    when 228
        pk = Pokemon.new(:WUGTRIO, rand(26,60))
    when 228
        pk = Pokemon.new(:CETITAN, rand(1,60))
    when 229
        pk = Pokemon.new(:SCREAMTAIL, rand(5,60))
    when 230
        pk = Pokemon.new(:BRUTEBONNET, rand(5,60))
    when 231
        pk = Pokemon.new(:IRONBUNDLE, rand(5,60))
    when 232
        pk = Pokemon.new(:IRONHANDS, rand(5,60))
    when 233
        pk = Pokemon.new(:SINISTCHA, rand(1,60))
    end
#
  elsif(random_categ = D) # D selected
    choice_3 = rand(333)+1 # Random Integrer between 1 and 333
#
    case choice_3
    when 1
        pk = Pokemon.new(:BULBASAUR, rand(1,15))
    when 2
        pk = Pokemon.new(:IVYSAUR, rand(16,31))
    when 3
        pk = Pokemon.new(:VENUSAUR, 32)
    when 4
        pk = Pokemon.new(:CHARMANDER, rand(1,15))
    when 5
        pk = Pokemon.new(:CHARMELEON, rand(16,35))
    when 6
        pk = Pokemon.new(:CHARIZARD, 36)
    when 7
        pk = Pokemon.new(:SQUIRTLE, rand(1,15))
    when 8
        pk = Pokemon.new(:WARTORTLE, rand(16,35))
    when 9
        pk = Pokemon.new(:BUTTERFREE, rand(10,60))
    when 10
        pk = Pokemon.new(:BEEDRILL, rand(10,60))
    when 11
        pk = Pokemon.new(:PIDGEOT, rand(36,60))
    when 12
        pk = Pokemon.new(:NIDOQUEEN, rand(16,60))
    when 13
        pk = Pokemon.new(:NIDOKING, rand(16,60))
    when 14
        pk = Pokemon.new(:VILEPLUME, rand(21,60))
    when 15
        pk = Pokemon.new(:POLIWRATH, rand(25,60))
    when 16
        pk = Pokemon.new(:MACHAMP, rand(28,60))
    when 17
        pk = Pokemon.new(:VICTREEBEL, rand(21,60))
    when 18
        pk = Pokemon.new(:GOLEM, rand(25,60))
    when 19
        pk = Pokemon.new(:GOLEM_1, rand(25,60))
    when 20
        pk = Pokemon.new(:FARFETCHD, rand(1,60))
    when 21
        pk = Pokemon.new(:FARFETCHD_1, rand(1,60))
    when 22
        pk = Pokemon.new(:GENGAR, rand(25,60))
    when 23
        pk = Pokemon.new(:ONIX, rand(25,60))
    when 24
        pk = Pokemon.new(:EXEGGUTOR, rand(1,60))
    when 25
        pk = Pokemon.new(:EXEGGUTOR_1, rand(1,60))
    when 26
        pk = Pokemon.new(:HITMONLEE, rand(20,60))
    when 27
        pk = Pokemon.new(:HITMONCHAN, rand(20,60))
    when 28
        pk = Pokemon.new(:LICKITUNG, rand(1,60))
    when 29
        pk = Pokemon.new(:TANGELA, rand(1,60))
    when 30
        pk = Pokemon.new(:KANGASKHAN, rand(1,60))
    when 31
        pk = Pokemon.new(:MRMIME, rand(27,60))
    when 32
        pk = Pokemon.new(:MRMIME_1, rand(27,60))
    when 33
        pk = Pokemon.new(:SCYTHER, rand(1,60))
    when 34
        pk = Pokemon.new(:JYNX, rand(30,60))
    when 35
        pk = Pokemon.new(:ELECTABUZZ, rand(30,60))
    when 36
        pk = Pokemon.new(:MAGMAR, rand(30,60))
    when 37
        pk = Pokemon.new(:PINSIR, rand(1,60))
    when 38
        pk = Pokemon.new(:TAUROS, rand(1,60))
    when 39
        pk = Pokemon.new(:TAUROS_1, rand(1,60))
    when 39
        pk = Pokemon.new(:TAUROS_2, rand(1,60))
    when 40
        pk = Pokemon.new(:TAUROS_3, rand(1,60))
    when 41
        pk = Pokemon.new(:GYARADOS, rand(20,60))
    when 42
        pk = Pokemon.new(:LAPRAS, rand(1,60))
    when 43
        pk = Pokemon.new(:EEVEE, rand(1,60))
    when 44
        pk = Pokemon.new(:EEVEE_1, rand(5,60))
    when 45
        pk = Pokemon.new(:VAPOREON, rand(1,60))
    when 46
        pk = Pokemon.new(:JOLTEON, rand(1,60))
    when 47
        pk = Pokemon.new(:FLAREON, rand(1,60))
    when 48
        pk = Pokemon.new(:PORYGON, rand(1,30))
    when 49
        pk = Pokemon.new(:OMANYTE, rand(1,39))
    when 50
        pk = Pokemon.new(:OMASTAR, rand(40,60))
    when 51
        pk = Pokemon.new(:KABUTO, rand(1,39))
    when 52
        pk = Pokemon.new(:KABUTOPS, rand(40,60))
    when 53
        pk = Pokemon.new(:AERODACTYL, rand(1,60))
    when 54
        pk = Pokemon.new(:DRATINI, rand(1,29))
    when 55
        pk = Pokemon.new(:DRAGONAIR, rand(30,54))
    when 56
        pk = Pokemon.new(:DRAGONITE, 55)
    when 57
        pk = Pokemon.new(:CHIKORITA, rand(1,15))
    when 58
        pk = Pokemon.new(:BAYLEEF, rand(16,31))
    when 59
        pk = Pokemon.new(:MEGANIUM, 32)
    when 60
        pk = Pokemon.new(:CYNDAQUIL, rand(1,13))
    when 61
        pk = Pokemon.new(:QUILAVA, rand(14,35))
    when 62
        pk = Pokemon.new(:TYPHLOSION, 36)
    when 63
        pk = Pokemon.new(:TYPHLOSION_1, 36)
    when 64
        pk = Pokemon.new(:TOTODILE, rand(1,17))
    when 65
        pk = Pokemon.new(:CROCONAW, rand(18,29))
    when 66
        pk = Pokemon.new(:FERALIGATR, 30)
    when 67
        pk = Pokemon.new(:AMPHAROS, rand(30,60))
    when 68
        pk = Pokemon.new(:BELLOSSOM, rand(21,60))
    when 69
        pk = Pokemon.new(:POLITOED, rand(25,60))
    when 70
        pk = Pokemon.new(:JUMPLUFF, rand(27,60))
    when 71
        pk = Pokemon.new(:AIPOM, rand(1,60))
    when 72
        pk = Pokemon.new(:ESPEON, rand(10,60))
    when 73
        pk = Pokemon.new(:UMBREON, rand(10,60))
    when 74
        pk = Pokemon.new(:MISDREAVUS, rand(1,60))
    when 75
        pk = Pokemon.new(:WOBBUFFET, rand(15,60))
    when 76
        pk = Pokemon.new(:QWILFISH, rand(1,60))
    when 77
        pk = Pokemon.new(:QWILFISH_1, rand(1,60))
    when 78
        pk = Pokemon.new(:HERACROSS, rand(1,60))
    when 79
        pk = Pokemon.new(:DELIBIRD, rand(1,60))
    when 80
        pk = Pokemon.new(:HOUNDOOM, rand(24,60))
    when 81
        pk = Pokemon.new(:KINGDRA, rand(34,60))
    when 82
        pk = Pokemon.new(:PORYGON2, rand(1,30))
    when 83
        pk = Pokemon.new(:STANTLER, rand(1,60))
    when 84
        pk = Pokemon.new(:SMEARGLE, rand(1,60))
    when 85
        pk = Pokemon.new(:HITMONTOP, rand(20,60))
    when 86
        pk = Pokemon.new(:SMOOCHUM, rand(1,29))
    when 87
        pk = Pokemon.new(:ELEKID, rand(1,29))
    when 88
        pk = Pokemon.new(:MAGBY, rand(1,29))
    when 89
        pk = Pokemon.new(:MILTANK, rand(1,60))
    when 90
        pk = Pokemon.new(:LARVITAR, rand(1,29))
    when 91
        pk = Pokemon.new(:PUPITAR, rand(30,54))
    when 92
        pk = Pokemon.new(:TYRANITAR, 55)
    when 93
        pk = Pokemon.new(:TREECKO, rand(1,15))
    when 94
        pk = Pokemon.new(:GROVYLE, rand(16,35))
    when 95
        pk = Pokemon.new(:SCEPTILE, 36)
    when 96
        pk = Pokemon.new(:TORCHIC, rand(1,15))
    when 97
        pk = Pokemon.new(:COMBUSKEN, rand(16,35))
    when 98
        pk = Pokemon.new(:BLAZIKEN, 36)
    when 99
        pk = Pokemon.new(:MUDKIP, rand(1,15))
    when 100
        pk = Pokemon.new(:MARSHTOMP, rand(16,35))
    when 101
        pk = Pokemon.new(:SWAMPERT, 36)
    when 102
        pk = Pokemon.new(:BEAUTIFLY, rand(10,60))
    when 103
        pk = Pokemon.new(:DUSTOX, rand(10,60))
    when 104
        pk = Pokemon.new(:LUDICOLO, rand(14,60))
    when 105
        pk = Pokemon.new(:SHIFTRY, rand(14,60))
    when 106
        pk = Pokemon.new(:SWELLOW, rand(22,60))
    when 107
        pk = Pokemon.new(:PELIPPER, rand(25,60))
    when 108
        pk = Pokemon.new(:GARDEVOIR, rand(30,60))
    when 109
        pk = Pokemon.new(:SLAKING, rand(36,60))
    when 110
        pk = Pokemon.new(:SHEDINJA, 20)
    when 111
        pk = Pokemon.new(:EXPLOUD, rand(40,60))
    when 112
        pk = Pokemon.new(:SABLEYE, rand(1,60))
    when 113
        pk = Pokemon.new(:MAWILE, rand(1,60))
    when 114
        pk = Pokemon.new(:AGGRON, rand(42,60))
    when 115
        pk = Pokemon.new(:MANECTRIC, rand(26,60))
    when 116
        pk = Pokemon.new(:FLYGON, rand(45,60))
    when 117
        pk = Pokemon.new(:ALTARIA, rand(35,60))
    when 118
        pk = Pokemon.new(:LUNATONE, rand(1,60))
    when 119
        pk = Pokemon.new(:SOLROCK, rand(1,60))
    when 120
        pk = Pokemon.new(:LILEEP, rand(1,39))
    when 121
        pk = Pokemon.new(:CRADILY, rand(40,60))
    when 122
        pk = Pokemon.new(:ANORITH, rand(1,39))
    when 123
        pk = Pokemon.new(:ARMALDO, rand(40,60))
    when 124
        pk = Pokemon.new(:CASTFORM, rand(1,60))
    when 125
        pk = Pokemon.new(:BANETTE, rand(37,60))
    when 126
        pk = Pokemon.new(:CHIMECHO, rand(10,60))
    when 127
        pk = Pokemon.new(:WALREIN, rand(44,60))
    when 130
        pk = Pokemon.new(:SALAMENCE, 50)
    when 129
        pk = Pokemon.new(:SHELGON, rand(30,49))
    when 130
        pk = Pokemon.new(:SALAMENCE, 50)
    when 131
        pk = Pokemon.new(:TURTWIG, rand(1,17))
    when 132
        pk = Pokemon.new(:GROTLE, rand(18,31))
    when 133
        pk = Pokemon.new(:TORTERRA, 32)
    when 134
        pk = Pokemon.new(:CHIMCHAR, rand(1,13))
    when 135
        pk = Pokemon.new(:MONFERNO, rand(14,35))
    when 136
        pk = Pokemon.new(:INFERNAPE, 36)
    when 137
        pk = Pokemon.new(:PIPLUP, rand(1,15))
    when 138
        pk = Pokemon.new(:PRINPLUP, rand(16,35))
    when 139
        pk = Pokemon.new(:EMPOLEON, 36)  
    when 140
        pk = Pokemon.new(:STARAPTOR, rand(34,60))
    when 141
        pk = Pokemon.new(:KRICKETUNE, rand(10,60))
    when 142
        pk = Pokemon.new(:LUXRAY, rand(30,60))
    when 143
        pk = Pokemon.new(:CRANIDOS, rand(1,20))
    when 144
        pk = Pokemon.new(:RAMPARDOS, 30)
    when 145
        pk = Pokemon.new(:SHIELDON, rand(1,20))
    when 146
        pk = Pokemon.new(:BASTIODON, 30)
    when 147
        pk = Pokemon.new(:WORMADAM, rand(20,60))
    when 148
        pk = Pokemon.new(:WORMADAM_1, rand(20,60))
    when 149
        pk = Pokemon.new(:WORMADAM_2, rand(20,60))
    when 150
        pk = Pokemon.new(:MOTHIM, rand(20,60))
    when 151
        pk = Pokemon.new(:VESPIQUEN, rand(21,60))
    when 152
        pk = Pokemon.new(:AMBIPOM, rand(32,60))
    when 153
        pk = Pokemon.new(:MISMAGIUS, rand(1,60))
    when 154
        pk = Pokemon.new(:GIBLE, rand(1,23))
    when 155
        pk = Pokemon.new(:GABITE, rand(24,47))
    when 156
        pk = Pokemon.new(:GARCHOMP, rand(48,60))
    when 157
        pk = Pokemon.new(:LUCARIO, rand(10,60))
    when 158
        pk = Pokemon.new(:DRAPION, rand(40,60))
    when 159
        pk = Pokemon.new(:WEAVILE, rand(2,60))
    when 160
        pk = Pokemon.new(:LEAFEON, rand(1,60))
    when 161
        pk = Pokemon.new(:GLACEON, rand(1,60))
    when 162
        pk = Pokemon.new(:GALLADE, rand(20,60))
    when 163
        pk = Pokemon.new(:DUSKNOIR, rand(37,60))
    when 164
        pk = Pokemon.new(:ROTOM, rand(1,60))
    when 165
        pk = Pokemon.new(:SNIVY, rand(1,16))
    when 166
        pk = Pokemon.new(:SERVINE, rand(17,35))
    when 167
        pk = Pokemon.new(:SERPERIOR, 36)
    when 168
        pk = Pokemon.new(:TEPIG, rand(1,16))
    when 169
        pk = Pokemon.new(:PIGNITE, rand(17,35))
    when 170
        pk = Pokemon.new(:EMBOAR, 36)
    when 171
        pk = Pokemon.new(:OSHAWOTT, rand(1,16))
    when 172
        pk = Pokemon.new(:DEWOTT, rand(17,35))
    when 173
        pk = Pokemon.new(:SAMUROTT, 36)
    when 174
        pk = Pokemon.new(:SAMUROTT_1, 36)
    when 175
        pk = Pokemon.new(:STOUTLAND, rand(32,60))
    when 176
        pk = Pokemon.new(:UNFEZANT, rand(32,60))
    when 177
        pk = Pokemon.new(:UNFEZANT_1, rand(32,60))
    when 178
        pk = Pokemon.new(:GIGALITH, rand(25,60))
    when 179
        pk = Pokemon.new(:SWOOBAT, rand(10,60))
    when 180
        pk = Pokemon.new(:CONKELDURR, rand(25,60))
    when 181
        pk = Pokemon.new(:SEISMITOAD, rand(36,60))
    when 182
        pk = Pokemon.new(:THROH, rand(1,60))
    when 183
        pk = Pokemon.new(:SAWK, rand(1,60))
    when 183
        pk = Pokemon.new(:LEAVANNY, rand(21,60))
    when 184
        pk = Pokemon.new(:SCOLIPEDE, rand(30,60))
    when 185
        pk = Pokemon.new(:KROOKODILE, rand(40,60))
    when 186
        pk = Pokemon.new(:SIGILYPH, rand(1,60))
    when 187
        pk = Pokemon.new(:TIRTOUGA, rand(1,36))
    when 188
        pk = Pokemon.new(:CARRACOSTA, rand(37,60))
    when 189
        pk = Pokemon.new(:ARCHEN, rand(1,36))
    when 190
        pk = Pokemon.new(:ARCHEOPS, rand(37,60))
    when 191
        pk = Pokemon.new(:ZOROARK, rand(30,60))
    when 192
        pk = Pokemon.new(:ZOROARK_1, rand(30,60))
    when 193
        pk = Pokemon.new(:SWANNA, rand(35,60))
    when 194
        pk = Pokemon.new(:VANILLUXE, rand(47,60))
    when 195
        pk = Pokemon.new(:CHANDELURE, rand(41,60))
    when 196
        pk = Pokemon.new(:HAXORUS, rand(48,60))
    when 197
        pk = Pokemon.new(:MIENSHAO, 50)
    when 198
        pk = Pokemon.new(:DRUDDIGON, rand(1,60))
    when 199
        pk = Pokemon.new(:BISHARP, 52)
    when 200
        pk = Pokemon.new(:BOUFFALANT, rand(1,60))
    when 201
        pk = Pokemon.new(:DEINO, rand(1,49))
    when 202
        pk = Pokemon.new(:ZWEILOUS, rand(50,63))
    when 203
        pk = Pokemon.new(:HYDREIGON, 64)
    when 204
        pk = Pokemon.new(:LARVESTA, rand(1,59))
    when 205
        pk = Pokemon.new(:CHESPIN, rand(1,15))
    when 206
        pk = Pokemon.new(:QUILLADIN, rand(16,35))
    when 207
        pk = Pokemon.new(:CHESNAUGHT, 36)
    when 208
        pk = Pokemon.new(:FENNEKIN, rand(1,15))
    when 209
        pk = Pokemon.new(:BRAIXEN, rand(16,35))
    when 210
        pk = Pokemon.new(:DELPHOX, 36)
    when 211
        pk = Pokemon.new(:FROAKIE, rand(1,15))
    when 212
        pk = Pokemon.new(:FROGADIER, rand(16,35))
    when 213
        pk = Pokemon.new(:GRENINJA, 36)
    when 214
        pk = Pokemon.new(:GRENINJA_1, 36)
    when 215
        pk = Pokemon.new(:TALONFLAME, rand(35,60))
    when 216
        pk = Pokemon.new(:VIVILLON_18, rand(12,60))
    when 217
        pk = Pokemon.new(:VIVILLON_19, rand(12,60))
    when 218
        pk = Pokemon.new(:FLOETTE_5, rand(19,60))

    when 219
        pk = Pokemon.new(:FLORGES, rand(19,60))
    when 220
        pk = Pokemon.new(:FLORGES_1, rand(19,60))
    when 221
        pk = Pokemon.new(:FLORGES_2, rand(19,60))
    when 222
        pk = Pokemon.new(:FLORGES_3, rand(19,60))
    when 223
        pk = Pokemon.new(:FLORGES_4, rand(19,60))
    when 224
        pk = Pokemon.new(:GOGOAT, rand(32,60))
    when 225
        pk = Pokemon.new(:AEGISLASH, rand(35,60))
    when 226
        pk = Pokemon.new(:BARBARACLE, rand(39,60))
    when 227
        pk = Pokemon.new(:TYRUNT, rand(1,38))
    when 228
        pk = Pokemon.new(:TYRANTRUM, rand(39,40))
    when 229
        pk = Pokemon.new(:AMAURA, rand(1,38))
    when 230
        pk = Pokemon.new(:AURORUS, rand(39,40))
    when 231
        pk = Pokemon.new(:GOOMY, rand(1,39))
    when 232
        pk = Pokemon.new(:SLIGGOO, rand(40,49))
    when 233
        pk = Pokemon.new(:SLIGGOO_1, rand(40,49))
    when 234
        pk = Pokemon.new(:GOODRA, 50)
    when 235
        pk = Pokemon.new(:GOODRA_1, 50)
    when 236
        pk = Pokemon.new(:NOIVERN, rand(48,60))
    when 237
        pk = Pokemon.new(:ROWLET, rand(1,16))
    when 238
        pk = Pokemon.new(:DARTRIX, rand(17,33))
    when 239
        pk = Pokemon.new(:DECIDUEYE, 34)
    when 240
        pk = Pokemon.new(:DECIDUEYE_1, 36)
    when 241
        pk = Pokemon.new(:LITTEN, rand(1,16))
    when 242
        pk = Pokemon.new(:TORRACAT, rand(17,33))
    when 243
        pk = Pokemon.new(:INCINEROAR, 34)
    when 244
        pk = Pokemon.new(:POPPLIO, rand(1,16))
    when 245
        pk = Pokemon.new(:BRIONNE, rand(17,33))
    when 246
        pk = Pokemon.new(:PRIMARINA, 34)
    when 247
        pk = Pokemon.new(:TOUCANNON, rand(28,60))
    when 248
        pk = Pokemon.new(:VIKAVOLT, rand(20,60))
    when 249
        pk = Pokemon.new(:ORICORIO, rand(1,60))
    when 250
        pk = Pokemon.new(:ORICORIO_1, rand(1,60))
    when 251
        pk = Pokemon.new(:ORICORIO_2, rand(1,60))
    when 252
        pk = Pokemon.new(:ORICORIO_3, rand(1,60))
    when 253
        pk = Pokemon.new(:SALAZZLE, rand(33,60))
    when 254
        pk = Pokemon.new(:TSAREENA, rand(28,60))
    when 255
        pk = Pokemon.new(:ORANGURU, rand(1,60))
    when 256
        pk = Pokemon.new(:PASSIMIAN, rand(1,60))
    when 257
        pk = Pokemon.new(:GOLISOPOD, rand(30,60))
    when 258
        pk = Pokemon.new(:KOMALA, rand(1,60))
    when 259
        pk = Pokemon.new(:MIMIKYU, rand(1,60))
    when 260
        pk = Pokemon.new(:JANGMOO, rand(1,34))
    when 261
        pk = Pokemon.new(:HAKAMOO, rand(35,44))
    when 262
        pk = Pokemon.new(:KOMMOO, rand(45,60))
    when 263
        pk = Pokemon.new(:DIPPLIN, rand(1,60))
    when 264
        pk = Pokemon.new(:NIHILEGO, rand(1,60))
    when 265
        pk = Pokemon.new(:BUZZWOLE, rand(1,60))
    when 266
        pk = Pokemon.new(:PHEROMOSA, rand(1,60))
    when 267
        pk = Pokemon.new(:XURKITREE, rand(1,60))
    when 268
        pk = Pokemon.new(:CELESTEELA, rand(1,60))
    when 269
        pk = Pokemon.new(:KARTANA, rand(1,60))
    when 270
        pk = Pokemon.new(:GUZZLORD, rand(1,60))
    when 271
        pk = Pokemon.new(:POIPOLE, rand(1,60))
    when 272
        pk = Pokemon.new(:NAGANADEL, 50)
    when 273
        pk = Pokemon.new(:GROOKEY, rand(1,15))
    when 274
        pk = Pokemon.new(:THWACKEY, rand(16,34))
    when 275
        pk = Pokemon.new(:RILLABOOM, 35)
    when 276
        pk = Pokemon.new(:SCORBUNNY, rand(1,15))
    when 277
        pk = Pokemon.new(:RABOOT, rand(16,34))
    when 278
        pk = Pokemon.new(:CINDERACE, 35)
    when 279
        pk = Pokemon.new(:SOBBLE, rand(1,15))
    when 280
        pk = Pokemon.new(:DRIZZILE, rand(16,34))
    when 281
        pk = Pokemon.new(:INTELEON, 35)
    when 282
        pk = Pokemon.new(:CORVIKNIGHT, rand(38,60))
    when 283
        pk = Pokemon.new(:ORBEETLE, rand(30,60))
    when 284
        pk = Pokemon.new(:BOLTUND, rand(25,60))
    when 285
        pk = Pokemon.new(:COALOSSAL, rand(34,60))
    when 286
        pk = Pokemon.new(:FLAPPLE, rand(1,60))
    when 287
        pk = Pokemon.new(:APPLETUN, rand(1,60))
    when 288
        pk = Pokemon.new(:CRAMORANT, rand(1,60))
    when 289
        pk = Pokemon.new(:TOXTRICITY, rand(30,60))
    when 290
        pk = Pokemon.new(:TOXTRICITY_1, rand(30,60))
    when 291
        pk = Pokemon.new(:GRAPPLOCT, rand(35,60))
    when 292
        pk = Pokemon.new(:HATTERENE, rand(42,60))
    when 293
        pk = Pokemon.new(:GRIMMSNARL, rand(42,60))
    when 294
        pk = Pokemon.new(:OBSTAGOON, rand(35,60))
    when 295
        pk = Pokemon.new(:SIRFETCHD, rand(10,30))
    when 296
        pk = Pokemon.new(:MRRIME, rand(42,60))
    when 297
        pk = Pokemon.new(:FALINKS, rand(1,60))
    when 298
        pk = Pokemon.new(:DRACOZOLT, rand(1,10))
    when 299
        pk = Pokemon.new(:ARCTOZOLT, rand(1,10))
    when 300
        pk = Pokemon.new(:DRACOVISH, rand(1,10))
    when 301
        pk = Pokemon.new(:ARCTOVISH, rand(1,10))
    when 302
        pk = Pokemon.new(:DURALUDON, rand(1,60))
    when 303
        pk = Pokemon.new(:DREEPY, rand(1,49))
    when 304
        pk = Pokemon.new(:DRAKLOAK, rand(50,59))
    when 305
        pk = Pokemon.new(:DRAGAPULT, 60)
    when 306
        pk = Pokemon.new(:WYRDEER, rand(1,60))
    when 307
        pk = Pokemon.new(:BASCULEGION, 50)
    when 308
        pk = Pokemon.new(:BASCULEGION_1, 50)
    when 309
        pk = Pokemon.new(:OVERQWIL, rand(24,60))
    when 310
        pk = Pokemon.new(:SPRIGATITO, rand(1,15))
    when 311
        pk = Pokemon.new(:FLORAGATO, rand(16,35))
    when 312
        pk = Pokemon.new(:MEOWSCARADA, 36)
    when 313
        pk = Pokemon.new(:FUECOCO, rand(1,15))
    when 314
        pk = Pokemon.new(:CROCALOR, rand(16,35))
    when 315
        pk = Pokemon.new(:SKELEDIRGE, 36)
    when 316
        pk = Pokemon.new(:QUAXLY, rand(1,15))
    when 317
        pk = Pokemon.new(:QUAXWELL, rand(16,35))
    when 318
        pk = Pokemon.new(:QUAQUAVAL, 36)
    when 319
        pk = Pokemon.new(:PAWMOT, rand(19,60))
    when 320
        pk = Pokemon.new(:ARBOLIVA, rand(35,60))
    when 321
        pk = Pokemon.new(:GARGANACL, rand(38,60))
    when 322
        pk = Pokemon.new(:BRAMBLEGHAST, rand(2,60))
    when 323
        pk = Pokemon.new(:RABSCA, rand(2,60))
    when 324
        pk = Pokemon.new(:TINKATON, rand(38,60))
    when 325
        pk = Pokemon.new(:PALAFIN, rand(38,60))
    when 326
        pk = Pokemon.new(:ANNIHILAPE, rand(28,60))
    when 327
        pk = Pokemon.new(:FARIGIRAF, rand(35,60))
    when 328
        pk = Pokemon.new(:DUDUNSPARCE, rand(45,60))
    when 329
        pk = Pokemon.new(:DUDUNSPARCE_1, rand(45,60))
    when 330
        pk = Pokemon.new(:FRIGIBAX, rand(1,34))
    when 331
        pk = Pokemon.new(:GIMMIGHOUL, rand(1,60))
    when 332
        pk = Pokemon.new(:GIMMIGHOUL_1, rand(1,60))
    when 333
        pk = Pokemon.new(:GHOLDENGO, rand(2,60))
    end
#
  elsif(random_categ = C) # C selected
    choice_4 = rand(70)+1 # Random Integrer between 1 and 70
#
    case choice_4
    when 1
        pk = Pokemon.new(:DITTO, rand(15,60))
    when 2
        pk = Pokemon.new(:CHANSEY, rand(2,60))
    when 3
        pk = Pokemon.new(:MURKROW, rand(1,60))
    when 4
        pk = Pokemon.new(:BLISSEY, rand(10,60))
    when 5
        pk = Pokemon.new(:ABSOL, rand(1,60))
    when 6
        pk = Pokemon.new(:HONCHKROW, rand(1,60))
    when 7
        pk = Pokemon.new(:CHATOT, rand(1,60))
    when 8
        pk = Pokemon.new(:MAGNEZONE, rand(30,60))
    when 9
        pk = Pokemon.new(:LICKILICKY, rand(2,60))
    when 10
        pk = Pokemon.new(:RHYPERIOR, rand(42,60))
    when 11
        pk = Pokemon.new(:TANGROWTH, rand(2,60))
    when 12
        pk = Pokemon.new(:ELECTIVIRE, rand(30,60))
    when 13
        pk = Pokemon.new(:MAGMORTAR, rand(30,60))
    when 14
        pk = Pokemon.new(:TOGEKISS, rand(10,60))
    when 15
        pk = Pokemon.new(:YANMEGA, rand(2,60))
    when 16
        pk = Pokemon.new(:GLISCOR, rand(2,60))
    when 17
        pk = Pokemon.new(:PORYGONZ, rand(1,30))
    when 18
        pk = Pokemon.new(:PHIONE, 1)
    when 19
        pk = Pokemon.new(:KLINKLANG, rand(49,60))
    when 20
        pk = Pokemon.new(:EELEKTROSS, rand(39,60))
    when 21
        pk = Pokemon.new(:MINIOR, rand(1,60))
    when 22
        pk = Pokemon.new(:MINIOR_1, rand(1,60))
    when 23
        pk = Pokemon.new(:MINIOR_2, rand(1,60))
    when 24
        pk = Pokemon.new(:MINIOR_3, rand(1,60))
    when 25
        pk = Pokemon.new(:MINIOR_4, rand(1,60))
    when 26
        pk = Pokemon.new(:MINIOR_5, rand(1,60))
    when 27
        pk = Pokemon.new(:MINIOR_6, rand(1,60))
    when 28
        pk = Pokemon.new(:STAKATAKA, rand(1,60))
    when 29
        pk = Pokemon.new(:BLACEPHALON, rand(1,60))
    when 30
        pk = Pokemon.new(:CURSOLA, rand(38,60))
    when 31
        pk = Pokemon.new(:INDEEDEE, rand(1,60))
    when 32
        pk = Pokemon.new(:INDEEDEE_1, rand(1,60))
    when 33
        pk = Pokemon.new(:LOKIX, rand(24,60))
    when 34
        pk = Pokemon.new(:GREATTUSK, rand(1,60))
    when 35
        pk = Pokemon.new(:FLUTTERMANE, rand(1,60))
    when 36
        pk = Pokemon.new(:SLITHERWING, rand(1,60))
    when 37
        pk = Pokemon.new(:SANDYSHOCKS, rand(1,60))
    when 38
        pk = Pokemon.new(:IRONTREADS, rand(1,60))
    when 39
        pk = Pokemon.new(:IRONJUGULIS, rand(1,60))
    when 40
        pk = Pokemon.new(:IRONMOTH, rand(1,60))
    when 41
        pk = Pokemon.new(:IRONTHORNS, rand(1,60))
    when 42
        pk = Pokemon.new(:CLEFABLE, rand(10,60))
    when 43
        pk = Pokemon.new(:SNORLAX, rand(20,60))
    when 44
        pk = Pokemon.new(:STEELIX, rand(1,60))
    when 45
        pk = Pokemon.new(:SCIZOR, rand(1,60))
    when 46
        pk = Pokemon.new(:MANTINE, rand(2,60))
    when 47
        pk = Pokemon.new(:SKARMORY, rand(1,60))
    when 48
        pk = Pokemon.new(:RELICANTH, rand(1,60))
    when 49
        pk = Pokemon.new(:MANTYKE, rand(1,60))
    when 50
        pk = Pokemon.new(:CRYOGONAL, rand(1,60))
    when 51
        pk = Pokemon.new(:DHELMISE, rand(1,60))
    when 52
        pk = Pokemon.new(:ARMAROUGE, rand(1,60))
    when 53
        pk = Pokemon.new(:CERULEDGE, rand(1,60))
    when 54
        pk = Pokemon.new(:BOMBIRDIER, rand(1,60))
    when 55
        pk = Pokemon.new(:ORTHWORM, rand(1,60))
    when 56
        pk = Pokemon.new(:GLIMMORA, rand(35,60))
    when 57
        pk = Pokemon.new(:DONDOZO, rand(1,60))
    when 58
        pk = Pokemon.new(:KINGAMBIT, 52)
    when 59
        pk = Pokemon.new(:ARCTIBAX, rand(35,53))
    when 60
        pk = Pokemon.new(:URSALUNA, rand(31,60))
    when 61
        pk = Pokemon.new(:URSALUNA_1, rand(31,60))
    when 62
        pk = Pokemon.new(:SNEASLER, rand(2,60))
    when 63
        pk = Pokemon.new(:VOLCARONA, rand(59,70))
    when 64
        pk = Pokemon.new(:KLEAVOR, rand(1,60))
    when 65
        pk = Pokemon.new(:BAXCALIBUR, 54)
    when 66
        pk = Pokemon.new(:ROARINGMOON, rand(1,60))
    when 67
        pk = Pokemon.new(:IRONVALIANT, rand(1,60))
    when 68
        pk = Pokemon.new(:BELDUM, rand(1,19))
    when 69
        pk = Pokemon.new(:METANG, rand(20,44))
    when 70
        pk = Pokemon.new(:METAGROSS, rand(45,60))
    end
#
  elsif(random_categ = B) # B selected
    choice_5 = rand(97)+1 # Random Integrer between 1 and 97
#
    case choice_5
    when 1
        pk = Pokemon.new(:WOCHIEN, rand(5,60))
    when 2
        pk = Pokemon.new(:CHIENPAO, rand(5,60))
    when 3
        pk = Pokemon.new(:TINGLU, rand(5,60))
    when 4
        pk = Pokemon.new(:CHIYU, rand(5,60))
    when 5
        pk = Pokemon.new(:WALKINGWAKE, rand(5,75))
    when 6
        pk = Pokemon.new(:IRONLEAVES, rand(5,75))
    when 7
        pk = Pokemon.new(:ARTICUNO, rand(5,60))
    when 8
        pk = Pokemon.new(:ARTICUNO_1, rand(5,70))
    when 9
        pk = Pokemon.new(:ZAPDOS, rand(5,60))
    when 10
        pk = Pokemon.new(:ZAPDOS_1, rand(5,70))
    when 11
        pk = Pokemon.new(:MOLTRES, rand(5,60))
    when 12
        pk = Pokemon.new(:MOLTRES_1, rand(5,70))
    when 13
        pk = Pokemon.new(:MEWTWO, rand(5,70))
    when 14
        pk = Pokemon.new(:MEW, rand(5,40))
    when 15
        pk = Pokemon.new(:RAIKOU, rand(5,70))
    when 16
        pk = Pokemon.new(:ENTEI, rand(5,70))
    when 17
        pk = Pokemon.new(:SUICUNE, rand(5,70))
    when 18
        pk = Pokemon.new(:LUGIA, rand(5,70))
    when 19
        pk = Pokemon.new(:HOOH, rand(5,70))
    when 20
        pk = Pokemon.new(:CELEBI, rand(5,40))
    when 21
        pk = Pokemon.new(:REGIROCK, rand(5,70))
    when 22
        pk = Pokemon.new(:REGICE, rand(5,70))
    when 23
        pk = Pokemon.new(:REGISTEEL, rand(5,70))
    when 24
        pk = Pokemon.new(:LATIAS, rand(5,70))
    when 25
        pk = Pokemon.new(:LATIOS, rand(5,70))
    when 26
        pk = Pokemon.new(:KYOGRE, rand(5,70))
    when 27
        pk = Pokemon.new(:GROUDON, rand(5,70))
    when 28
        pk = Pokemon.new(:JIRACHI, rand(5,60))
    when 29
        pk = Pokemon.new(:DEOXYS, rand(5,80))
    when 30
        pk = Pokemon.new(:UXIE, rand(5,50))
    when 31
        pk = Pokemon.new(:MESPRIT, rand(5,50))
    when 32
        pk = Pokemon.new(:AZELF, rand(5,50))
    when 33
        pk = Pokemon.new(:DIALGA, rand(5,50))
    when 34
        pk = Pokemon.new(:PALKIA, rand(5,50))
    when 35
        pk = Pokemon.new(:HEATRAN, rand(5,70))
    when 36
        pk = Pokemon.new(:REGIGIGAS, rand(5,70))
    when 37
        pk = Pokemon.new(:GIRATINA, rand(5,50))
    when 38
        pk = Pokemon.new(:CRESSELIA, rand(5,70))
    when 39
        pk = Pokemon.new(:MANAPHY, rand(5,60))
    when 40
        pk = Pokemon.new(:DARKRAI, rand(5,40))
    when 41
        pk = Pokemon.new(:SHAYMIN, rand(5,70))
    when 42
        pk = Pokemon.new(:ARCEUS, rand(5,80))
    when 43
        pk = Pokemon.new(:VICTINI, rand(5,30))
    when 44
        pk = Pokemon.new(:COBALION, rand(5,70))
    when 45
        pk = Pokemon.new(:VIRIZION, rand(5,70))
    when 46
        pk = Pokemon.new(:TERRAKION, rand(5,70))
    when 47
        pk = Pokemon.new(:TORNADUS, rand(5,70))
    when 48
        pk = Pokemon.new(:THUNDURUS, rand(5,70))
    when 49
        pk = Pokemon.new(:LANDORUS, rand(5,70))
    when 50
        pk = Pokemon.new(:ENAMORUS, rand(5,70))
    when 51
        pk = Pokemon.new(:RESHIRAM, rand(5,70))
    when 52
        pk = Pokemon.new(:ZEKROM, rand(5,70))
    when 53
        pk = Pokemon.new(:KYUREM, rand(5,70))
    when 54
        pk = Pokemon.new(:KELDEO, rand(5,70))
    when 55
        pk = Pokemon.new(:MELOETTA, rand(5,30))
    when 56
        pk = Pokemon.new(:GENESECT, rand(5,70))
    when 57
        pk = Pokemon.new(:XERNEAS, rand(5,60))
    when 58
        pk = Pokemon.new(:YVELTAL, rand(5,60))
    when 59
        pk = Pokemon.new(:ZYGARDE_1, rand(5,70))
    when 60
        pk = Pokemon.new(:DIANCIE, rand(5,30))
    when 61
        pk = Pokemon.new(:HOOPA, rand(5,70))
    when 62
        pk = Pokemon.new(:VOLCANION, rand(5,70))
    when 63
        pk = Pokemon.new(:TYPENULL, rand(5,60))
    when 64
        pk = Pokemon.new(:SILVALLY, rand(5,60))
    when 65
        pk = Pokemon.new(:TAPUKOKO, rand(5,60))
    when 66
        pk = Pokemon.new(:TAPULELE, rand(5,60))
    when 67
        pk = Pokemon.new(:TAPUBULU, rand(5,60))
    when 68
        pk = Pokemon.new(:TAPUFINI, rand(5,60))
    when 69
        pk = Pokemon.new(:COSMOG, 5)
    when 70
        pk = Pokemon.new(:COSMOEM, 43)
    when 71
        pk = Pokemon.new(:SOLGALEO, rand(53,70))
    when 72
        pk = Pokemon.new(:LUNALA, rand(53,70))
    when 73
        pk = Pokemon.new(:NECROZMA, rand(5,70))
    when 74
        pk = Pokemon.new(:MAGEARNA, 5)
    when 75
        pk = Pokemon.new(:MARSHADOW, rand(5,60))
    when 76
        pk = Pokemon.new(:ZERAORA, rand(5,60))
    when 77
        pk = Pokemon.new(:MELTAN, 5)
    when 78
        pk = Pokemon.new(:MELMETAL, 5)
    when 79
        pk = Pokemon.new(:KUBFU, 10)
    when 80
        pk = Pokemon.new(:URSHIFU, 10)
    when 81
        pk = Pokemon.new(:URSHIFU_1, 10)
    when 82
        pk = Pokemon.new(:ZARUDE, rand(5,60))
    when 83
        pk = Pokemon.new(:REGIELEKI, rand(5,70))
    when 84
        pk = Pokemon.new(:REGIDRAGO, rand(5,70))
    when 85
        pk = Pokemon.new(:GLASTRIER, rand(5,75))
    when 86
        pk = Pokemon.new(:SPECTRIER, rand(5,75))
    when 87
        pk = Pokemon.new(:CALYREX, rand(5,80))
    when 88
        pk = Pokemon.new(:KORAIDON, rand(5,72))
    when 89
        pk = Pokemon.new(:MIRAIDON, rand(5,72))
    when 90
        pk = Pokemon.new(:ZACIAN, rand(5,70))
    when 91
        pk = Pokemon.new(:ZAMAZENTA, rand(5,70))
    when 92
        pk = Pokemon.new(:ETERNATUS, rand(5,60))
    when 93
        pk = Pokemon.new(:RAYQUAZA, rand(5,70))
    when 94
        pk = Pokemon.new(:OKIDOGI, rand(5,70))
    when 95
        pk = Pokemon.new(:MUNKIDORI, rand(5,70))
    when 96
        pk = Pokemon.new(:FEZANDIPITI, rand(5,70))
    when 97
        pk = Pokemon.new(:OGERPON, rand(5,70))
    end
#
    else # A selected
    choice_6 = rand(394)+1 # Random Integrer between 1 and 394
#
    case choice_6
    when 1
        pk = Pokemon.new(:CATERPIE, 1)
    when 2
        pk = Pokemon.new(:WEEDLE, 1)
    when 3
        pk = Pokemon.new(:PIDGEY, 1)
    when 4
        pk = Pokemon.new(:RATTATA, 1)
    when 5
        pk = Pokemon.new(:RATTATA_1, 1)
    when 6
        pk = Pokemon.new(:SPEAROW, 1)
    when 7
        pk = Pokemon.new(:EKANS, 1)
    when 8
        pk = Pokemon.new(:SANDSHREW, 1)  
    when 9
        pk = Pokemon.new(:SANDSHREW_1, 1)
    when 10
        pk = Pokemon.new(:ZUBAT, 1)
    when 11
        pk = Pokemon.new(:ODDISH, 1)
    when 12
        pk = Pokemon.new(:DIGLETT, 1)
    when 13
        pk = Pokemon.new(:DIGLETT_1, 1)
    when 14
        pk = Pokemon.new(:MEOWTH, 1)
    when 15
        pk = Pokemon.new(:MEOWTH_1, 1)
    when 16
        pk = Pokemon.new(:MEOWTH_2, 1)
    when 17
        pk = Pokemon.new(:POLIWAG, 1)
    when 18
        pk = Pokemon.new(:BELLSPROUT, 1)
    when 19
        pk = Pokemon.new(:GEODUDE, 1)
    when 20
        pk = Pokemon.new(:GEODUDE_1, 1)
    when 21
        pk = Pokemon.new(:MAGIKARP, 1)
    when 22
        pk = Pokemon.new(:SENTRET, 1)
    when 23
        pk = Pokemon.new(:HOOTHOOT, 1)
    when 24
        pk = Pokemon.new(:LEDYBA, 1)
    when 25
        pk = Pokemon.new(:SPINARAK, 1)
    when 26
        pk = Pokemon.new(:HOPPIP, 1)
    when 27
        pk = Pokemon.new(:WOOPER, 1)
    when 28
        pk = Pokemon.new(:WOOPER_1, 1)
    when 29
        pk = Pokemon.new(:POOCHYENA, 1)
    when 30
        pk = Pokemon.new(:ZIGZAGOON, 1)
    when 31
        pk = Pokemon.new(:ZIGZAGOON_1, 1)
    when 32
        pk = Pokemon.new(:WURMPLE, 1)
    when 33
        pk = Pokemon.new(:LOTAD, 1)
    when 34
        pk = Pokemon.new(:SEEDOT, 1)
    when 35
        pk = Pokemon.new(:SHROOMISH, 1)
    when 36
        pk = Pokemon.new(:SLAKOTH, 1)
    when 37
        pk = Pokemon.new(:NINCADA, 1)
    when 38
        pk = Pokemon.new(:NOSEPASS, 1)
    when 39
        pk = Pokemon.new(:SKITTY, 1)
    when 40
        pk = Pokemon.new(:NUMEL, 1)
    when 41
        pk = Pokemon.new(:SPOINK, 1)
    when 42
        pk = Pokemon.new(:SPINDA, 1)
    when 43
        pk = Pokemon.new(:TRAPINCH, 1)
    when 44
        pk = Pokemon.new(:SWABLU, 1)
    when 45
        pk = Pokemon.new(:BALTOY, 1)
    when 46
        pk = Pokemon.new(:FEEBAS, 1)
    when 47
        pk = Pokemon.new(:SPHEAL, 1)
    when 48
        pk = Pokemon.new(:CLAMPERL, 1)
    when 49
        pk = Pokemon.new(:STARLY, 1)
    when 50
        pk = Pokemon.new(:BIDOOF, 1)
    when 51
        pk = Pokemon.new(:KRICKETOT, 1)
    when 52
        pk = Pokemon.new(:BUDEW, 1)
    when 53
        pk = Pokemon.new(:BRONZOR, 1)
    when 54
        pk = Pokemon.new(:BONSLY, 1)
    when 55
        pk = Pokemon.new(:PATRAT, 1)
    when 56
        pk = Pokemon.new(:LILLIPUP, 1)
    when 57
        pk = Pokemon.new(:PURRLOIN, 1)
    when 58
        pk = Pokemon.new(:PIDOVE, 1)
    when 59
        pk = Pokemon.new(:ROGGENROLA, 1)
    when 60
        pk = Pokemon.new(:AUDINO, 1)
    when 61
        pk = Pokemon.new(:TYMPOLE, 1)
    when 62
        pk = Pokemon.new(:SEWADDLE, 1)
    when 63
        pk = Pokemon.new(:VENIPEDE, 1)
    when 64
        pk = Pokemon.new(:MARACTUS, 1)
    when 65
        pk = Pokemon.new(:MINCCINO, 1)
    when 66
        pk = Pokemon.new(:VANILLITE, 1)
    when 67
        pk = Pokemon.new(:FERROSEED, 1)
    when 68
        pk = Pokemon.new(:ELGYEM, 1)
    when 69
        pk = Pokemon.new(:BUNNELBY, 1)
    when 70
        pk = Pokemon.new(:FLETCHLING, 1)
    when 71
        pk = Pokemon.new(:SCATTERBUG, 1)
    when 72
        pk = Pokemon.new(:PIKIPEK, 1)
    when 73
        pk = Pokemon.new(:YUNGOOS, 1)
    when 74
        pk = Pokemon.new(:GRUBBIN, 1)
    when 75
        pk = Pokemon.new(:SKWOVET, 1)
    when 76
        pk = Pokemon.new(:ROOKIDEE, 1)
    when 77
        pk = Pokemon.new(:BLIPBUG, 1)
    when 78
        pk = Pokemon.new(:NICKIT, 1)
    when 79
        pk = Pokemon.new(:WOOLOO, 1)
    when 80
        pk = Pokemon.new(:CHEWTLE, 1)
    when 81
        pk = Pokemon.new(:YAMPER, 1)
    when 82
        pk = Pokemon.new(:ROLYCOLY, 1)
    when 83
        pk = Pokemon.new(:APPLIN, 1)
    when 84
        pk = Pokemon.new(:SILICOBRA, 1)
    when 85
        pk = Pokemon.new(:ARROKUDA, 1)
    when 86
        pk = Pokemon.new(:IMPIDIMP, 1)
    when 87
        pk = Pokemon.new(:LECHONK, 1)
    when 88
        pk = Pokemon.new(:TAROUNTULA, 1)
    when 89
        pk = Pokemon.new(:SMOLIV, 1)
    when 90
        pk = Pokemon.new(:NACLI, 1)
    when 91
        pk = Pokemon.new(:WIGLETT, 1)
    when 92
        pk = Pokemon.new(:NIDORANfe, 1)
    when 93
        pk = Pokemon.new(:NIDORANma, 1)
    when 94
        pk = Pokemon.new(:MAREEP, 1)
    when 95
        pk = Pokemon.new(:SUNKERN, 1)
    when 96
        pk = Pokemon.new(:RALTS, 1)
    when 97
        pk = Pokemon.new(:SHINX, 1)
    when 98
        pk = Pokemon.new(:BOUNSWEET, 1)
    when 99
        pk = Pokemon.new(:HATENNA, 1)
    when 100
        pk = Pokemon.new(:KRABBY, 1)
    when 101
        pk = Pokemon.new(:HORSEA, 1)
    when 102
        pk = Pokemon.new(:GOLDEEN, 1)
    when 103
        pk = Pokemon.new(:STARYU, 1)
    when 104
        pk = Pokemon.new(:UNOWN_26, 5)
    when 105
        pk = Pokemon.new(:SWINUB, 1)
    when 106
        pk = Pokemon.new(:GULPIN, 1)
    when 107
        pk = Pokemon.new(:CARVANHA, 1)
    when 108
        pk = Pokemon.new(:SHUPPET, 1)
    when 109
        pk = Pokemon.new(:LUVDISC, 1)
    when 110
        pk = Pokemon.new(:STUNKY, 1)
    when 111
        pk = Pokemon.new(:FLABEBE, 1)
    when 112
        pk = Pokemon.new(:FLABEBE_1, 1)
    when 113
        pk = Pokemon.new(:FLABEBE_2, 1)
    when 114
        pk = Pokemon.new(:FLABEBE_3, 1)
    when 115
        pk = Pokemon.new(:FLABEBE_4, 1)
    when 116
        pk = Pokemon.new(:CLAUNCHER, 1)
    when 117
        pk = Pokemon.new(:CRABRAWLER, 1)
    when 118
        pk = Pokemon.new(:LITLEO, 1)
    when 119
        pk = Pokemon.new(:PANCHAM, 1)
    when 120
        pk = Pokemon.new(:CORPHISH, 1)
    when 121
        pk = Pokemon.new(:ABRA, 1)
    when 122
        pk = Pokemon.new(:TAILLOW, 1)
    when 123
        pk = Pokemon.new(:SURSKIT, 1)
    when 124
        pk = Pokemon.new(:PLUSLE, 1)
    when 125
        pk = Pokemon.new(:MINUN, 1)
    when 126
        pk = Pokemon.new(:KECLEON, 1)
    when 127
        pk = Pokemon.new(:TROPIUS, 1)
    when 128
        pk = Pokemon.new(:PACHIRISU, 1)
    when 129
        pk = Pokemon.new(:CARNIVINE, 1)
    when 130
        pk = Pokemon.new(:GOTHITA, 1)
    when 131
        pk = Pokemon.new(:SOLOSIS, 1)
    when 132
        pk = Pokemon.new(:EMOLGA, 1)
    when 133
        pk = Pokemon.new(:KARRABLAST, 1)
    when 134
        pk = Pokemon.new(:SHELMET, 1)
    when 135
        pk = Pokemon.new(:SKIDDO, 1)
    when 136
        pk = Pokemon.new(:SPRITZEE, 1)
    when 137
        pk = Pokemon.new(:SWIRLIX, 1)
    when 138
        pk = Pokemon.new(:DEWPIDER, 1)
    when 139
        pk = Pokemon.new(:MILCERY, 1)
    when 140
        pk = Pokemon.new(:FINIZEN, 1)
    when 141
        pk = Pokemon.new(:PIKACHU_1, 10)
    when 142
        pk = Pokemon.new(:VULPIX, 1)
    when 143
        pk = Pokemon.new(:VULPIX_1, 1)
    when 144
        pk = Pokemon.new(:PARAS, 1)
    when 145
        pk = Pokemon.new(:VENONAT, 1)
    when 146
        pk = Pokemon.new(:PSYDUCK, 1)
    when 147
        pk = Pokemon.new(:MANKEY, 1)
    when 148
        pk = Pokemon.new(:GROWLITHE, 1)
    when 149
        pk = Pokemon.new(:GROWLITHE_1, 1)
    when 150
        pk = Pokemon.new(:TENTACOOL, 1)
    when 151
        pk = Pokemon.new(:PONYTA, 1)
    when 152
        pk = Pokemon.new(:PONYTA_1, 1)
    when 153
        pk = Pokemon.new(:SLOWPOKE, 1)
    when 154
        pk = Pokemon.new(:SLOWPOKE_1, 1)
    when 155
        pk = Pokemon.new(:MAGNEMITE, 1)
    when 156
        pk = Pokemon.new(:DODUO, 1)
    when 157
        pk = Pokemon.new(:SEEL, 1)
    when 158
        pk = Pokemon.new(:GRIMER, 1)
    when 159
        pk = Pokemon.new(:GRIMER_1, 1)
    when 160
        pk = Pokemon.new(:SHELLDER, 1)
    when 161
        pk = Pokemon.new(:GASTLY, 1)
    when 162
        pk = Pokemon.new(:DROWZEE, 1)
    when 163
        pk = Pokemon.new(:VOLTORB, 1)
    when 164
        pk = Pokemon.new(:VOLTORB_1, 1)
    when 165
        pk = Pokemon.new(:CUBONE, 1)
    when 166
        pk = Pokemon.new(:KOFFING, 1)
    when 167
        pk = Pokemon.new(:CHINCHOU, 1)
    when 168
        pk = Pokemon.new(:PICHU, 1)
    when 169
        pk = Pokemon.new(:TOGEPI, 1)
    when 170
        pk = Pokemon.new(:NATU, 1)
    when 171
        pk = Pokemon.new(:AZURILL, 1)
    when 172
        pk = Pokemon.new(:PINECO, 1)
    when 173
        pk = Pokemon.new(:DUNSPARCE, 1)
    when 174
        pk = Pokemon.new(:SNUBBULL, 1)
    when 175
        pk = Pokemon.new(:SHUCKLE, 1)
    when 176
        pk = Pokemon.new(:SLUGMA, 1)
    when 177
        pk = Pokemon.new(:REMORAID, 1)
    when 178
        pk = Pokemon.new(:WINGULL, 1)
    when 179
        pk = Pokemon.new(:WHISMUR, 1)
    when 180
        pk = Pokemon.new(:CACNEA, 1)
    when 181
        pk = Pokemon.new(:BARBOACH, 1)
    when 182
        pk = Pokemon.new(:DUSKULL, 1)
    when 183
        pk = Pokemon.new(:SNORUNT, 1)
    when 184
        pk = Pokemon.new(:BUIZEL, 1)
    when 185
        pk = Pokemon.new(:CHERUBI, 1)
    when 186
        pk = Pokemon.new(:SHELLOS, 1)
    when 187
        pk = Pokemon.new(:SHELLOS_1, 1)
    when 188
        pk = Pokemon.new(:BUNEARY, 1)
    when 189
        pk = Pokemon.new(:GLAMEOW, 1)
    when 190
        pk = Pokemon.new(:FINNEON, 1)
    when 191
        pk = Pokemon.new(:PANSAGE, 1)
    when 192
        pk = Pokemon.new(:PANSEAR, 1)
    when 193
        pk = Pokemon.new(:PANPOUR, 1)
    when 194
        pk = Pokemon.new(:MUNNA, 1)
    when 195
        pk = Pokemon.new(:BLITZLE, 1)
    when 196
        pk = Pokemon.new(:WOOBAT, 1)
    when 197
        pk = Pokemon.new(:COTTONEE, 1)
    when 198
        pk = Pokemon.new(:PETILIL, 1)
    when 199
        pk = Pokemon.new(:BASCULIN, 1)
    when 200
        pk = Pokemon.new(:BASCULIN_1, 1)
    when 201
        pk = Pokemon.new(:BASCULIN_2, 1)
    when 202
        pk = Pokemon.new(:DWEBBLE, 1)
    when 203
        pk = Pokemon.new(:YAMASK, 1)
    when 204
        pk = Pokemon.new(:YAMASK_1, 1)
    when 205
        pk = Pokemon.new(:TRUBBISH, 1)
    when 206
        pk = Pokemon.new(:DUCKLETT, 1)
    when 207
        pk = Pokemon.new(:DEERLING, 1)
    when 208
        pk = Pokemon.new(:DEERLING_1, 1)
    when 209
        pk = Pokemon.new(:DEERLING_2, 1)
    when 210
        pk = Pokemon.new(:DEERLING_3, 1)
    when 211
        pk = Pokemon.new(:FOONGUS, 1)
    when 212
        pk = Pokemon.new(:FRILLISH, 1)
    when 213
        pk = Pokemon.new(:JOLTIK, 1)
    when 214
        pk = Pokemon.new(:TYNAMO, 1)
    when 215
        pk = Pokemon.new(:LITWICK, 1)
    when 216
        pk = Pokemon.new(:GOLETT, 1)
    when 217
        pk = Pokemon.new(:RUFFLET, 1)
    when 218
        pk = Pokemon.new(:VULLABY, 1)
    when 219
        pk = Pokemon.new(:ESPURR, 1)
    when 220
        pk = Pokemon.new(:INKAY, 1)
    when 221
        pk = Pokemon.new(:HELIOPTILE, 1)
    when 222
        pk = Pokemon.new(:BERGMITE, 1)
    when 223
        pk = Pokemon.new(:NOIBAT, 1)
    when 224
        pk = Pokemon.new(:CUTIEFLY, 1)
    when 225
        pk = Pokemon.new(:ROCKRUFF, 1)
    when 226
        pk = Pokemon.new(:ROCKRUFF_1, 1)
    when 227
        pk = Pokemon.new(:MAREANIE, 1)
    when 228
        pk = Pokemon.new(:MUDBRAY, 1)
    when 229
        pk = Pokemon.new(:FOMANTIS, 1)
    when 230
        pk = Pokemon.new(:MORELULL, 1)
    when 231
        pk = Pokemon.new(:GOSSIFLEUR, 1)
    when 232
        pk = Pokemon.new(:SIZZLIPEDE, 1)
    when 233
        pk = Pokemon.new(:SNOM, 1)
    when 234
        pk = Pokemon.new(:CUFANT, 1)
    when 235
        pk = Pokemon.new(:NYMBLE, 1)
    when 236
        pk = Pokemon.new(:PAWMI, 1)
    when 237
        pk = Pokemon.new(:FIDOUGH, 1)
    when 238
        pk = Pokemon.new(:SQUAWKABILLY, 1)
    when 239
        pk = Pokemon.new(:SQUAWKABILLY_1, 1)
    when 240
        pk = Pokemon.new(:SQUAWKABILLY_2, 1)
    when 241
        pk = Pokemon.new(:SQUAWKABILLY_3, 1)
    when 242
        pk = Pokemon.new(:TADBULB, 1)
    when 243
        pk = Pokemon.new(:SHROODLE, 1)
    when 244
        pk = Pokemon.new(:BRAMBLIN, 1)
    when 245
        pk = Pokemon.new(:TOEDSCOOL, 1)
    when 246
        pk = Pokemon.new(:CAPSAKID, 1)
    when 247
        pk = Pokemon.new(:RELLOR, 1)
    when 248
        pk = Pokemon.new(:TINKATINK, 1)
    when 249
        pk = Pokemon.new(:VAROOM, 1)
    when 251
        pk = Pokemon.new(:CYCLIZAR, 1)
    when 252
        pk = Pokemon.new(:MACHOP, 1)
    when 253
        pk = Pokemon.new(:ARON, 1)
    when 254
        pk = Pokemon.new(:MEDITITE, 1)
    when 255
        pk = Pokemon.new(:TIMBURR, 1)
    when 256
        pk = Pokemon.new(:SANDILE, 1)
    when 257
        pk = Pokemon.new(:SCRAGGY, 1)
    when 258
        pk = Pokemon.new(:MIENFOO, 1)
    when 259
        pk = Pokemon.new(:HONEDGE, 1)
    when 260
        pk = Pokemon.new(:DEDENNE, 1)
    when 261
        pk = Pokemon.new(:TOGEDEMARU, 1)
    when 262
        pk = Pokemon.new(:CLOBBOPUS, 1)
    when 263
        pk = Pokemon.new(:MORPEKO, 1)
    when 264
        pk = Pokemon.new(:WATTREL, 1)
    when 265
        pk = Pokemon.new(:IGGLYBUFF, 1)
    when 266
        pk = Pokemon.new(:FURFROU, 1)
    when 267
        pk = Pokemon.new(:CLEFFA, 1)
    when 268
        pk = Pokemon.new(:VOLBEAT, 1)
    when 269
        pk = Pokemon.new(:ILLUMISE, 1)
    when 270
        pk = Pokemon.new(:TANDEMAUS, 1)
    when 271
        pk = Pokemon.new(:MASCHIFF, 1)
    when 272
        pk = Pokemon.new(:CETODDLE, 1)
    when 273
        pk = Pokemon.new(:MIMEJR, 1)
    when 274
        pk = Pokemon.new(:HIPPOPOTAS, 1)
    when 275
        pk = Pokemon.new(:CROAGUNK, 1)
    when 276
        pk = Pokemon.new(:STUFFUL, 1)
    when 277
        pk = Pokemon.new(:SANDYGAST, 1)
    when 278
        pk = Pokemon.new(:HAPPINY, 1)
    when 279
        pk = Pokemon.new(:KLINK, 1)
    when 280
        pk = Pokemon.new(:WAILMER, 1)
    when 281
        pk = Pokemon.new(:WYNAUT, 1)
    when 282
        pk = Pokemon.new(:DRIFLOON, 1)
    when 283
        pk = Pokemon.new(:RHYHORN, 1)
    when 284
        pk = Pokemon.new(:TEDDIURSA, 1)
    when 285
        pk = Pokemon.new(:HOUNDOUR, 1)
    when 286
        pk = Pokemon.new(:PHANPY, 1)
    when 287
        pk = Pokemon.new(:ELECTRIKE, 1)
    when 288
        pk = Pokemon.new(:BURMY, 1)
    when 289
        pk = Pokemon.new(:BURMY_1, 1)
    when 290
        pk = Pokemon.new(:BURMY_2, 1)
    when 291
        pk = Pokemon.new(:COMBEE, 1)
    when 292
        pk = Pokemon.new(:CHINGLING, 1)
    when 293
        pk = Pokemon.new(:SKORUPI, 1)
    when 294
        pk = Pokemon.new(:SNOVER, 1)
    when 295
        pk = Pokemon.new(:DRILBUR, 1)
    when 296
        pk = Pokemon.new(:DARUMAKA, 1)
    when 297
        pk = Pokemon.new(:DARUMAKA_1, 1)
    when 298
        pk = Pokemon.new(:CUBCHOO, 1)
    when 299
        pk = Pokemon.new(:PAWNIARD, 1)
    when 230
        pk = Pokemon.new(:BINACLE, 1)
    when 231
        pk = Pokemon.new(:PHANTUMP, 1)
    when 232
        pk = Pokemon.new(:PUMPKABOO, 1)
    when 233
        pk = Pokemon.new(:PUMPKABOO_1, 1)
    when 234
        pk = Pokemon.new(:PUMPKABOO_2, 1)
    when 235
        pk = Pokemon.new(:PUMPKABOO_3, 1)
    when 236
        pk = Pokemon.new(:SALANDIT, 1)
    when 237
        pk = Pokemon.new(:SINISTEA, 1)
    when 238
        pk = Pokemon.new(:KLAWF, 1)
    when 239
        pk = Pokemon.new(:FLITTLE, 1)
    when 240
        pk = Pokemon.new(:GREAVARD, 1)
    when 241
        pk = Pokemon.new(:SPIRITOMB, 1)
    when 242
        pk = Pokemon.new(:HAWLUCHA, 1)
    when 243
        pk = Pokemon.new(:FLAMIGO, 1)
    when 244
        pk = Pokemon.new(:VELUZA, 1)
    when 245
        pk = Pokemon.new(:TATSUGIRI, 1)
    when 246
        pk = Pokemon.new(:TATSUGIRI_1, 1)
    when 247
        pk = Pokemon.new(:TATSUGIRI_2, 1)
    when 248
        pk = Pokemon.new(:POLTCHAGEIST, 1)
    when 249
        pk = Pokemon.new(:EXEGGCUTE, 1)
    when 250
        pk = Pokemon.new(:TORKOAL, 1)
    when 251
        pk = Pokemon.new(:ZANGOOSE, 1)
    when 252
        pk = Pokemon.new(:SEVIPER, 1)
    when 253
        pk = Pokemon.new(:HEATMOR, 1)
    when 254
        pk = Pokemon.new(:DURANT, 1)
    when 255
        pk = Pokemon.new(:WIMPOD, 1)
    when 256
        pk = Pokemon.new(:CHARCADET, 1)
    when 257
        pk = Pokemon.new(:BRUXISH, 1)
    when 258
        pk = Pokemon.new(:YANMA, 1)
    when 259
        pk = Pokemon.new(:TYROGUE, 1)
    when 260
        pk = Pokemon.new(:RIOLU, 1)
    when 261
        pk = Pokemon.new(:ZORUA, 1)
    when 262
        pk = Pokemon.new(:ZORUA_1, 1)
    when 263
        pk = Pokemon.new(:ALOMOMOLA, 1)
    when 264
        pk = Pokemon.new(:AXEW, 1)
    when 265
        pk = Pokemon.new(:STUNFISK, 1)
    when 266
        pk = Pokemon.new(:STUNFISK_1, 1)
    when 267
        pk = Pokemon.new(:KLEFKI, 1)
    when 268
        pk = Pokemon.new(:TOXEL, 1)
    when 269
        pk = Pokemon.new(:PINCURCHIN, 1)
    when 270
        pk = Pokemon.new(:TURTONATOR, 1)
    when 271
        pk = Pokemon.new(:DRAMPA, 1)
    when 272
        pk = Pokemon.new(:GLIMMET, 1)
    when 273
        pk = Pokemon.new(:GIRAFARIG, 1)
    when 274
        pk = Pokemon.new(:GLIGAR, 1)
    when 275
        pk = Pokemon.new(:SNEASEL, 1)
    when 276
        pk = Pokemon.new(:SNEASEL_1, 1)
    when 277
        pk = Pokemon.new(:CORSOLA, 1)
    when 278
        pk = Pokemon.new(:CORSOLA_1, 1)
    when 279
        pk = Pokemon.new(:CARBINK, 1)
    when 280
        pk = Pokemon.new(:WISHIWASHI, 1)
    when 281
        pk = Pokemon.new(:COMFEY, 1)
    when 282
        pk = Pokemon.new(:PYUKUMUKU, 1)
    when 284
        pk = Pokemon.new(:STONJOURNER, 1)
    when 285
        pk = Pokemon.new(:EISCUE, 1)
    when 286
        pk = Pokemon.new(:MUNCHLAX, 1)
    when 287
        pk = Pokemon.new(:BULBASAUR, 1)
    when 288
        pk = Pokemon.new(:CHARMANDER, 1)
    when 289
        pk = Pokemon.new(:SQUIRTLE, 1)
    when 290
        pk = Pokemon.new(:FARFETCHD, 1)
    when 291
        pk = Pokemon.new(:FARFETCHD_1, 1)
    when 292
        pk = Pokemon.new(:ONIX, 1)
    when 293
        pk = Pokemon.new(:LICKITUNG, 1)
    when 294
        pk = Pokemon.new(:TANGELA, 1)
    when 295
        pk = Pokemon.new(:KANGASKHAN, 1)
    when 296
        pk = Pokemon.new(:SCYTHER, 1)
    when 297
        pk = Pokemon.new(:PINSIR, 1)
    when 298
        pk = Pokemon.new(:TAUROS, 1)
    when 299
        pk = Pokemon.new(:TAUROS_1, 1)
    when 300
        pk = Pokemon.new(:TAUROS_2, 1)
    when 301
        pk = Pokemon.new(:TAUROS_3, 1)
    when 302
        pk = Pokemon.new(:LAPRAS, 1)
    when 303
        pk = Pokemon.new(:EEVEE, 1)
    when 304
        pk = Pokemon.new(:EEVEE_1, 1)
    when 305
        pk = Pokemon.new(:PORYGON, 1)
    when 306
        pk = Pokemon.new(:OMANYTE, 1)
    when 307
        pk = Pokemon.new(:KABUTO, 1)
    when 308
        pk = Pokemon.new(:AERODACTYL, 1)
    when 309
        pk = Pokemon.new(:DRATINI, 1)
    when 310
        pk = Pokemon.new(:CHIKORITA, 1)
    when 311
        pk = Pokemon.new(:CYNDAQUIL, 1)
    when 312
        pk = Pokemon.new(:TOTODILE, 1)
    when 313
        pk = Pokemon.new(:AIPOM, 1)
    when 314
        pk = Pokemon.new(:MISDREAVUS, 1)
    when 315
        pk = Pokemon.new(:QWILFISH, 1)
    when 316
        pk = Pokemon.new(:QWILFISH_1, 1)
    when 317
        pk = Pokemon.new(:HERACROSS, 1)
    when 318
        pk = Pokemon.new(:DELIBIRD, 1)
    when 319
        pk = Pokemon.new(:STANTLER, 1)
    when 320
        pk = Pokemon.new(:SMEARGLE, 1)
    when 321
        pk = Pokemon.new(:SMOOCHUM, 1)
    when 322
        pk = Pokemon.new(:ELEKID, 1)
    when 323
        pk = Pokemon.new(:MAGBY, 1)
    when 324
        pk = Pokemon.new(:MILTANK, 1)
    when 325
        pk = Pokemon.new(:LARVITAR, 1)
    when 326
        pk = Pokemon.new(:TREECKO, 1)
    when 327
        pk = Pokemon.new(:TORCHIC, 1)
    when 328
        pk = Pokemon.new(:MUDKIP, 1)
    when 329
        pk = Pokemon.new(:SABLEYE, 1)
    when 330
        pk = Pokemon.new(:MAWILE, 1)
    when 331
        pk = Pokemon.new(:LUNATONE, 1)
    when 332
        pk = Pokemon.new(:SOLROCK, 1)
    when 333
        pk = Pokemon.new(:LILEEP, 1)
    when 334
        pk = Pokemon.new(:ANORITH, 1)
    when 335
        pk = Pokemon.new(:CASTFORM, 1)
    when 336
        pk = Pokemon.new(:TURTWIG, 1)
    when 337
        pk = Pokemon.new(:CHIMCHAR, 1)
    when 338
        pk = Pokemon.new(:PIPLUP, 1)
    when 339
        pk = Pokemon.new(:CRANIDOS, 1)
    when 340
        pk = Pokemon.new(:SHIELDON, 1)
    when 341
        pk = Pokemon.new(:GIBLE, 1)
    when 342
        pk = Pokemon.new(:ROTOM, 1)
    when 343
        pk = Pokemon.new(:SNIVY, 1)
    when 344
        pk = Pokemon.new(:TEPIG, 1)
    when 345
        pk = Pokemon.new(:OSHAWOTT, 1)
    when 346
        pk = Pokemon.new(:THROH, 1)
    when 347
        pk = Pokemon.new(:SAWK, 1)
    when 348
        pk = Pokemon.new(:SIGILYPH, 1)
    when 349
        pk = Pokemon.new(:TIRTOUGA, 1)
    when 350
        pk = Pokemon.new(:ARCHEN, 1)
    when 351
        pk = Pokemon.new(:DRUDDIGON, 1)
    when 352
        pk = Pokemon.new(:BOUFFALANT, 1)
    when 353
        pk = Pokemon.new(:DEINO, 1)
    when 354
        pk = Pokemon.new(:LARVESTA, 1)
    when 355
        pk = Pokemon.new(:CHESPIN, 1)
    when 356
        pk = Pokemon.new(:FENNEKIN, 1)
    when 357
        pk = Pokemon.new(:FROAKIE, 1)
    when 358
        pk = Pokemon.new(:TYRUNT, 1)
    when 359
        pk = Pokemon.new(:AMAURA, 1)
    when 360
        pk = Pokemon.new(:GOOMY, 1)
    when 361
        pk = Pokemon.new(:ROWLET, 1)
    when 362
        pk = Pokemon.new(:LITTEN, 1)
    when 363
        pk = Pokemon.new(:POPPLIO, 1)
    when 364
        pk = Pokemon.new(:ORICORIO, 1)
    when 365
        pk = Pokemon.new(:ORICORIO_1, 1)
    when 366
        pk = Pokemon.new(:ORICORIO_2, 1)
    when 367
        pk = Pokemon.new(:ORICORIO_3, 1)
    when 368
        pk = Pokemon.new(:ORANGURU, 1)
    when 369
        pk = Pokemon.new(:PASSIMIAN, 1)
    when 370
        pk = Pokemon.new(:KOMALA, 1)
    when 371
        pk = Pokemon.new(:MIMIKYU, 1)
    when 372
        pk = Pokemon.new(:JANGMOO, 1)
    when 373
        pk = Pokemon.new(:GROOKEY, 1)
    when 374
        pk = Pokemon.new(:SCORBUNNY, 1)
    when 375
        pk = Pokemon.new(:SOBBLE, 1)
    when 376
        pk = Pokemon.new(:CRAMORANT, 1)
    when 377
        pk = Pokemon.new(:FALINKS, 1)
    when 378
        pk = Pokemon.new(:DURALUDON, 1)
    when 379
        pk = Pokemon.new(:DREEPY, 1)
    when 380
        pk = Pokemon.new(:SPRIGATITO, 1)
    when 381
        pk = Pokemon.new(:FUECOCO, 1)
    when 382
        pk = Pokemon.new(:QUAXLY, 1)
    when 383
        pk = Pokemon.new(:FRIGIBAX, 1)
    when 384
        pk = Pokemon.new(:MURKROW, 1)
    when 385
        pk = Pokemon.new(:ABSOL, 1)
    when 386
        pk = Pokemon.new(:CHATOT, 1)
    when 387
        pk = Pokemon.new(:PHIONE, 1)
    when 388
        pk = Pokemon.new(:MINIOR, 1)
    when 389
        pk = Pokemon.new(:INDEEDEE, 1)
  when 390
        pk = Pokemon.new(:INDEEDEE_1, 1)
    when 391
        pk = Pokemon.new(:BOMBIRDIER, 1)
    when 392
        pk = Pokemon.new(:ORTHWORM, 1)
    when 393
        pk = Pokemon.new(:DONDOZO, 1)
    when 394
        pk = Pokemon.new(:BELDUM, 1)
    end
#
end
#
  pn = nil
  tn = "WT"
  pbStartTrade(pbGet(1), pk, pn, tn, 0) # The trade.
end
end
 
Back
Top