Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const {Dex} = require('pokemon-showdown');
- // const thing = Dex.data.Learnsets['scizor']['learnset'];
- const monEquivalents: {[string: string]: string} = {
- "bulbasaur": "Bulbasaur",
- "ivysaur": "Ivysaur",
- "venusaur": "Venusaur",
- "charmander": "Charmander",
- "charmeleon": "Charmeleon",
- "charizard": "Charizard",
- "squirtle": "Squirtle",
- "wartortle": "Wartortle",
- "blastoise": "Blastoise",
- "caterpie": "Caterpie",
- "metapod": "Metapod",
- "butterfree": "Butterfree",
- "weedle": "Weedle",
- "kakuna": "Kakuna",
- "beedrill": "Beedrill",
- "pidgey": "Pidgey",
- "pidgeotto": "Pidgeotto",
- "pidgeot": "Pidgeot",
- "paras": "Paras",
- "parasect": "Parasect",
- "venonat": "Venonat",
- "venomoth": "Venomoth",
- "diglett": "Diglett",
- "dugtrio": "Dugtrio",
- "meowth": "Meowth",
- "persian": "Persian",
- "bellsprout": "Bellsprout",
- "weepinbell": "Weepinbell",
- "victreebel": "Victreebel",
- "geodude": "Geodude",
- "graveler": "Graveler",
- "golem": "Golem",
- "slowpoke": "Slowpoke",
- "slowking": "Slowking",
- "slowbro": "Slowbro",
- "magnemite": "Magnemite",
- "magneton": "Magneton",
- "magnezone": "Magnezone",
- "farfetchd": "Farfetch'd",
- "grimer": "Grimer",
- "muk": "Muk",
- "gastly": "Gastly",
- "haunter": "Haunter",
- "gengar": "Gengar",
- "voltorb": "Voltorb",
- "electrode": "Electrode",
- "exeggcute": "Exeggcute",
- "exeggutor": "Exeggutor",
- //"alolanexeggutor": "Alolan Exeggutor",
- "cubone": "Cubone",
- "marowak": "Marowak",
- //"alolanmarowak": "Alolan Marowak",
- "koffing": "Koffing",
- "weezing": "Weezing",
- "staryu": "Staryu",
- "starmie": "Starmie",
- "pinsir": "Pinsir",
- "magikarp": "Magikarp",
- "gyarados": "Gyarados",
- "lapras": "Lapras",
- "ditto": "Ditto",
- "eevee": "Eevee",
- "vaporeon": "Vaporeon",
- "flareon": "Flareon",
- "jolteon": "Jolteon",
- "espeon": "Espeon",
- "umbreon": "Umbreon",
- "glaceon": "Glaceon",
- "leafeon": "Leafeon",
- "sylveon": "Sylveon",
- "omanyte": "Omanyte",
- "omastar": "Omastar",
- "kabuto": "Kabuto",
- "kabutops": "Kabutops",
- "aerodactyl": "Aerodactyl",
- "dratini": "Dratini",
- "dragonair": "Dragonair",
- "dragonite": "Dragonite",
- "mewtwo": "Mewtwo",
- "mew": "Mew",
- "chikorita": "Chikorita",
- "bayleef": "Bayleef",
- "meganium": "Meganium",
- "cyndaquil": "Cyndaquil",
- "quilava": "Quilava",
- "typhlosion": "Typhlosion",
- "totodile": "Totodile",
- "croconaw": "Croconaw",
- "feraligatr": "Feraligatr",
- "hoothoot": "Hoothoot",
- "noctowl": "Noctowl",
- "ledyba": "Ledyba",
- "ledian": "Ledian",
- "spinarak": "Spinarak",
- "ariados": "Ariados",
- "pichu": "Pichu",
- "pikachu": "Pikachu",
- "raichu": "Raichu",
- //"alolanraichu": "Alolan Raichu",
- "cleffa": "Cleffa",
- "clefairy": "Clefairy",
- "clefable": "Clefable",
- "igglybuff": "Igglybuff",
- "jigglypuff": "Jigglypuff",
- "wigglytuff": "Wigglytuff",
- "togepi": "Togepi",
- "togetic": "Togetic",
- "togekiss": "Togekiss",
- "natu": "Natu",
- "xatu": "Xatu",
- "mareep": "Mareep",
- "flaaffy": "Flaaffy",
- "ampharos": "Ampharos",
- "aipom": "Aipom",
- "ambipom": "Ambipom",
- "yanma": "Yanma",
- "yanmega": "Yanmega",
- "wooper": "Wooper",
- "quagsire": "Quagsire",
- "dunsparce": "Dunsparce",
- "qwilfish": "Qwilfish",
- "heracross": "Heracross",
- "swinub": "Swinub",
- "piloswine": "Piloswine",
- "mamoswine": "Mamoswine",
- "corsola": "Corsola",
- "delibird": "Delibird",
- "skarmory": "Skarmory",
- "stantler": "Stantler",
- "smeargle": "Smeargle",
- "tyrogue": "Tyrogue",
- "hitmonlee": "Hitmonlee",
- "hitmonchan": "Hitmonchan",
- "hitmontop": "Hitmontop",
- "smoochum": "Smoochum",
- "jynx": "Jynx",
- "celebi": "Celebi",
- "mudkip": "Mudkip",
- "marshtomp": "Marshtomp",
- "swampert": "Swampert",
- "wurmple": "Wurmple",
- "silcoon": "Silcoon",
- "beautifly": "Beautifly",
- "cascoon": "Cascoon",
- "dustox": "Dustox",
- "surskit": "Surskit",
- "masquerain": "Masquerain",
- "nincada": "Nincada",
- "ninjask": "Ninjask",
- "shedinja": "Shedinja",
- "whismur": "Whismur",
- "loudred": "Loudred",
- "exploud": "Exploud",
- "azurill": "Azurill",
- "marill": "Marill",
- "azumarill": "Azumarill",
- "sableye": "Sableye",
- "aron": "Aron",
- "lairon": "Lairon",
- "aggron": "Aggron",
- "plusle": "Plusle",
- "minun": "Minun",
- "carvanha": "Carvanha",
- "sharpedo": "Sharpedo",
- "wailmer": "Wailmer",
- "numel": "Numel",
- "camerupt": "Camerupt",
- "torkoal": "Torkoal",
- "trapinch": "Trapinch",
- "vibrava": "Vibrava",
- "flygon": "Flygon",
- "lunatone": "Lunatone",
- "solrock": "Solrock",
- "barboach": "Barboach",
- "whiscash": "Whiscash",
- "lileep": "Lileep",
- "cradily": "Cradily",
- "anorith": "Anorith",
- "armaldo": "Armaldo",
- "kecleon": "Kecleon",
- "duskull": "Duskull",
- "dusclops": "Dusclops",
- "dusknoir": "Dusknoir",
- "snorunt": "Snorunt",
- "glalie": "Glalie",
- "froslass": "Froslass",
- "spheal": "Spheal",
- "sealeo": "Sealeo",
- "walrein": "Walrein",
- "luvdisc": "Luvdisc",
- "beldum": "Beldum",
- "metang": "Metang",
- "metagross": "Metagross",
- "regirock": "Regirock",
- "regice": "Regice",
- "registeel": "Registeel",
- "turtwig": "Turtwig",
- "grotle": "Grotle",
- "torterra": "Torterra",
- "piplup": "Piplup",
- "prinplup": "Prinplup",
- "empoleon": "Empoleon",
- "bidoof": "Bidoof",
- "bibarel": "Bibarel",
- "buneary": "Buneary",
- "lopunny": "Lopunny",
- "chingling": "Chingling",
- "chimecho": "Chimecho",
- "happiny": "Happiny",
- "chansey": "Chansey",
- "blissey": "Blissey",
- "munchlax": "Munchlax",
- "snorlax": "Snorlax",
- "hippopotas": "Hippopotas (M)",
- "hippowdon": "Hippowdon (M)",
- "heatran": "Heatran",
- "regigigas": "Regigigas",
- "phione": "Phione",
- "manaphy": "Manaphy",
- "oshawott": "Oshawott",
- "dewott": "Dewott",
- "samurott": "Samurott",
- "audino": "Audino",
- "dwebble": "Dwebble",
- "crustle": "Crustle",
- "scraggy": "Scraggy",
- "scrafty": "Scrafty",
- "yamask": "Yamask",
- "cofagrigus": "Cofagrigus",
- "emolga": "Emolga",
- "foongus": "Foongus",
- "amoonguss": "Amoonguss",
- "alomomola": "Alomomola",
- "litwick": "Litwick",
- "lampent": "Lampent",
- "chandelure": "Chandelure",
- "golett": "Golett",
- "golurk": "Golurk",
- "froakie": "Froakie",
- "frogadier": "Frogadier",
- "greninja": "Greninja",
- //"ashgreninja": "Ash-Greninja",
- "fletchling": "Fletchling",
- "fletchinder": "Fletchinder",
- "talonflame": "Talonflame",
- "dedenne": "Dedenne",
- "phantump": "Phantump",
- "trevenant": "Trevenant",
- "pumpkaboo": "Pumpkaboo",
- "gourgeist": "Gourgeist",
- "rowlet": "Rowlet",
- "dartrix": "Dartrix",
- "decidueye": "Decidueye",
- "popplio": "Popplio",
- "brionne": "Brionne",
- "primarina": "Primarina",
- "grubbin": "Grubbin",
- "charjabug": "Charjabug",
- "vikavolt": "Vikavolt",
- "dewpider": "Dewpider",
- "araquanid": "Araquanid",
- "fomantis": "Fomantis",
- "lurantis": "Lurantis",
- "stufful": "Stufful",
- "bewear": "Bewear",
- "sandygast": "Sandygast",
- "palossand": "Palossand",
- "minior": "Minior",
- "mimikyu": "Mimikyu",
- //"bustedmimikyu": "Busted Mimikyu",
- "marshadow": "Marshadow",
- //"alolandiglett": "Alolan Diglett",
- //"alolandugtrio": "Alolan Dugtrio",
- //"alolanmeowth": "Alolan Meowth",
- //"alolanpersian": "Alolan Persian",
- //"alolangeodude": "Alolan Geodude",
- //"alolangraveler": "Alolan Graveler",
- //"alolangolem": "Alolan Golem",
- //"alolangrimer": "Alolan Grimer",
- //"alolanmuk": "Alolan Muk",
- };
- const moveEquivalents: {[string: string]: string} = {
- "acid": "Acid",
- "watershuriken": "WaterShuriken",
- "nightshade": "NightShade",
- "aurasphere": "AuraSphere",
- "aurorabeam": "AuroraBeam",
- "bite": "Bite",
- "bodyslam": "BodySlam",
- "bubble": "Bubble",
- "bulletseed": "BulletSeed",
- "confusion": "Confusion",
- "doubleedge": "Double-Edge",
- "dragonpulse": "DragonPulse",
- "dragonrage": "DragonRage",
- "drillpeck": "DrillPeck",
- "earthpower": "EarthPower",
- "electroball": "ElectroBall",
- "ember": "Ember",
- "feintattack": "FeintAttack",
- "firepunch": "FirePunch",
- "flameburst": "FlameBurst",
- "flamethrower": "Flamethrower",
- "flashcannon": "FlashCannon",
- "gust": "Gust",
- "hurricane": "Hurricane",
- "hydropump": "HydroPump",
- "icebeam": "IceBeam",
- "icepunch": "IcePunch",
- "icywind": "IcyWind",
- "leechseed": "LeechSeed",
- "magicalleaf": "MagicalLeaf",
- "mudslap": "Mud-Slap",
- "mudshot": "MudShot",
- "payday": "PayDay",
- "flareblitz": "FlareBlitz",
- "pound": "Pound",
- "razorleaf": "RazorLeaf",
- "razorshell": "RazorShell",
- "rockthrow": "RockThrow",
- "shadowclaw": "ShadowClaw",
- "slam": "Slam",
- "sonicboom": "SonicBoom",
- "stringshot": "StringShot",
- "tackle": "Tackle",
- "takedown": "TakeDown",
- "thunder": "Thunder",
- "thunderpunch": "ThunderPunch",
- "thundershock": "ThunderShock",
- "thunderbolt": "Thunderbolt",
- "uturn": "U-turn",
- "volttackle": "VoltTackle",
- "watergun": "WaterGun",
- "wingattack": "WingAttack",
- "woodhammer": "WoodHammer",
- "zapcannon": "ZapCannon",
- "zenheadbutt": "ZenHeadbutt",
- "yawn": "Yawn",
- "waterpulse": "WaterPulse",
- "spark": "Spark",
- "smog": "Smog",
- "sludgebomb": "SludgeBomb",
- "shadowball": "ShadowBall",
- "seedbomb": "SeedBomb",
- "scratch": "Scratch",
- "psychic": "Psychic",
- "poisonsting": "PoisonSting",
- "mudbomb": "MudBomb",
- "mistball": "MistBall",
- "leafstorm": "LeafStorm",
- "lavaplume": "LavaPlume",
- "bravebird": "BraveBird",
- "tailwhip": "TailWhip",
- "solarbeam": "SolarBeam",
- "charge": "Charge",
- "earthquake": "Earthquake",
- "softboiled": "Soft-Boiled",
- "sandattack": "SandAttack",
- "charm": "Charm",
- "darkpulse": "DarkPulse",
- "harden": "Harden",
- "healpulse": "HealPulse",
- "selfdestruct": "Self-Destruct",
- "rage": "Rage",
- "powdersnow": "PowderSnow",
- "roost": "Roost",
- "present": "Present",
- "irondefense": "IronDefense",
- "ironhead": "IronHead",
- "moonlight": "Moonlight",
- "aquatail": "AquaTail",
- "ancientpower": "AncientPower",
- "recover": "Recover",
- "psychocut": "PsychoCut",
- "psystrike": "Psystrike",
- "boneclub": "BoneClub",
- "flamewheel": "FlameWheel",
- "shadowbone": "ShadowBone",
- "inferno": "Inferno",
- "pinmissile": "PinMissile",
- "brickbreak": "BrickBreak",
- "aircutter": "AirCutter",
- "peck": "Peck",
- "hypnosis": "Hypnosis",
- "stormthrow": "StormThrow",
- "xscissor": "X-Scissor",
- "closecombat": "CloseCombat",
- "megahorn": "Megahorn",
- "poisonjab": "PoisonJab",
- "leafage": "Leafage",
- "airslash": "AirSlash",
- "nightmare": "Nightmare",
- "splash": "Splash",
- "synthesis": "Synthesis",
- "bubblebeam": "BubbleBeam",
- "boomburst": "Boomburst",
- "echoedvoice": "EchoedVoice",
- "agility": "Agility",
- "jumpkick": "JumpKick",
- "bounce": "Bounce",
- "highjumpkick": "HighJumpKick",
- "swift": "Swift",
- "lastresort": "LastResort",
- "megapunch": "MegaPunch",
- "steelwing": "SteelWing",
- "hammerarm": "HammerArm",
- "moonblast": "Moonblast",
- "bugbuzz": "BugBuzz",
- "superpower": "Superpower",
- "rockslide": "RockSlide",
- "psywave": "Psywave",
- "crunch": "Crunch",
- "bugbite": "BugBite",
- "playrough": "PlayRough",
- "shadowsneak": "ShadowSneak",
- "venoshock": "Venoshock",
- "sketch": "Sketch",
- "futuresight": "FutureSight",
- "whirlpool": "Whirlpool",
- "curse": "Curse",
- "avalanche": "Avalanche",
- "muddywater": "MuddyWater",
- "hypervoice": "HyperVoice",
- "defensecurl": "DefenseCurl",
- "nightslash": "NightSlash",
- "gigaimpact": "GigaImpact",
- "wish": "Wish",
- "absorb": "Absorb",
- "ingrain": "Ingrain",
- "gigadrain": "GigaDrain",
- "spore": "Spore",
- "discharge": "Discharge",
- "suckerpunch": "SuckerPunch",
- "skullbash": "SkullBash",
- "dragonrush": "DragonRush",
- "acidarmor": "AcidArmor",
- "hyperbeam": "HyperBeam",
- "megadrain": "MegaDrain",
- "frostbreath": "FrostBreath",
- "blizzard": "Blizzard",
- "sheercold": "SheerCold",
- "irontail": "IronTail",
- "autotomize": "Autotomize",
- "magmastorm": "MagmaStorm",
- "willowisp": "Will-O-Wisp",
- "withdraw": "Withdraw",
- "surf": "Surf",
- "hornattack": "HornAttack",
- "originpulse": "OriginPulse",
- "shellsmash": "ShellSmash",
- "fakeout": "FakeOut",
- "rollingkick": "RollingKick",
- "doublehit": "DoubleHit",
- "drainpunch": "DrainPunch",
- "petalblizzard": "PetalBlizzard",
- }
- // console.log(thing);
- // console.log(thing['tackle']!=null);
- var bigStringToPrint = "local learnsets = {\n";
- for (const [mon, monEquivalent] of Object.entries(monEquivalents)){
- bigStringToPrint += " "+monEquivalent+" = {\n";
- const data = Dex.data.Learnsets[mon]['learnset']
- for (const [key, value] of Object.entries(data)) {
- let moveName = `${key}`;
- if(moveEquivalents[moveName]!=null){
- bigStringToPrint += " {\""+moveEquivalents[moveName]+"\", 0},\n"
- }
- }
- bigStringToPrint += " },\n";
- }
- console.log(bigStringToPrint+"}\n\nreturn learnsets");
- console.log("All done!!!");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement