ref: b492d42e2545b8c414c917f7544bdd4b92e406e8
dir: /dex.c/
#include <u.h> #include <libc.h> #include "colodat.h" #include "gen3dat.h" #include "pse.h" char *gnametab[] = { [GRS] "Ruby/Sapphire", [GFRLG] "Fire Red/Leaf Green", [GEM] "Emerald", [GCOLO] "Colosseum", }; char *dexfiletab[] = { [0] "bulbasaur", [1] "ivysaur", [2] "venusaur", [3] "charmander", [4] "charmeleon", [5] "charizard", [6] "squirtle", [7] "wartortle", [8] "blastoise", [9] "caterpie", [10] "metapod", [11] "butterfree", [12] "weedle", [13] "kakuna", [14] "beedrill", [15] "pidgey", [16] "pidgeotto", [17] "pidgeot", [18] "rattata", [19] "raticate", [20] "spearow", [21] "fearow", [22] "ekans", [23] "arbok", [24] "pikachu", [25] "raichu", [26] "sandshrew", [27] "sandslash", [28] "nidoran-f", [29] "nidorina", [30] "nidoqueen", [31] "nidoran-m", [32] "nidorino", [33] "nidoking", [34] "clefairy", [35] "clefable", [36] "vulpix", [37] "ninetales", [38] "jigglypuff", [39] "wigglytuff", [40] "zubat", [41] "golbat", [42] "oddish", [43] "gloom", [44] "vileplume", [45] "paras", [46] "parasect", [47] "venonat", [48] "venomoth", [49] "diglett", [50] "dugtrio", [51] "meowth", [52] "persian", [53] "psyduck", [54] "golduck", [55] "mankey", [56] "primeape", [57] "growlithe", [58] "arcanine", [59] "poliwag", [60] "poliwhirl", [61] "poliwrath", [62] "abra", [63] "kadabra", [64] "alakazam", [65] "machop", [66] "machoke", [67] "machamp", [68] "bellsprout", [69] "weepinbell", [70] "victreebel", [71] "tentacool", [72] "tentacruel", [73] "geodude", [74] "graveler", [75] "golem", [76] "ponyta", [77] "rapidash", [78] "slowpoke", [79] "slowbro", [80] "magnemite", [81] "magneton", [82] "farfetchd", [83] "doduo", [84] "dodrio", [85] "seel", [86] "dewgong", [87] "grimer", [88] "muk", [89] "shellder", [90] "cloyster", [91] "gastly", [92] "haunter", [93] "gengar", [94] "onix", [95] "drowzee", [96] "hypno", [97] "krabby", [98] "kingler", [99] "voltorb", [100] "electrode", [101] "exeggcute", [102] "exeggutor", [103] "cubone", [104] "marowak", [105] "hitmonlee", [106] "hitmonchan", [107] "lickitung", [108] "koffing", [109] "weezing", [110] "rhyhorn", [111] "rhydon", [112] "chansey", [113] "tangela", [114] "kangaskhan", [115] "horsea", [116] "seadra", [117] "goldeen", [118] "seaking", [119] "staryu", [120] "starmie", [121] "mr-mime", [122] "scyther", [123] "jynx", [124] "electabuzz", [125] "magmar", [126] "pinsir", [127] "tauros", [128] "magikarp", [129] "gyarados", [130] "lapras", [131] "ditto", [132] "eevee", [133] "vaporeon", [134] "jolteon", [135] "flareon", [136] "porygon", [137] "omanyte", [138] "omastar", [139] "kabuto", [140] "kabutops", [141] "aerodactyl", [142] "snorlax", [143] "articuno", [144] "zapdos", [145] "moltres", [146] "dratini", [147] "dragonair", [148] "dragonite", [149] "mewtwo", [150] "mew", [151] "chikorita", [152] "bayleef", [153] "meganium", [154] "cyndaquil", [155] "quilava", [156] "typhlosion", [157] "totodile", [158] "croconaw", [159] "feraligatr", [160] "sentret", [161] "furret", [162] "hoothoot", [163] "noctowl", [164] "ledyba", [165] "ledian", [166] "spinarak", [167] "ariados", [168] "crobat", [169] "chinchou", [170] "lanturn", [171] "pichu", [172] "cleffa", [173] "igglybuff", [174] "togepi", [175] "togetic", [176] "natu", [177] "xatu", [178] "mareep", [179] "flaaffy", [180] "ampharos", [181] "bellossom", [182] "marill", [183] "azumarill", [184] "sudowoodo", [185] "politoed", [186] "hoppip", [187] "skiploom", [188] "jumpluff", [189] "aipom", [190] "sunkern", [191] "sunflora", [192] "yanma", [193] "wooper", [194] "quagsire", [195] "espeon", [196] "umbreon", [197] "murkrow", [198] "slowking", [199] "misdreavus", [200] "unown", [201] "wobbuffet", [202] "girafarig", [203] "pineco", [204] "forretress", [205] "dunsparce", [206] "gligar", [207] "steelix", [208] "snubbull", [209] "granbull", [210] "qwilfish", [211] "scizor", [212] "shuckle", [213] "heracross", [214] "sneasel", [215] "teddiursa", [216] "ursaring", [217] "slugma", [218] "magcargo", [219] "swinub", [220] "piloswine", [221] "corsola", [222] "remoraid", [223] "octillery", [224] "delibird", [225] "mantine", [226] "skarmory", [227] "houndour", [228] "houndoom", [229] "kingdra", [230] "phanpy", [231] "donphan", [232] "porygon2", [233] "stantler", [234] "smeargle", [235] "tyrogue", [236] "hitmontop", [237] "smoochum", [238] "elekid", [239] "magby", [240] "miltank", [241] "blissey", [242] "raikou", [243] "entei", [244] "suicune", [245] "larvitar", [246] "pupitar", [247] "tyranitar", [248] "lugia", [249] "ho-oh", [250] "celebi", [251] "treecko", [252] "grovyle", [253] "sceptile", [254] "torchic", [255] "combusken", [256] "blaziken", [257] "mudkip", [258] "marshtomp", [259] "swampert", [260] "poochyena", [261] "mightyena", [262] "zigzagoon", [263] "linoone", [264] "wurmple", [265] "silcoon", [266] "beautifly", [267] "cascoon", [268] "dustox", [269] "lotad", [270] "lombre", [271] "ludicolo", [272] "seedot", [273] "nuzleaf", [274] "shiftry", [275] "taillow", [276] "swellow", [277] "wingull", [278] "pelipper", [279] "ralts", [280] "kirlia", [281] "gardevoir", [282] "surskit", [283] "masquerain", [284] "shroomish", [285] "breloom", [286] "slakoth", [287] "vigoroth", [288] "slaking", [289] "nincada", [290] "ninjask", [291] "shedinja", [292] "whismur", [293] "loudred", [294] "exploud", [295] "makuhita", [296] "hariyama", [297] "azurill", [298] "nosepass", [299] "skitty", [300] "delcatty", [301] "sableye", [302] "mawile", [303] "aron", [304] "lairon", [305] "aggron", [306] "meditite", [307] "medicham", [308] "electrike", [309] "manectric", [310] "plusle", [311] "minun", [312] "volbeat", [313] "illumise", [314] "roselia", [315] "gulpin", [316] "swalot", [317] "carvanha", [318] "sharpedo", [319] "wailmer", [320] "wailord", [321] "numel", [322] "camerupt", [323] "torkoal", [324] "spoink", [325] "grumpig", [326] "spinda", [327] "trapinch", [328] "vibrava", [329] "flygon", [330] "cacnea", [331] "cacturne", [332] "swablu", [333] "altaria", [334] "zangoose", [335] "seviper", [336] "lunatone", [337] "solrock", [338] "barboach", [339] "whiscash", [340] "corphish", [341] "crawdaunt", [342] "baltoy", [343] "claydol", [344] "lileep", [345] "cradily", [346] "anorith", [347] "armaldo", [348] "feebas", [349] "milotic", [350] "castform", [351] "kecleon", [352] "shuppet", [353] "banette", [354] "duskull", [355] "dusclops", [356] "tropius", [357] "chimecho", [358] "absol", [359] "wynaut", [360] "snorunt", [361] "glalie", [362] "spheal", [363] "sealeo", [364] "walrein", [365] "clamperl", [366] "huntail", [367] "gorebyss", [368] "relicanth", [369] "luvdisc", [370] "bagon", [371] "shelgon", [372] "salamence", [373] "beldum", [374] "metang", [375] "metagross", [376] "regirock", [377] "regice", [378] "registeel", [379] "latias", [380] "latios", [381] "kyogre", [382] "groudon", [383] "rayquaza", [384] "jirachi", [385] "deoxys", [386] "turtwig", [387] "grotle", [388] "torterra", [389] "chimchar", [390] "monferno", [391] "infernape", [392] "piplup", [393] "prinplup", [394] "empoleon", [395] "starly", [396] "staravia", [397] "staraptor", [398] "bidoof", [399] "bibarel", [400] "kricketot", [401] "kricketune", [402] "shinx", [403] "luxio", [404] "luxray", [405] "budew", [406] "roserade", [407] "cranidos", [408] "rampardos", [409] "shieldon", [410] "bastiodon", [411] "burmy", [412] "wormadam", [413] "mothim", [414] "combee", [415] "vespiquen", [416] "pachirisu", [417] "buizel", [418] "floatzel", [419] "cherubi", [420] "cherrim", [421] "shellos", [422] "gastrodon", [423] "ambipom", [424] "drifloon", [425] "drifblim", [426] "buneary", [427] "lopunny", [428] "mismagius", [429] "honchkrow", [430] "glameow", [431] "purugly", [432] "chingling", [433] "stunky", [434] "skuntank", [435] "bronzor", [436] "bronzong", [437] "bonsly", [438] "mime-jr", [439] "happiny", [440] "chatot", [441] "spiritomb", [442] "gible", [443] "gabite", [444] "garchomp", [445] "munchlax", [446] "riolu", [447] "lucario", [448] "hippopotas", [449] "hippowdon", [450] "skorupi", [451] "drapion", [452] "croagunk", [453] "toxicroak", [454] "carnivine", [455] "finneon", [456] "lumineon", [457] "mantyke", [458] "snover", [459] "abomasnow", [460] "weavile", [461] "magnezone", [462] "lickilicky", [463] "rhyperior", [464] "tangrowth", [465] "electivire", [466] "magmortar", [467] "togekiss", [468] "yanmega", [469] "leafeon", [470] "glaceon", [471] "gliscor", [472] "mamoswine", [473] "porygon-z", [474] "gallade", [475] "probopass", [476] "dusknoir", [477] "froslass", [478] "rotom", [479] "uxie", [480] "mesprit", [481] "azelf", [482] "dialga", [483] "palkia", [484] "heatran", [485] "regigigas", [486] "giratina", [487] "cresselia", [488] "phione", [489] "manaphy", [490] "darkrai", [491] "shaymin", [492] "arceus", [493] "victini", [494] "snivy", [495] "servine", [496] "serperior", [497] "tepig", [498] "pignite", [499] "emboar", [500] "oshawott", [501] "dewott", [502] "samurott", [503] "patrat", [504] "watchog", [505] "lillipup", [506] "herdier", [507] "stoutland", [508] "purrloin", [509] "liepard", [510] "pansage", [511] "simisage", [512] "pansear", [513] "simisear", [514] "panpour", [515] "simipour", [516] "munna", [517] "musharna", [518] "pidove", [519] "tranquill", [520] "unfezant", [521] "blitzle", [522] "zebstrika", [523] "roggenrola", [524] "boldore", [525] "gigalith", [526] "woobat", [527] "swoobat", [528] "drilbur", [529] "excadrill", [530] "audino", [531] "timburr", [532] "gurdurr", [533] "conkeldurr", [534] "tympole", [535] "palpitoad", [536] "seismitoad", [537] "throh", [538] "sawk", [539] "sewaddle", [540] "swadloon", [541] "leavanny", [542] "venipede", [543] "whirlipede", [544] "scolipede", [545] "cottonee", [546] "whimsicott", [547] "petilil", [548] "lilligant", [549] "basculin", [550] "sandile", [551] "krokorok", [552] "krookodile", [553] "darumaka", [554] "darmanitan", [555] "maractus", [556] "dwebble", [557] "crustle", [558] "scraggy", [559] "scrafty", [560] "sigilyph", [561] "yamask", [562] "cofagrigus", [563] "tirtouga", [564] "carracosta", [565] "archen", [566] "archeops", [567] "trubbish", [568] "garbodor", [569] "zorua", [570] "zoroark", [571] "minccino", [572] "cinccino", [573] "gothita", [574] "gothorita", [575] "gothitelle", [576] "solosis", [577] "duosion", [578] "reuniclus", [579] "ducklett", [580] "swanna", [581] "vanillite", [582] "vanillish", [583] "vanilluxe", [584] "deerling", [585] "sawsbuck", [586] "emolga", [587] "karrablast", [588] "escavalier", [589] "foongus", [590] "amoonguss", [591] "frillish", [592] "jellicent", [593] "alomomola", [594] "joltik", [595] "galvantula", [596] "ferroseed", [597] "ferrothorn", [598] "klink", [599] "klang", [600] "klinklang", [601] "tynamo", [602] "eelektrik", [603] "eelektross", [604] "elgyem", [605] "beheeyem", [606] "litwick", [607] "lampent", [608] "chandelure", [609] "axew", [610] "fraxure", [611] "haxorus", [612] "cubchoo", [613] "beartic", [614] "cryogonal", [615] "shelmet", [616] "accelgor", [617] "stunfisk", [618] "mienfoo", [619] "mienshao", [620] "druddigon", [621] "golett", [622] "golurk", [623] "pawniard", [624] "bisharp", [625] "bouffalant", [626] "rufflet", [627] "braviary", [628] "vullaby", [629] "mandibuzz", [630] "heatmor", [631] "durant", [632] "deino", [633] "zweilous", [634] "hydreigon", [635] "larvesta", [636] "volcarona", [637] "cobalion", [638] "terrakion", [639] "virizion", [640] "tornadus", [641] "thundurus", [642] "reshiram", [643] "zekrom", [644] "landorus", [645] "kyurem", [646] "keldeo", [647] "meloetta", [648] "genesect", [649] "chespin", [650] "quilladin", [651] "chesnaught", [652] "fennekin", [653] "braixen", [654] "delphox", [655] "froakie", [656] "frogadier", [657] "greninja", [658] "bunnelby", [659] "diggersby", [660] "fletchling", [661] "fletchinder", [662] "talonflame", [663] "scatterbug", [664] "spewpa", [665] "vivillon", [666] "litleo", [667] "pyroar", [668] "flabebe", [669] "floette", [670] "florges", [671] "skiddo", [672] "gogoat", [673] "pancham", [674] "pangoro", [675] "furfrou", [676] "espurr", [677] "meowstic", [678] "honedge", [679] "doublade", [680] "aegislash", [681] "spritzee", [682] "aromatisse", [683] "swirlix", [684] "slurpuff", [685] "inkay", [686] "malamar", [687] "binacle", [688] "barbaracle", [689] "skrelp", [690] "dragalge", [691] "clauncher", [692] "clawitzer", [693] "helioptile", [694] "heliolisk", [695] "tyrunt", [696] "tyrantrum", [697] "amaura", [698] "aurorus", [699] "sylveon", [700] "hawlucha", [701] "dedenne", [702] "carbink", [703] "goomy", [704] "sliggoo", [705] "goodra", [706] "klefki", [707] "phantump", [708] "trevenant", [709] "pumpkaboo", [710] "gourgeist", [711] "bergmite", [712] "avalugg", [713] "noibat", [714] "noivern", [715] "xerneas", [716] "yveltal", [717] "zygarde", [718] "diancie", [719] "hoopa", [720] "volcanion", [721] "rowlet", [722] "dartrix", [723] "decidueye", [724] "litten", [725] "torracat", [726] "incineroar", [727] "popplio", [728] "brionne", [729] "primarina", [730] "pikipek", [731] "trumbeak", [732] "toucannon", [733] "yungoos", [734] "gumshoos", [735] "grubbin", [736] "charjabug", [737] "vikavolt", [738] "crabrawler", [739] "crabominable", [740] "oricorio", [741] "cutiefly", [742] "ribombee", [743] "rockruff", [744] "lycanroc", [745] "wishiwashi", [746] "mareanie", [747] "toxapex", [748] "mudbray", [749] "mudsdale", [750] "dewpider", [751] "araquanid", [752] "fomantis", [753] "lurantis", [754] "morelull", [755] "shiinotic", [756] "salandit", [757] "salazzle", [758] "stufful", [759] "bewear", [760] "bounsweet", [761] "steenee", [762] "tsareena", [763] "comfey", [764] "oranguru", [765] "passimian", [766] "wimpod", [767] "golisopod", [768] "sandygast", [769] "palossand", [770] "pyukumuku", [771] "type-null", [772] "silvally", [773] "minior", [774] "komala", [775] "turtonator", [776] "togedemaru", [777] "mimikyu", [778] "bruxish", [779] "drampa", [780] "dhelmise", [781] "jangmo-o", [782] "hakamo-o", [783] "kommo-o", [784] "tapu-koko", [785] "tapu-lele", [786] "tapu-bulu", [787] "tapu-fini", [788] "cosmog", [789] "cosmoem", [790] "solgaleo", [791] "lunala", [792] "nihilego", [793] "buzzwole", [794] "pheromosa", [795] "xurkitree", [796] "celesteela", [797] "kartana", [798] "guzzlord", [799] "necrozma", [800] "magearna", [801] "marshadow", [802] "poipole", [803] "naganadel", [804] "stakataka", [805] "blacephalon", [806] "zeraora", [807] "meltan", [808] "melmetal", [809] "grookey", [810] "thwackey", [811] "rillaboom", [812] "scorbunny", [813] "raboot", [814] "cinderace", [815] "sobble", [816] "drizzile", [817] "inteleon", [818] "skwovet", [819] "greedent", [820] "rookidee", [821] "corvisquire", [822] "corviknight", [823] "blipbug", [824] "dottler", [825] "orbeetle", [826] "nickit", [827] "thievul", [828] "gossifleur", [829] "eldegoss", [830] "wooloo", [831] "dubwool", [832] "chewtle", [833] "drednaw", [834] "yamper", [835] "boltund", [836] "rolycoly", [837] "carkol", [838] "coalossal", [839] "applin", [840] "flapple", [841] "appletun", [842] "silicobra", [843] "sandaconda", [844] "cramorant", [845] "arrokuda", [846] "barraskewda", [847] "toxel", [848] "toxtricity", [849] "sizzlipede", [850] "centiskorch", [851] "clobbopus", [852] "grapploct", [853] "sinistea", [854] "polteageist", [855] "hatenna", [856] "hattrem", [857] "hatterene", [858] "impidimp", [859] "morgrem", [860] "grimmsnarl", [861] "obstagoon", [862] "perrserker", [863] "cursola", [864] "sirfetch'd", [865] "mr.-rime", [866] "runerigus", [867] "milcery", [868] "alcremie", [869] "falinks", [870] "pincurchin", [871] "snom", [872] "frosmoth", [873] "stonjourner", [874] "eiscue", [875] "indeedee", [876] "morpeko", [877] "cufant", [878] "copperajah", [879] "dracozolt", [880] "arctozolt", [881] "dracovish", [882] "arctovish", [883] "duraludon", [884] "dreepy", [885] "drakloak", [886] "dragapult", [887] "zacian", [888] "zamazenta", [889] "eternatus", }; char *movenametab[] = { [0] nil, [1] "Pound", [2] "Karate Chop", [3] "Double Slap", [4] "Comet Punch", [5] "Mega Punch", [6] "Pay Day", [7] "Fire Punch", [8] "Ice Punch", [9] "Thunder Punch", [10] "Scratch", [11] "Vise Grip", [12] "Guillotine", [13] "Razor Wind", [14] "Swords Dance", [15] "Cut", [16] "Gust", [17] "Wing Attack", [18] "Whirlwind", [19] "Fly", [20] "Bind", [21] "Slam", [22] "Vine Whip", [23] "Stomp", [24] "Double Kick", [25] "Mega Kick", [26] "Jump Kick", [27] "Rolling Kick", [28] "Sand Attack", [29] "Headbutt", [30] "Horn Attack", [31] "Fury Attack", [32] "Horn Drill", [33] "Tackle", [34] "Body Slam", [35] "Wrap", [36] "Take Down", [37] "Thrash", [38] "Double-Edge", [39] "Tail Whip", [40] "Poison Sting", [41] "Twineedle", [42] "Pin Missile", [43] "Leer", [44] "Bite", [45] "Growl", [46] "Roar", [47] "Sing", [48] "Supersonic", [49] "Sonic Boom", [50] "Disable", [51] "Acid", [52] "Ember", [53] "Flamethrower", [54] "Mist", [55] "Water Gun", [56] "Hydro Pump", [57] "Surf", [58] "Ice Beam", [59] "Blizzard", [60] "Psybeam", [61] "Bubble Beam", [62] "Aurora Beam", [63] "Hyper Beam", [64] "Peck", [65] "Drill Peck", [66] "Submission", [67] "Low Kick", [68] "Counter", [69] "Seismic Toss", [70] "Strength", [71] "Absorb", [72] "Mega Drain", [73] "Leech Seed", [74] "Growth", [75] "Razor Leaf", [76] "Solar Beam", [77] "Poison Powder", [78] "Stun Spore", [79] "Sleep Powder", [80] "Petal Dance", [81] "String Shot", [82] "Dragon Rage", [83] "Fire Spin", [84] "Thunder Shock", [85] "Thunderbolt", [86] "Thunder Wave", [87] "Thunder", [88] "Rock Throw", [89] "Earthquake", [90] "Fissure", [91] "Dig", [92] "Toxic", [93] "Confusion", [94] "Psychic", [95] "Hypnosis", [96] "Meditate", [97] "Agility", [98] "Quick Attack", [99] "Rage", [100] "Teleport", [101] "Night Shade", [102] "Mimic", [103] "Screech", [104] "Double Team", [105] "Recover", [106] "Harden", [107] "Minimize", [108] "Smokescreen", [109] "Confuse Ray", [110] "Withdraw", [111] "Defense Curl", [112] "Barrier", [113] "Light Screen", [114] "Haze", [115] "Reflect", [116] "Focus Energy", [117] "Bide", [118] "Metronome", [119] "Mirror Move", [120] "Self-Destruct", [121] "Egg Bomb", [122] "Lick", [123] "Smog", [124] "Sludge", [125] "Bone Club", [126] "Fire Blast", [127] "Waterfall", [128] "Clamp", [129] "Swift", [130] "Skull Bash", [131] "Spike Cannon", [132] "Constrict", [133] "Amnesia", [134] "Kinesis", [135] "Soft-Boiled", [136] "High Jump Kick", [137] "Glare", [138] "Dream Eater", [139] "Poison Gas", [140] "Barrage", [141] "Leech Life", [142] "Lovely Kiss", [143] "Sky Attack", [144] "Transform", [145] "Bubble", [146] "Dizzy Punch", [147] "Spore", [148] "Flash", [149] "Psywave", [150] "Splash", [151] "Acid Armor", [152] "Crabhammer", [153] "Explosion", [154] "Fury Swipes", [155] "Bonemerang", [156] "Rest", [157] "Rock Slide", [158] "Hyper Fang", [159] "Sharpen", [160] "Conversion", [161] "Tri Attack", [162] "Super Fang", [163] "Slash", [164] "Substitute", [165] "Struggle", [166] "Sketch", [167] "Triple Kick", [168] "Thief", [169] "Spider Web", [170] "Mind Reader", [171] "Nightmare", [172] "Flame Wheel", [173] "Snore", [174] "Curse", [175] "Flail", [176] "Conversion", [177] "Aeroblast", [178] "Cotton Spore", [179] "Reversal", [180] "Spite", [181] "Powder Snow", [182] "Protect", [183] "Mach Punch", [184] "Scary Face", [185] "Feint Attack", [186] "Sweet Kiss", [187] "Belly Drum", [188] "Sludge Bomb", [189] "Mud-Slap", [190] "Octazooka", [191] "Spikes", [192] "Zap Cannon", [193] "Foresight", [194] "Destiny Bond", [195] "Perish Song", [196] "Icy Wind", [197] "Detect", [198] "Bone Rush", [199] "Lock-On", [200] "Outrage", [201] "Sandstorm", [202] "Giga Drain", [203] "Endure", [204] "Charm", [205] "Rollout", [206] "False Swipe", [207] "Swagger", [208] "Milk Drink", [209] "Spark", [210] "Fury Cutter", [211] "Steel Wing", [212] "Mean Look", [213] "Attract", [214] "Sleep Talk", [215] "Heal Bell", [216] "Return", [217] "Present", [218] "Frustration", [219] "Safeguard", [220] "Pain Split", [221] "Sacred Fire", [222] "Magnitude", [223] "Dynamic Punch", [224] "Megahorn", [225] "Dragon Breath", [226] "Baton Pass", [227] "Encore", [228] "Pursuit", [229] "Rapid Spin", [230] "Sweet Scent", [231] "Iron Tail", [232] "Metal Claw", [233] "Vital Throw", [234] "Morning Sun", [235] "Synthesis", [236] "Moonlight", [237] "Hidden Power", [238] "Cross Chop", [239] "Twister", [240] "Rain Dance", [241] "Sunny Day", [242] "Crunch", [243] "Mirror Coat", [244] "Psych Up", [245] "Extreme Speed", [246] "Ancient Power", [247] "Shadow Ball", [248] "Future Sight", [249] "Rock Smash", [250] "Whirlpool", [251] "Beat Up", [252] "Fake Out", [253] "Uproar", [254] "Stockpile", [255] "Spit Up", [256] "Swallow", [257] "Heat Wave", [258] "Hail", [259] "Torment", [260] "Flatter", [261] "Will-O-Wisp", [262] "Memento", [263] "Facade", [264] "Focus Punch", [265] "Smelling Salts", [266] "Follow Me", [267] "Nature Power", [268] "Charge", [269] "Taunt", [270] "Helping Hand", [271] "Trick", [272] "Role Play", [273] "Wish", [274] "Assist", [275] "Ingrain", [276] "Superpower", [277] "Magic Coat", [278] "Recycle", [279] "Revenge", [280] "Brick Break", [281] "Yawn", [282] "Knock Off", [283] "Endeavor", [284] "Eruption", [285] "Skill Swap", [286] "Imprison", [287] "Refresh", [288] "Grudge", [289] "Snatch", [290] "Secret Power", [291] "Dive", [292] "Arm Thrust", [293] "Camouflage", [294] "Tail Glow", [295] "Luster Purge", [296] "Mist Ball", [297] "Feather Dance", [298] "Teeter Dance", [299] "Blaze Kick", [300] "Mud Sport", [301] "Ice Ball", [302] "Needle Arm", [303] "Slack Off", [304] "Hyper Voice", [305] "Poison Fang", [306] "Crush Claw", [307] "Blast Burn", [308] "Hydro Cannon", [309] "Meteor Mash", [310] "Astonish", [311] "Weather Ball", [312] "Aromatherapy", [313] "Fake Tears", [314] "Air Cutter", [315] "Overheat", [316] "Odor Sleuth", [317] "Rock Tomb", [318] "Silver Wind", [319] "Metal Sound", [320] "Grass Whistle", [321] "Tickle", [322] "Cosmic Power", [323] "Water Spout", [324] "Signal Beam", [325] "Shadow Punch", [326] "Extrasensory", [327] "Sky Uppercut", [328] "Sand Tomb", [329] "Sheer Cold", [330] "Muddy Water", [331] "Bullet Seed", [332] "Aerial Ace", [333] "Icicle Spear", [334] "Iron Defense", [335] "Block", [336] "Howl", [337] "Dragon Claw", [338] "Frenzy Plant", [339] "Bulk Up", [340] "Bounce", [341] "Mud Shot", [342] "Poison Tail", [343] "Covet", [344] "Volt Tackle", [345] "Magical Leaf", [346] "Water Sport", [347] "Calm Mind", [348] "Leaf Blade", [349] "Dragon Dance", [350] "Rock Blast", [351] "Shock Wave", [352] "Water Pulse", [353] "Doom Desire", [354] "Psycho Boost", [355] "Roost", [356] "Gravity", [357] "Miracle Eye", [358] "Wake-Up Slap", [359] "Hammer Arm", [360] "Gyro Ball", [361] "Healing Wish", [362] "Brine", [363] "Natural Gift", [364] "Feint", [365] "Pluck", [366] "Tailwind", [367] "Acupressure", [368] "Metal Burst", [369] "U-turn", [370] "Close Combat", [371] "Payback", [372] "Assurance", [373] "Embargo", [374] "Fling", [375] "Psycho Shift", [376] "Trump Card", [377] "Heal Block", [378] "Wring Out", [379] "Power Trick", [380] "Gastro Acid", [381] "Lucky Chant", [382] "Me First", [383] "Copycat", [384] "Power Swap", [385] "Guard Swap", [386] "Punishment", [387] "Last Resort", [388] "Worry Seed", [389] "Sucker Punch", [390] "Toxic Spikes", [391] "Heart Swap", [392] "Aqua Ring", [393] "Magnet Rise", [394] "Flare Blitz", [395] "Force Palm", [396] "Aura Sphere", [397] "Rock Polish", [398] "Poison Jab", [399] "Dark Pulse", [400] "Night Slash", [401] "Aqua Tail", [402] "Seed Bomb", [403] "Air Slash", [404] "X-Scissor", [405] "Bug Buzz", [406] "Dragon Pulse", [407] "Dragon Rush", [408] "Power Gem", [409] "Drain Punch", [410] "Vacuum Wave", [411] "Focus Blast", [412] "Energy Ball", [413] "Brave Bird", [414] "Earth Power", [415] "Switcheroo", [416] "Giga Impact", [417] "Nasty Plot", [418] "Bullet Punch", [419] "Avalanche", [420] "Ice Shard", [421] "Shadow Claw", [422] "Thunder Fang", [423] "Ice Fang", [424] "Fire Fang", [425] "Shadow Sneak", [426] "Mud Bomb", [427] "Psycho Cut", [428] "Zen Headbutt", [429] "Mirror Shot", [430] "Flash Cannon", [431] "Rock Climb", [432] "Defog", [433] "Trick Room", [434] "Draco Meteor", [435] "Discharge", [436] "Lava Plume", [437] "Leaf Storm", [438] "Power Whip", [439] "Rock Wrecker", [440] "Cross Poison", [441] "Gunk Shot", [442] "Iron Head", [443] "Magnet Bomb", [444] "Stone Edge", [445] "Captivate", [446] "Stealth Rock", [447] "Grass Knot", [448] "Chatter", [449] "Judgment", [450] "Bug Bite", [451] "Charge Beam", [452] "Wood Hammer", [453] "Aqua Jet", [454] "Attack Order", [455] "Defend Order", [456] "Heal Order", [457] "Head Smash", [458] "Double Hit", [459] "Roar of Time", [460] "Spacial Rend", [461] "Lunar Dance", [462] "Crush Grip", [463] "Magma Storm", [464] "Dark Void", [465] "Seed Flare", [466] "Ominous Wind", [467] "Shadow Force", [468] "Hone Claws", [469] "Wide Guard", [470] "Guard Split", [471] "Power Split", [472] "Wonder Room", [473] "Psyshock", [474] "Venoshock", [475] "Autotomize", [476] "Rage Powder", [477] "Telekinesis", [478] "Magic Room", [479] "Smack Down", [480] "Storm Throw", [481] "Flame Burst", [482] "Sludge Wave", [483] "Quiver Dance", [484] "Heavy Slam", [485] "Synchronoise", [486] "Electro Ball", [487] "Soak", [488] "Flame Charge", [489] "Coil", [490] "Low Sweep", [491] "Acid Spray", [492] "Foul Play", [493] "Simple Beam", [494] "Entrainment", [495] "After You", [496] "Round", [497] "Echoed Voice", [498] "Chip Away", [499] "Clear Smog", [500] "Stored Power", [501] "Quick Guard", [502] "Ally Switch", [503] "Scald", [504] "Shell Smash", [505] "Heal Pulse", [506] "Hex", [507] "Sky Drop", [508] "Shift Gear", [509] "Circle Throw", [510] "Incinerate", [511] "Quash", [512] "Acrobatics", [513] "Reflect Type", [514] "Retaliate", [515] "Final Gambit", [516] "Bestow", [517] "Inferno", [518] "Water Pledge", [519] "Fire Pledge", [520] "Grass Pledge", [521] "Volt Switch", [522] "Struggle Bug", [523] "Bulldoze", [524] "Frost Breath", [525] "Dragon Tail", [526] "Work Up", [527] "Electroweb", [528] "Wild Charge", [529] "Drill Run", [530] "Dual Chop", [531] "Heart Stamp", [532] "Horn Leech", [533] "Sacred Sword", [534] "Razor Shell", [535] "Heat Crash", [536] "Leaf Tornado", [537] "Steamroller", [538] "Cotton Guard", [539] "Night Daze", [540] "Psystrike", [541] "Tail Slap", [542] "Hurricane", [543] "Head Charge", [544] "Gear Grind", [545] "Searing Shot", [546] "Techno Blast", [547] "Relic Song", [548] "Secret Sword", [549] "Glaciate", [550] "Bolt Strike", [551] "Blue Flare", [552] "Fiery Dance", [553] "Freeze Shock", [554] "Ice Burn", [555] "Snarl", [556] "Icicle Crash", [557] "V-create", [558] "Fusion Flare", [559] "Fusion Bolt", [560] "Flying Press", [561] "Mat Block", [562] "Belch", [563] "Rototiller", [564] "Sticky Web", [565] "Fell Stinger", [566] "Phantom Force", [567] "Trick-or-Treat", [568] "Noble Roar", [569] "Ion Deluge", [570] "Parabolic Charge", [571] "Forest's Curse", [572] "Petal Blizzard", [573] "Freeze-Dry", [574] "Disarming Voice", [575] "Parting Shot", [576] "Topsy-Turvy", [577] "Draining Kiss", [578] "Crafty Shield", [579] "Flower Shield", [580] "Grassy Terrain", [581] "Misty Terrain", [582] "Electrify", [583] "Play Rough", [584] "Fairy Wind", [585] "Moonblast", [586] "Boomburst", [587] "Fairy Lock", [588] "King's Shield", [589] "Play Nice", [590] "Confide", [591] "Diamond Storm", [592] "Steam Eruption", [593] "Hyperspace Hole", [594] "Water Shuriken", [595] "Mystical Fire", [596] "Spiky Shield", [597] "Aromatic Mist", [598] "Eerie Impulse", [599] "Venom Drench", [600] "Powder", [601] "Geomancy", [602] "Magnetic Flux", [603] "Happy Hour", [604] "Electric Terrain", [605] "Dazzling Gleam", [606] "Celebrate", [607] "Hold Hands", [608] "Baby-Doll Eyes", [609] "Nuzzle", [610] "Hold Back", [611] "Infestation", [612] "Power-Up Punch", [613] "Oblivion Wing", [614] "Thousand Arrows", [615] "Thousand Waves", [616] "Land's Wrath", [617] "Light of Ruin", [618] "Origin Pulse", [619] "Precipice Blades", [620] "Dragon Ascent", [621] "Hyperspace Fury", [622] "Breakneck Blitz", [623] "Breakneck Blitz", [624] "All-Out Pummeling", [625] "All-Out Pummeling", [626] "Supersonic Skystrike", [627] "Supersonic Skystrike", [628] "Acid Downpour", [629] "Acid Downpour", [630] "Tectonic Rage", [631] "Tectonic Rage", [632] "Continental Crush", [633] "Continental Crush", [634] "Savage Spin-Out", [635] "Savage Spin-Out", [636] "Never-Ending Nightmare", [637] "Never-Ending Nightmare", [638] "Corkscrew Crash", [639] "Corkscrew Crash", }; int gen3speciestab[] = { [0] 0, [1] 1, [2] 2, [3] 3, [4] 4, [5] 5, [6] 6, [7] 7, [8] 8, [9] 9, [10] 10, [11] 11, [12] 12, [13] 13, [14] 14, [15] 15, [16] 16, [17] 17, [18] 18, [19] 19, [20] 20, [21] 21, [22] 22, [23] 23, [24] 24, [25] 25, [26] 26, [27] 27, [28] 28, [29] 29, [30] 30, [31] 31, [32] 32, [33] 33, [34] 34, [35] 35, [36] 36, [37] 37, [38] 38, [39] 39, [40] 40, [41] 41, [42] 42, [43] 43, [44] 44, [45] 45, [46] 46, [47] 47, [48] 48, [49] 49, [50] 50, [51] 51, [52] 52, [53] 53, [54] 54, [55] 55, [56] 56, [57] 57, [58] 58, [59] 59, [60] 60, [61] 61, [62] 62, [63] 63, [64] 64, [65] 65, [66] 66, [67] 67, [68] 68, [69] 69, [70] 70, [71] 71, [72] 72, [73] 73, [74] 74, [75] 75, [76] 76, [77] 77, [78] 78, [79] 79, [80] 80, [81] 81, [82] 82, [83] 83, [84] 84, [85] 85, [86] 86, [87] 87, [88] 88, [89] 89, [90] 90, [91] 91, [92] 92, [93] 93, [94] 94, [95] 95, [96] 96, [97] 97, [98] 98, [99] 99, [100] 100, [101] 101, [102] 102, [103] 103, [104] 104, [105] 105, [106] 106, [107] 107, [108] 108, [109] 109, [110] 110, [111] 111, [112] 112, [113] 113, [114] 114, [115] 115, [116] 116, [117] 117, [118] 118, [119] 119, [120] 120, [121] 121, [122] 122, [123] 123, [124] 124, [125] 125, [126] 126, [127] 127, [128] 128, [129] 129, [130] 130, [131] 131, [132] 132, [133] 133, [134] 134, [135] 135, [136] 136, [137] 137, [138] 138, [139] 139, [140] 140, [141] 141, [142] 142, [143] 143, [144] 144, [145] 145, [146] 146, [147] 147, [148] 148, [149] 149, [150] 150, [151] 151, [152] 152, [153] 153, [154] 154, [155] 155, [156] 156, [157] 157, [158] 158, [159] 159, [160] 160, [161] 161, [162] 162, [163] 163, [164] 164, [165] 165, [166] 166, [167] 167, [168] 168, [169] 169, [170] 170, [171] 171, [172] 172, [173] 173, [174] 174, [175] 175, [176] 176, [177] 177, [178] 178, [179] 179, [180] 180, [181] 181, [182] 182, [183] 183, [184] 184, [185] 185, [186] 186, [187] 187, [188] 188, [189] 189, [190] 190, [191] 191, [192] 192, [193] 193, [194] 194, [195] 195, [196] 196, [197] 197, [198] 198, [199] 199, [200] 200, [201] 201, [202] 202, [203] 203, [204] 204, [205] 205, [206] 206, [207] 207, [208] 208, [209] 209, [210] 210, [211] 211, [212] 212, [213] 213, [214] 214, [215] 215, [216] 216, [217] 217, [218] 218, [219] 219, [220] 220, [221] 221, [222] 222, [223] 223, [224] 224, [225] 225, [226] 226, [227] 227, [228] 228, [229] 229, [230] 230, [231] 231, [232] 232, [233] 233, [234] 234, [235] 235, [236] 236, [237] 237, [238] 238, [239] 239, [240] 240, [241] 241, [242] 242, [243] 243, [244] 244, [245] 245, [246] 246, [247] 247, [248] 248, [249] 249, [250] 250, [251] 251, [252] -1, [253] -1, [254] -1, [255] -1, [256] -1, [257] -1, [258] -1, [259] -1, [260] -1, [261] -1, [262] -1, [263] -1, [264] -1, [265] -1, [266] -1, [267] -1, [268] -1, [269] -1, [270] -1, [271] -1, [272] -1, [273] -1, [274] -1, [275] -1, [276] -1, [277] 277-25, [278] 278-25, [279] 279-25, [280] 280-25, [281] 281-25, [282] 282-25, [283] 283-25, [284] 284-25, [285] 285-25, [286] 286-25, [287] 287-25, [288] 288-25, [289] 289-25, [290] 290-25, [291] 291-25, [292] 292-25, [293] 293-25, [294] 294-25, [295] 295-25, [296] 296-25, [297] 297-25, [298] 298-25, [299] 299-25, [300] 300-25, [301] 290, [302] 291, [303] 292, [304] 276, [305] 277, [306] 285, [307] 286, [308] 327, [309] 278, [310] 279, [311] 283, [312] 284, [313] 320, [314] 321, [315] 300, [316] 301, [317] 352, [318] 343, [319] 344, [320] 299, [321] 324, [322] 302, [323] 339, [324] 340, [325] 370, [326] 341, [327] 342, [328] 349, [329] 350, [330] 318, [331] 319, [332] 328, [333] 329, [334] 330, [335] 296, [336] 297, [337] 309, [338] 310, [339] 322, [340] 323, [341] 363, [342] 364, [343] 365, [344] 331, [345] 332, [346] 361, [347] 362, [348] 337, [349] 338, [350] 298, [351] 325, [352] 326, [353] 311, [354] 312, [355] 303, [356] 307, [357] 308, [358] 333, [359] 334, [360] 360, [361] 355, [362] 356, [363] 315, [364] 287, [365] 288, [366] 289, [367] 316, [368] 317, [369] 357, [370] 293, [371] 294, [372] 295, [373] 366, [374] 367, [375] 368, [376] 359, [377] 353, [378] 354, [379] 336, [380] 335, [381] 369, [382] 304, [383] 305, [384] 306, [385] 351, [386] 313, [387] 314, [388] 345, [389] 346, [390] 347, [391] 348, [392] 280, [393] 281, [394] 282, [395] 371, [396] 372, [397] 373, [398] 374, [399] 375, [400] 376, [401] 377, [402] 378, [403] 379, [404] 382, [405] 383, [406] 384, [407] 380, [408] 381, [409] 385, [410] 386, [411] 358, };