Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local x = "Meganium Grass 91 84 175 MagicalLeaf MegaDrain SolarBeam FrenzyPlant Typhlosion Fire 78 100 178 QuickAttack Flamethrower FireBlast BlastBurn Feraligatr Water 83 93 176 Surf Slash HydroPump HydroCannon Raticate Normal 62 81 143 SuperFang QuickAttack Bite HyperFang Pidgeot Normal/Flying 78 84 162 Gust QuickAttack AirSlash SkyAttack Butterfree Bug/Flying 68 73 141 Gust Psychic MegaDrain SignalBeam Raichu Electric 65 95 160 Thunderbolt Thunder IronTail VoltTackle Vileplume Grass/Poison 74 87 161 RazorLeaf MegaDrain Acid SolarBeam Primeape Fighting 65 90 155 Scratch KarateChop IronTail CloseCombat Nidoking Poison/Ground 78 91 169 DoubleKick HornAttack SludgeBomb Earthquake Eevee Normal 56 52 108 Redacted Redacted Redacted Redacted Vaporeon Water 90 85 175 Bubble Bubblebeam Surf HydroPump Jolteon Electric 73 102 175 Thundershock DoubleKick Thunderbolt Thunder Flareon Fire 67 108 175 QuickAttack Ember Flamethrower FireBlast Espeon Psychic 67 108 175 QuickAttack Confusion Psybeam Psychic Umbreon Dark 110 70 180 QuickAttack Bite DarkPulse FoulPlay Leafeon Grass 80 95 175 Absorb RazorLeaf MagicLeaf Solarbeam Glaceon Ice 75 100 175 QuickAttack IcyWind Confusion Blizzard Sylveon Fairy 97 78 175 QuickAttack FairyWind DrainingKiss Moonblast Golem Rock/Ground 89 81 170 SelfDestruct RockBlast Flamethrower Earthquake Crobat Poison/Flying 88 90 178 AirSlash Psychic MegaDrain SludgeBomb Machamp Fighting 80 95 175 KarateChop RockThrow BodySlam CloseCombat Rhyperior Rock/Ground 100 78 178 HornAttack RockBlast Earthquake RockWrecker Alakazam Psychic 60 120 180 Psybeam Recover Psychic FocusBlast Steelix Steel/Ground 103 70 173 RockThrow RockBlast Earthquake IronTail Rapidash Fire 71 95 166 Ember HornAttack DoubleKick FireBlast Gliscor Ground/Flying 96 78 174 AirSlash Slash X-Scissor Earthquake Altaria Dragon/Flying 90 78 168 Gust DragonBreath AirSlash DragonPulse Ampharos Electric 88 82 170 ThunderPunch SignalBeam Thunder DragonPulse Gardevoir Psychic/Fairy 83 90 173 MoonBlast MagicalLeaf Psychic ShadowBall Gallade Psychic/Fighting 83 90 173 FalseSwipe Slash Psychic CloseCombat Houndoom Dark/Fire 68 98 166 Flamethrower DarkPulse FireBlast FoulPlay Blissey Normal 155 60 215 Pound BodySlam Metronome Soft-Boiled Tauros Normal 85 88 173 Tackle HornAttack BodySlam HyperBeam Rotom Electric/Ghost 68 79 147 ThunderShock ShadowBall Thunderbolt Thunder Mismagius Ghost 75 90 165 ShadowClaw Psybeam MagicalLeaf ShadowBall Gengar Ghost/Poison 60 107 167 Confusion Psychic DarkPulse ShadowBall Dewgong Water/Ice 89 75 164 BubbleBeam AuroraBeam Psychic Blizzard Mamoswine Ground/Ice 83 95 178 IcyWind AncientPower AuroraBeam Earthquake Weavile Ice/Dark 65 110 175 IcyWind Slash AuroraBeam NightSlash Lapras Water/Ice 100 78 178 BubbleBeam AuroraBeam HydroPump HyperBeam Delibird Ice/Flying 45 65 110 Present Present Present Present Ludicolo Water/Grass 79 81 160 MegaDrain Bubblebeam Surf Solarbeam Whiscash Water/Ground 84 72 156 Bubble Bubblebeam HydroPump Earthquake Poliwrath Water/Fighting 78 92 170 BubbleBeam HydroPump KarateChop Psychic Gyarados Water/Flying 83 97 180 DragonBreath Surf HydroPump HyperBeam Electrode Electric 70 93 163 SelfDestruct ThunderShock ThunderBolt Thunder Magnezone Steel/Electric 76 104 180 ThunderShock Thunderbolt ZapCannon HyperBeam Persian Normal 65 90 155 PayDay Slash BubbleBeam ThunderBolt Weezing Poison 90 78 168 SelfDestruct Acid SludgeBomb FireBlast Aggron Rock/Steel 87 89 176 DragonBreath DragonRush Earthquake FireBlast Garchomp Dragon/Ground 81 109 190 Magcargo Fire/Rock 90 73 163 RockThrow RockBlast Flamethrower FireBlast Magmortar Fire 79 101 180 Ember Flamethrower FireBlast HyperBeam Ninetales Fire 84 84 168 Flamethrower HyperBeam FireBlast SacredFire Wailord Water 110 69 179 BubbleBeam Surf HydroPump Metronome Kingdra Water/Dragon 82 92 174 WaterGun BubbleBeam HydroPump DragonPulse Ledian Bug/Flying 75 62 137 Gust MegaDrain SignalBeam Solarbeam Heracross Bug/Fighting 74 93 167 HornAttack Gust MegaDrain CloseCombat Scizor Bug/Steel 83 94 177 FalseSwipe X-Scissor Slash BulletPunch Electivire Electric 71 109 180 ThunderShock Thunderbolt Thunder BodySlam Lucario Steel/Fighting 67 108 175 DarkPulse AuraSphere DragonPulse ExtremeSpeed Skarmory Steel/Flying 95 70 165 Slash AirSlash NightSlash DrillPeck Metagross Steel/Psychic 100 90 190 MetalClaw Psychic MeteorMash HyperBeam Absol Dark 67 101 168 QuickAttack Slash Psychic DarkPulse Banette Ghost 65 100 165 FoulPlay ShadowBall PlayRough ShadowClaw Sableye Dark/Ghost 63 63 126 Slash ShadowBall DarkPulse FoulPlay Togekiss Fairy/Flying 98 80 178 AirSlash Metronome AuraSphere DazzlingGleam Dragonite Dragon/Flying 86 109 195 Thunderbolt FireBlast DarkPulse SolarBeam Regirock Rock 116 84 200 RockThrow BodySlam AncientPower Superpower Registeel Steel 116 84 200 Thunderbolt Thunder ZapCannon Superpower Regice Ice 116 84 200 IcyWind BubbleBeam AuroraBeam Superpower Articuno Ice/Flying 110 90 200 IcyWind Gust AuroraBeam Blizzard Zapdos Electric/Flying 85 115 200 ThunderShock Thunderbolt Thunder DrillPeck Moltres Fire/Flying 90 110 200 Gust Flamethrower FireBlast SolarBeam Lugia Psychic/Flying 130 97 227 Bubblebeam Psychic HydroPump Aeroblast Ho-oh Fire/Flying 108 119 227 Thunderbolt Thunder Hyperbeam SacredFire Rayquaza Dragon/Flying 89 137 226 Thunderbolt Thunder HyperBeam DracoMeteor Celebi Grass/Psychic 100 100 200 Confusion MagicalLeaf Psychic LeafStorm Jirachi Steel/Psychic 100 100 200 Confusion Psychic Metronome Thunder Shaymin Grass 100 100 200 RazorLeaf MagicalLeaf SolarBeam SeedFlare Cresselia Psychic 125 75 200 Metronome AuroraBeam Psychic HyperBeam Darkrai Dark 79 121 200 Psychic ShadowBall DarkPulse DarkVoid Victini Psychic/Fire 100 100 200 Confusion Psychic Flamethrower V-Create Mewtwo Psychic 95 131 226 Psychic AuraSphere Recover Psystrike Deoxys-N Psychic 50 150 200 Psychic Recover PsychoBoost HyperBeam Deoxys-A Psychic 30 170 200 Thunder ShadowBall PsychoBoost FocusBlast Deoxys-D Psychic 130 70 200 Psychic Rest PsychoBoost ShadowBall Deoxys-S Psychic 72 118 190 Thunderbolt ExtremeSpeed PsychoBoost HyperBeam Mew Psychic 100 100 200 Confusion Metronome Psychic Recover Dialga Dragon/Steel 96 131 227 IronTail RoarOfTime Dragonbreath Earthquake Palkia Dragon/Water 93 133 226 DragonBreath SpatialRend HydroPump DragonPulse Giratina Dragon/Ghost 130 96 226 AncientPower Earthquake DracoMeteor ShadowForce Arceus Normal 120 120 240 Judgement SacredFire Recover TheTruth Mega Altaria Dragon/Fairy 110 93 203 DragonBreath DazzlingGleam DragonPulse Moonblast Mega Lopunny Normal/Fighting 107 103 210 DoubleKick BodySlam ShadowBall HighJumpKick Mega Houndoom Dark/Fire 88 118 206 Bite DarkPulse Flamethrower FireBlast Mega Banette Ghost 85 120 205 ShadowBall FoulPlay PlayRough ShadowForce MissingNo. Normal/Flying 39 136 175 WaterGun WaterGun SkyAttack N/A Boneman Ice/Ghost 1 350 351 AuroraBeam Psychic ShadowBall Blizzard ImpostUs Normal/Ghost 120 150 270 Metronome Metronome Metronome Metronome Okipullup Normal/Ground 120 120 240 Bite HyperFang Earthquake Surf Brahma Bull Fighting/Rock 150 196 346 RockThrow Superpower Thunderbolt RockBottom"
- local types = {
- ["None"] = 1,
- ["Normal"] = 2,
- ["Fire"] = 3,
- ["Water"] = 4,
- ["Electric"] = 5,
- ["Grass"] = 6,
- ["Ice"] = 7,
- ["Fighting"] = 8,
- ["Poison"] = 9,
- ["Ground"] = 10,
- ["Flying"] = 11,
- ["Psychic"] =12,
- ["Bug"] = 13,
- ["Rock"] = 14,
- ["Ghost"] = 15,
- ["Dragon"] = 16,
- ["Dark"] = 17,
- ["Steel"] = 18,
- ["Fairy"] = 19
- }
- print("local dex = {")
- --while string.len(x)>1 do
- for n = 1, 40 do
- local i = 1
- while(string.sub(x, i+1, i+1)~="\t") do i=i+1 end
- io.write("\t{\""..string.sub(x, 1, i).."\", ")
- x = string.sub(x, i+2)
- i = 1
- while(string.sub(x, i+1, i+1)~="\t" and string.sub(x, i+1, i+1)~="/") do i=i+1 end
- io.write(types[string.sub(x, 1, i)]..", ")
- if string.sub(x, i+1, i+1)=="/" then
- x = string.sub(x, i+2)
- i = 1
- while(string.sub(x, i+1, i+1)~="\t") do i=i+1 end
- io.write(types[string.sub(x, 1, i)]..", ")
- else
- io.write("1, ")
- end
- x = string.sub(x, i+2)
- i = 1
- for i = 1, 2 do
- while(string.sub(x, i+1, i+1)~="\t") do i=i+1 end
- io.write(string.sub(x, 1, i)..", ")
- x = string.sub(x, i+2)
- i = 1
- end
- while(string.sub(x, i+1, i+2)~="\t\t") do i=i+1 end
- x = string.sub(x, i+3)
- i = 1
- for i = 1, 3 do
- while(string.sub(x, i+1, i+1)~="\t") do i=i+1 end
- io.write("\""..string.sub(x, 1, i).."\", ")
- x = string.sub(x, i+2)
- i = 1
- end
- while(string.sub(x, i+1, i+1)~=" ") do i=i+1 end
- io.write("\""..string.sub(x, 1, i).."\"},\n")
- x = string.sub(x, i+2)
- i = 1
- end
- io.write("}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement