diff --git a/BW_tool/Editors/Entralink.Designer.cs b/BW_tool/Editors/Entralink.Designer.cs index cfbb217..59c7ca3 100644 --- a/BW_tool/Editors/Entralink.Designer.cs +++ b/BW_tool/Editors/Entralink.Designer.cs @@ -59,27 +59,13 @@ namespace BW_tool private System.Windows.Forms.Label label6; private System.Windows.Forms.Label label7; private System.Windows.Forms.NumericUpDown slot; - private System.Windows.Forms.Label label8; - private System.Windows.Forms.Label label9; - private System.Windows.Forms.Label label10; - private System.Windows.Forms.Label label11; - private System.Windows.Forms.Label label12; - private System.Windows.Forms.Label label13; - private System.Windows.Forms.Label label14; - private System.Windows.Forms.Label label15; - private System.Windows.Forms.Label label16; - private System.Windows.Forms.Label label17; - private System.Windows.Forms.Label label18; - private System.Windows.Forms.Label label19; - private System.Windows.Forms.Label label20; - private System.Windows.Forms.Label label21; - private System.Windows.Forms.Label label22; - private System.Windows.Forms.Label label23; - private System.Windows.Forms.Label label24; - private System.Windows.Forms.Label label25; - private System.Windows.Forms.Label label26; - private System.Windows.Forms.Label label27; private System.Windows.Forms.GroupBox groupBox1; + private System.Windows.Forms.DataGridView dataGridView1; + private System.Windows.Forms.DataGridViewTextBoxColumn Species; + private System.Windows.Forms.DataGridViewTextBoxColumn Move; + private System.Windows.Forms.DataGridViewTextBoxColumn Gender; + private System.Windows.Forms.DataGridViewTextBoxColumn Form; + private System.Windows.Forms.DataGridViewTextBoxColumn Anim; /// /// Disposes resources used by the form. @@ -143,33 +129,20 @@ namespace BW_tool this.label6 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.slot = new System.Windows.Forms.NumericUpDown(); - this.label8 = new System.Windows.Forms.Label(); - this.label9 = new System.Windows.Forms.Label(); - this.label10 = new System.Windows.Forms.Label(); - this.label11 = new System.Windows.Forms.Label(); - this.label12 = new System.Windows.Forms.Label(); - this.label13 = new System.Windows.Forms.Label(); - this.label14 = new System.Windows.Forms.Label(); - this.label15 = new System.Windows.Forms.Label(); - this.label16 = new System.Windows.Forms.Label(); - this.label17 = new System.Windows.Forms.Label(); - this.label18 = new System.Windows.Forms.Label(); - this.label19 = new System.Windows.Forms.Label(); - this.label20 = new System.Windows.Forms.Label(); - this.label21 = new System.Windows.Forms.Label(); - this.label22 = new System.Windows.Forms.Label(); - this.label23 = new System.Windows.Forms.Label(); - this.label24 = new System.Windows.Forms.Label(); - this.label25 = new System.Windows.Forms.Label(); - this.label26 = new System.Windows.Forms.Label(); - this.label27 = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.label2 = new System.Windows.Forms.Label(); this.unlock9 = new System.Windows.Forms.ComboBox(); + this.dataGridView1 = new System.Windows.Forms.DataGridView(); + this.Species = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Move = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Gender = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Form = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Anim = new System.Windows.Forms.DataGridViewTextBoxColumn(); ((System.ComponentModel.ISupportInitialize)(this.formbox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.animbox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.slot)).BeginInit(); this.groupBox1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.SuspendLayout(); // // check9r @@ -539,7 +512,657 @@ namespace BW_tool // spbox1 // this.spbox1.FormattingEnabled = true; - this.spbox1.Items.AddRange(TEXT.pkmlist); + this.spbox1.Items.AddRange(new object[] { + "---------------------------", + "001 - Bulbasaur", + "002 - Ivysaur", + "003 - Venusaur", + "004 - Charmander", + "005 - Charmeleon", + "006 - Charizard", + "007 - Squirtle", + "008 - Wartortle", + "009 - Blastoise", + "010 - Caterpie", + "011 - Metapod", + "012 - Butterfree", + "013 - Weedle", + "014 - Kakuna", + "015 - Beedrill", + "016 - Pidgey", + "017 - Pidgeotto", + "018 - Pidgeot", + "019 - Rattata", + "020 - Raticate", + "021 - Spearow", + "022 - Fearow", + "023 - Ekans", + "024 - Arbok", + "025 - Pikachu", + "026 - Raichu", + "027 - Sandshrew", + "028 - Sandslash", + "029 - Nidoran?", + "030 - Nidorina", + "031 - Nidoqueen", + "032 - Nidoran?", + "033 - Nidorino", + "034 - Nidoking", + "035 - Clefairy", + "036 - Clefable", + "037 - Vulpix", + "038 - Ninetales", + "039 - Jigglypuff", + "040 - Wigglytuff", + "041 - Zubat", + "042 - Golbat", + "043 - Oddish", + "044 - Gloom", + "045 - Vileplume", + "046 - Paras", + "047 - Parasect", + "048 - Venonat", + "049 - Venomoth", + "050 - Diglett", + "051 - Dugtrio", + "052 - Meowth", + "053 - Persian", + "054 - Psyduck", + "055 - Golduck", + "056 - Mankey", + "057 - Primeape", + "058 - Growlithe", + "059 - Arcanine", + "060 - Poliwag", + "061 - Poliwhirl", + "062 - Poliwrath", + "063 - Abra", + "064 - Kadabra", + "065 - Alakazam", + "066 - Machop", + "067 - Machoke", + "068 - Machamp", + "069 - Bellsprout", + "070 - Weepinbell", + "071 - Victreebel", + "072 - Tentacool", + "073 - Tentacruel", + "074 - Geodude", + "075 - Graveler", + "076 - Golem", + "077 - Ponyta", + "078 - Rapidash", + "079 - Slowpoke", + "080 - Slowbro", + "081 - Magnemite", + "082 - Magneton", + "083 - Farfetch\'d", + "084 - Doduo", + "085 - Dodrio", + "086 - Seel", + "087 - Dewgong", + "088 - Grimer", + "089 - Muk", + "090 - Shellder", + "091 - Cloyster", + "092 - Gastly", + "093 - Haunter", + "094 - Gengar", + "095 - Onix", + "096 - Drowzee", + "097 - Hypno", + "098 - Krabby", + "099 - Kingler", + "100 - Voltorb", + "101 - Electrode", + "102 - Exeggcute", + "103 - Exeggutor", + "104 - Cubone", + "105 - Marowak", + "106 - Hitmonlee", + "107 - Hitmonchan", + "108 - Lickitung", + "109 - Koffing", + "110 - Weezing", + "111 - Rhyhorn", + "112 - Rhydon", + "113 - Chansey", + "114 - Tangela", + "115 - Kangaskhan", + "116 - Horsea", + "117 - Seadra", + "118 - Goldeen", + "119 - Seaking", + "120 - Staryu", + "121 - Starmie", + "122 - Mr. Mime", + "123 - Scyther", + "124 - Jynx", + "125 - Electabuzz", + "126 - Magmar", + "127 - Pinsir", + "128 - Tauros", + "129 - Magikarp", + "130 - Gyarados", + "131 - Lapras", + "132 - Ditto", + "133 - Eevee", + "134 - Vaporeon", + "135 - Jolteon", + "136 - Flareon", + "137 - Porygon", + "138 - Omanyte", + "139 - Omastar", + "140 - Kabuto", + "141 - Kabutops", + "142 - Aerodactyl", + "143 - Snorlax", + "144 - Articuno", + "145 - Zapdos", + "146 - Moltres", + "147 - Dratini", + "148 - Dragonair", + "149 - Dragonite", + "150 - Mewtwo", + "151 - Mew", + "152 - Chikorita", + "153 - Bayleef", + "154 - Meganium", + "155 - Cyndaquil", + "156 - Quilava", + "157 - Typhlosion", + "158 - Totodile", + "159 - Croconaw", + "160 - Feraligatr", + "161 - Sentret", + "162 - Furret", + "163 - Hoothoot", + "164 - Noctowl", + "165 - Ledyba", + "166 - Ledian", + "167 - Spinarak", + "168 - Ariados", + "169 - Crobat", + "170 - Chinchou", + "171 - Lanturn", + "172 - Pichu", + "173 - Cleffa", + "174 - Igglybuff", + "175 - Togepi", + "176 - Togetic", + "177 - Natu", + "178 - Xatu", + "179 - Mareep", + "180 - Flaaffy", + "181 - Ampharos", + "182 - Bellossom", + "183 - Marill", + "184 - Azumarill", + "185 - Sudowoodo", + "186 - Politoed", + "187 - Hoppip", + "188 - Skiploom", + "189 - Jumpluff", + "190 - Aipom", + "191 - Sunkern", + "192 - Sunflora", + "193 - Yanma", + "194 - Wooper", + "195 - Quagsire", + "196 - Espeon", + "197 - Umbreon", + "198 - Murkrow", + "199 - Slowking", + "200 - Misdreavus", + "201 - Unown", + "202 - Wobbuffet", + "203 - Girafarig", + "204 - Pineco", + "205 - Forretress", + "206 - Dunsparce", + "207 - Gligar", + "208 - Steelix", + "209 - Snubbull", + "210 - Granbull", + "211 - Qwilfish", + "212 - Scizor", + "213 - Shuckle", + "214 - Heracross", + "215 - Sneasel", + "216 - Teddiursa", + "217 - Ursaring", + "218 - Slugma", + "219 - Magcargo", + "220 - Swinub", + "221 - Piloswine", + "222 - Corsola", + "223 - Remoraid", + "224 - Octillery", + "225 - Delibird", + "226 - Mantine", + "227 - Skarmory", + "228 - Houndour", + "229 - Houndoom", + "230 - Kingdra", + "231 - Phanpy", + "232 - Donphan", + "233 - Porygon2", + "234 - Stantler", + "235 - Smeargle", + "236 - Tyrogue", + "237 - Hitmontop", + "238 - Smoochum", + "239 - Elekid", + "240 - Magby", + "241 - Miltank", + "242 - Blissey", + "243 - Raikou", + "244 - Entei", + "245 - Suicune", + "246 - Larvitar", + "247 - Pupitar", + "248 - Tyranitar", + "249 - Lugia", + "250 - Ho-oh", + "251 - Celebi", + "252 - Treecko", + "253 - Grovyle", + "254 - Sceptile", + "255 - Torchic", + "256 - Combusken", + "257 - Blaziken", + "258 - Mudkip", + "259 - Marshtomp", + "260 - Swampert", + "261 - Poochyena", + "262 - Mightyena", + "263 - Zigzagoon", + "264 - Linoone", + "265 - Wurmple", + "266 - Silcoon", + "267 - Beautifly", + "268 - Cascoon", + "269 - Dustox", + "270 - Lotad", + "271 - Lombre", + "272 - Ludicolo", + "273 - Seedot", + "274 - Nuzleaf", + "275 - Shiftry", + "276 - Taillow", + "277 - Swellow", + "278 - Wingull", + "279 - Pelipper", + "280 - Ralts", + "281 - Kirlia", + "282 - Gardevoir", + "283 - Surskit", + "284 - Masquerain", + "285 - Shroomish", + "286 - Breloom", + "287 - Slakoth", + "288 - Vigoroth", + "289 - Slaking", + "290 - Nincada", + "291 - Ninjask", + "292 - Shedinja", + "293 - Whismur", + "294 - Loudred", + "295 - Exploud", + "296 - Makuhita", + "297 - Hariyama", + "298 - Azurill", + "299 - Nosepass", + "300 - Skitty", + "301 - Delcatty", + "302 - Sableye", + "303 - Mawile", + "304 - Aron", + "305 - Lairon", + "306 - Aggron", + "307 - Meditite", + "308 - Medicham", + "309 - Electrike", + "310 - Manectric", + "311 - Plusle", + "312 - Minun", + "313 - Volbeat", + "314 - Illumise", + "315 - Roselia", + "316 - Gulpin", + "317 - Swalot", + "318 - Carvanha", + "319 - Sharpedo", + "320 - Wailmer", + "321 - Wailord", + "322 - Numel", + "323 - Camerupt", + "324 - Torkoal", + "325 - Spoink", + "326 - Grumpig", + "327 - Spinda", + "328 - Trapinch", + "329 - Vibrava", + "330 - Flygon", + "331 - Cacnea", + "332 - Cacturne", + "333 - Swablu", + "334 - Altaria", + "335 - Zangoose", + "336 - Seviper", + "337 - Lunatone", + "338 - Solrock", + "339 - Barboach", + "340 - Whiscash", + "341 - Corphish", + "342 - Crawdaunt", + "343 - Baltoy", + "344 - Claydol", + "345 - Lileep", + "346 - Cradily", + "347 - Anorith", + "348 - Armaldo", + "349 - Feebas", + "350 - Milotic", + "351 - Castform", + "352 - Kecleon", + "353 - Shuppet", + "354 - Banette", + "355 - Duskull", + "356 - Dusclops", + "357 - Tropius", + "358 - Chimecho", + "359 - Absol", + "360 - Wynaut", + "361 - Snorunt", + "362 - Glalie", + "363 - Spheal", + "364 - Sealeo", + "365 - Walrein", + "366 - Clamperl", + "367 - Huntail", + "368 - Gorebyss", + "369 - Relicanth", + "370 - Luvdisc", + "371 - Bagon", + "372 - Shelgon", + "373 - Salamence", + "374 - Beldum", + "375 - Metang", + "376 - Metagross", + "377 - Regirock", + "378 - Regice", + "379 - Registeel", + "380 - Latias", + "381 - Latios", + "382 - Kyogre", + "383 - Groudon", + "384 - Rayquaza", + "385 - Jirachi", + "386 - Deoxys", + "387 - Turtwig", + "388 - Grotle", + "389 - Torterra", + "390 - Chimchar", + "391 - Monferno", + "392 - Infernape", + "393 - Piplup", + "394 - Prinplup", + "395 - Empoleon", + "396 - Starly", + "397 - Staravia", + "398 - Staraptor", + "399 - Bidoof", + "400 - Bibarel", + "401 - Kricketot", + "402 - Kricketune", + "403 - Shinx", + "404 - Luxio", + "405 - Luxray", + "406 - Budew", + "407 - Roserade", + "408 - Cranidos", + "409 - Rampardos", + "410 - Shieldon", + "411 - Bastiodon", + "412 - Burmy", + "413 - Wormadam", + "414 - Mothim", + "415 - Combee", + "416 - Vespiquen", + "417 - Pachirisu", + "418 - Buizel", + "419 - Floatzel", + "420 - Cherubi", + "421 - Cherrim", + "422 - Shellos", + "423 - Gastrodon", + "424 - Ambipom", + "425 - Drifloon", + "426 - Drifblim", + "427 - Buneary", + "428 - Lopunny", + "429 - Mismagius", + "430 - Honchkrow", + "431 - Glameow", + "432 - Purugly", + "433 - Chingling", + "434 - Stunky", + "435 - Skuntank", + "436 - Bronzor", + "437 - Bronzong", + "438 - Bonsly", + "439 - Mime Jr.", + "440 - Happiny", + "441 - Chatot", + "442 - Spiritomb", + "443 - Gible", + "444 - Gabite", + "445 - Garchomp", + "446 - Munchlax", + "447 - Riolu", + "448 - Lucario", + "449 - Hippopotas", + "450 - Hippowdon", + "451 - Skorupi", + "452 - Drapion", + "453 - Croagunk", + "454 - Toxicroak", + "455 - Carnivine", + "456 - Finneon", + "457 - Lumineon", + "458 - Mantyke", + "459 - Snover", + "460 - Abomasnow", + "461 - Weavile", + "462 - Magnezone", + "463 - Lickilicky", + "464 - Rhyperior", + "465 - Tangrowth", + "466 - Electivire", + "467 - Magmortar", + "468 - Togekiss", + "469 - Yanmega", + "470 - Leafeon", + "471 - Glaceon", + "472 - Gliscor", + "473 - Mamoswine", + "474 - Porygon-Z", + "475 - Gallade", + "476 - Probopass", + "477 - Dusknoir", + "478 - Froslass", + "479 - Rotom", + "480 - Uxie", + "481 - Mesprit", + "482 - Azelf", + "483 - Dialga", + "484 - Palkia", + "485 - Heatran", + "486 - Regigigas", + "487 - Giratina", + "488 - Cresselia", + "489 - Phione", + "490 - Manaphy", + "491 - Darkrai", + "492 - Shaymin", + "493 - Arceus", + "494 - Victini", + "495 - Snivy", + "496 - Servine", + "497 - Serperior", + "498 - Tepig", + "499 - Pignite", + "500 - Emboar", + "501 - Oshawott", + "502 - Dewott", + "503 - Samurott", + "504 - Patrat", + "505 - Watchog", + "506 - Lillipup", + "507 - Herdier", + "508 - Stoutland", + "509 - Purrloin", + "510 - Liepard", + "511 - Pansage", + "512 - Simisage", + "513 - Pansear", + "514 - Simisear", + "515 - Panpour", + "516 - Simipour", + "517 - Munna", + "518 - Musharna", + "519 - Pidove", + "520 - Tranquill", + "521 - Unfezant", + "522 - Blitzle", + "523 - Zebstrika", + "524 - Roggenrola", + "525 - Boldore", + "526 - Gigalith", + "527 - Woobat", + "528 - Swoobat", + "529 - Drilbur", + "530 - Excadrill", + "531 - Audino", + "532 - Timburr", + "533 - Gurdurr", + "534 - Conkeldurr", + "535 - Tympole", + "536 - Palpitoad", + "537 - Seismitoad", + "538 - Throh", + "539 - Sawk", + "540 - Sewaddle", + "541 - Swadloon", + "542 - Leavanny", + "543 - Venipede", + "544 - Whirlipede", + "545 - Scolipede", + "546 - Cottonee", + "547 - Whimsicott", + "548 - Petilil", + "549 - Lilligant", + "550 - Basculin", + "551 - Sandile", + "552 - Krokorok", + "553 - Krookodile", + "554 - Darumaka", + "555 - Darmanitan", + "556 - Maractus", + "557 - Dwebble", + "558 - Crustle", + "559 - Scraggy", + "560 - Scrafty", + "561 - Sigilyph", + "562 - Yamask", + "563 - Cofagrigus", + "564 - Tirtouga", + "565 - Carracosta", + "566 - Archen", + "567 - Archeops", + "568 - Trubbish", + "569 - Garbodor", + "570 - Zorua", + "571 - Zoroark", + "572 - Minccino", + "573 - Cinccino", + "574 - Gothita", + "575 - Gothorita", + "576 - Gothitelle", + "577 - Solosis", + "578 - Duosion", + "579 - Reuniclus", + "580 - Ducklett", + "581 - Swanna", + "582 - Vanillite", + "583 - Vanillish", + "584 - Vanilluxe", + "585 - Deerling", + "586 - Sawsbuck", + "587 - Emolga", + "588 - Karrablast", + "589 - Escavalier", + "590 - Foongus", + "591 - Amoonguss", + "592 - Frillish", + "593 - Jellicent", + "594 - Alomomola", + "595 - Joltik", + "596 - Galvantula", + "597 - Ferroseed", + "598 - Ferrothorn", + "599 - Klink", + "600 - Klang", + "601 - Klinklang", + "602 - Tynamo", + "603 - Eelektrik", + "604 - Eelektross", + "605 - Elgyem", + "606 - Beheeyem", + "607 - Litwick", + "608 - Lampent", + "609 - Chandelure", + "610 - Axew", + "611 - Fraxure", + "612 - Haxorus", + "613 - Cubchoo", + "614 - Beartic", + "615 - Cryogonal", + "616 - Shelmet", + "617 - Accelgor", + "618 - Stunfisk", + "619 - Mienfoo", + "620 - Mienshao", + "621 - Druddigon", + "622 - Golett", + "623 - Golurk", + "624 - Pawniard", + "625 - Bisharp", + "626 - Bouffalant", + "627 - Rufflet", + "628 - Braviary", + "629 - Vullaby", + "630 - Mandibuzz", + "631 - Heatmor", + "632 - Durant", + "633 - Deino", + "634 - Zweilous", + "635 - Hydreigon", + "636 - Larvesta", + "637 - Volcarona", + "638 - Cobalion", + "639 - Terrakion", + "640 - Virizion", + "641 - Tornadus", + "642 - Thundurus", + "643 - Reshiram", + "644 - Zekrom", + "645 - Landorus", + "646 - Kyurem", + "647 - Keldeo", + "648 - Meloetta", + "649 - Genesect"}); this.spbox1.Location = new System.Drawing.Point(297, 58); this.spbox1.Name = "spbox1"; this.spbox1.Size = new System.Drawing.Size(121, 21); @@ -547,7 +1170,567 @@ namespace BW_tool // // move1box // - this.move1box.Items.AddRange(TEXT.movelist); + this.move1box.Items.AddRange(new object[] { + "----------------------", + "Pound", + "Karate Chop", + "Double Slap", + "Comet Punch", + "Mega Punch", + "Pay Day", + "Fire Punch", + "Ice Punch", + "Thunder Punch", + "Scratch", + "Vice Grip", + "Guillotine", + "Razor Wind", + "Swords Dance", + "Cut", + "Gust", + "Wing Attack", + "Whirlwind", + "Fly", + "Bind", + "Slam", + "Vine Whip", + "Stomp", + "Double Kick", + "Mega Kick", + "Jump Kick", + "Rolling Kick", + "Sand Attack", + "Headbutt", + "Horn Attack", + "Fury Attack", + "Horn Drill", + "Tackle", + "Body Slam", + "Wrap", + "Take Down", + "Thrash", + "Double-Edge", + "Tail Whip", + "Poison Sting", + "Twineedle", + "Pin Missile", + "Leer", + "Bite", + "Growl", + "Roar", + "Sing", + "Supersonic", + "Sonic Boom", + "Disable", + "Acid", + "Ember", + "Flamethrower", + "Mist", + "Water Gun", + "Hydro Pump", + "Surf", + "Ice Beam", + "Blizzard", + "Psybeam", + "Bubble Beam", + "Aurora Beam", + "Hyper Beam", + "Peck", + "Drill Peck", + "Submission", + "Low Kick", + "Counter", + "Seismic Toss", + "Strength", + "Absorb", + "Mega Drain", + "Leech Seed", + "Growth", + "Razor Leaf", + "Solar Beam", + "Poison Powder", + "Stun Spore", + "Sleep Powder", + "Petal Dance", + "String Shot", + "Dragon Rage", + "Fire Spin", + "Thunder Shock", + "Thunderbolt", + "Thunder Wave", + "Thunder", + "Rock Throw", + "Earthquake", + "Fissure", + "Dig", + "Toxic", + "Confusion", + "Psychic", + "Hypnosis", + "Meditate", + "Agility", + "Quick Attack", + "Rage", + "Teleport", + "Night Shade", + "Mimic", + "Screech", + "Double Team", + "Recover", + "Harden", + "Minimize", + "Smokescreen", + "Confuse Ray", + "Withdraw", + "Defense Curl", + "Barrier", + "Light Screen", + "Haze", + "Reflect", + "Focus Energy", + "Bide", + "Metronome", + "Mirror Move", + "Self-Destruct", + "Egg Bomb", + "Lick", + "Smog", + "Sludge", + "Bone Club", + "Fire Blast", + "Waterfall", + "Clamp", + "Swift", + "Skull Bash", + "Spike Cannon", + "Constrict", + "Amnesia", + "Kinesis", + "Soft-Boiled", + "High Jump Kick", + "Glare", + "Dream Eater", + "Poison Gas", + "Barrage", + "Leech Life", + "Lovely Kiss", + "Sky Attack", + "Transform", + "Bubble", + "Dizzy Punch", + "Spore", + "Flash", + "Psywave", + "Splash", + "Acid Armor", + "Crabhammer", + "Explosion", + "Fury Swipes", + "Bonemerang", + "Rest", + "Rock Slide", + "Hyper Fang", + "Sharpen", + "Conversion", + "Tri Attack", + "Super Fang", + "Slash", + "Substitute", + "Struggle", + "Sketch", + "Triple Kick", + "Thief", + "Spider Web", + "Mind Reader", + "Nightmare", + "Flame Wheel", + "Snore", + "Curse", + "Flail", + "Conversion 2", + "Aeroblast", + "Cotton Spore", + "Reversal", + "Spite", + "Powder Snow", + "Protect", + "Mach Punch", + "Scary Face", + "Feint Attack", + "Sweet Kiss", + "Belly Drum", + "Sludge Bomb", + "Mud-Slap", + "Octazooka", + "Spikes", + "Zap Cannon", + "Foresight", + "Destiny Bond", + "Perish Song", + "Icy Wind", + "Detect", + "Bone Rush", + "Lock-On", + "Outrage", + "Sandstorm", + "Giga Drain", + "Endure", + "Charm", + "Rollout", + "False Swipe", + "Swagger", + "Milk Drink", + "Spark", + "Fury Cutter", + "Steel Wing", + "Mean Look", + "Attract", + "Sleep Talk", + "Heal Bell", + "Return", + "Present", + "Frustration", + "Safeguard", + "Pain Split", + "Sacred Fire", + "Magnitude", + "Dynamic Punch", + "Megahorn", + "Dragon Breath", + "Baton Pass", + "Encore", + "Pursuit", + "Rapid Spin", + "Sweet Scent", + "Iron Tail", + "Metal Claw", + "Vital Throw", + "Morning Sun", + "Synthesis", + "Moonlight", + "Hidden Power", + "Cross Chop", + "Twister", + "Rain Dance", + "Sunny Day", + "Crunch", + "Mirror Coat", + "Psych Up", + "Extreme Speed", + "Ancient Power", + "Shadow Ball", + "Future Sight", + "Rock Smash", + "Whirlpool", + "Beat Up", + "Fake Out", + "Uproar", + "Stockpile", + "Spit Up", + "Swallow", + "Heat Wave", + "Hail", + "Torment", + "Flatter", + "Will-O-Wisp", + "Memento", + "Facade", + "Focus Punch", + "Smelling Salts", + "Follow Me", + "Nature Power", + "Charge", + "Taunt", + "Helping Hand", + "Trick", + "Role Play", + "Wish", + "Assist", + "Ingrain", + "Superpower", + "Magic Coat", + "Recycle", + "Revenge", + "Brick Break", + "Yawn", + "Knock Off", + "Endeavor", + "Eruption", + "Skill Swap", + "Imprison", + "Refresh", + "Grudge", + "Snatch", + "Secret Power", + "Dive", + "Arm Thrust", + "Camouflage", + "Tail Glow", + "Luster Purge", + "Mist Ball", + "Feather Dance", + "Teeter Dance", + "Blaze Kick", + "Mud Sport", + "Ice Ball", + "Needle Arm", + "Slack Off", + "Hyper Voice", + "Poison Fang", + "Crush Claw", + "Blast Burn", + "Hydro Cannon", + "Meteor Mash", + "Astonish", + "Weather Ball", + "Aromatherapy", + "Fake Tears", + "Air Cutter", + "Overheat", + "Odor Sleuth", + "Rock Tomb", + "Silver Wind", + "Metal Sound", + "Grass Whistle", + "Tickle", + "Cosmic Power", + "Water Spout", + "Signal Beam", + "Shadow Punch", + "Extrasensory", + "Sky Uppercut", + "Sand Tomb", + "Sheer Cold", + "Muddy Water", + "Bullet Seed", + "Aerial Ace", + "Icicle Spear", + "Iron Defense", + "Block", + "Howl", + "Dragon Claw", + "Frenzy Plant", + "Bulk Up", + "Bounce", + "Mud Shot", + "Poison Tail", + "Covet", + "Volt Tackle", + "Magical Leaf", + "Water Sport", + "Calm Mind", + "Leaf Blade", + "Dragon Dance", + "Rock Blast", + "Shock Wave", + "Water Pulse", + "Doom Desire", + "Psycho Boost", + "Roost", + "Gravity", + "Miracle Eye", + "Wake-Up Slap", + "Hammer Arm", + "Gyro Ball", + "Healing Wish", + "Brine", + "Natural Gift", + "Feint", + "Pluck", + "Tailwind", + "Acupressure", + "Metal Burst", + "U-turn", + "Close Combat", + "Payback", + "Assurance", + "Embargo", + "Fling", + "Psycho Shift", + "Trump Card", + "Heal Block", + "Wring Out", + "Power Trick", + "Gastro Acid", + "Lucky Chant", + "Me First", + "Copycat", + "Power Swap", + "Guard Swap", + "Punishment", + "Last Resort", + "Worry Seed", + "Sucker Punch", + "Toxic Spikes", + "Heart Swap", + "Aqua Ring", + "Magnet Rise", + "Flare Blitz", + "Force Palm", + "Aura Sphere", + "Rock Polish", + "Poison Jab", + "Dark Pulse", + "Night Slash", + "Aqua Tail", + "Seed Bomb", + "Air Slash", + "X-Scissor", + "Bug Buzz", + "Dragon Pulse", + "Dragon Rush", + "Power Gem", + "Drain Punch", + "Vacuum Wave", + "Focus Blast", + "Energy Ball", + "Brave Bird", + "Earth Power", + "Switcheroo", + "Giga Impact", + "Nasty Plot", + "Bullet Punch", + "Avalanche", + "Ice Shard", + "Shadow Claw", + "Thunder Fang", + "Ice Fang", + "Fire Fang", + "Shadow Sneak", + "Mud Bomb", + "Psycho Cut", + "Zen Headbutt", + "Mirror Shot", + "Flash Cannon", + "Rock Climb", + "Defog", + "Trick Room", + "Draco Meteor", + "Discharge", + "Lava Plume", + "Leaf Storm", + "Power Whip", + "Rock Wrecker", + "Cross Poison", + "Gunk Shot", + "Iron Head", + "Magnet Bomb", + "Stone Edge", + "Captivate", + "Stealth Rock", + "Grass Knot", + "Chatter", + "Judgment", + "Bug Bite", + "Charge Beam", + "Wood Hammer", + "Aqua Jet", + "Attack Order", + "Defend Order", + "Heal Order", + "Head Smash", + "Double Hit", + "Roar of Time", + "Spacial Rend", + "Lunar Dance", + "Crush Grip", + "Magma Storm", + "Dark Void", + "Seed Flare", + "Ominous Wind", + "Shadow Force", + "Hone Claws", + "Wide Guard", + "Guard Split", + "Power Split", + "Wonder Room", + "Psyshock", + "Venoshock", + "Autotomize", + "Rage Powder", + "Telekinesis", + "Magic Room", + "Smack Down", + "Storm Throw", + "Flame Burst", + "Sludge Wave", + "Quiver Dance", + "Heavy Slam", + "Synchronoise", + "Electro Ball", + "Soak", + "Flame Charge", + "Coil", + "Low Sweep", + "Acid Spray", + "Foul Play", + "Simple Beam", + "Entrainment", + "After You", + "Round", + "Echoed Voice", + "Chip Away", + "Clear Smog", + "Stored Power", + "Quick Guard", + "Ally Switch", + "Scald", + "Shell Smash", + "Heal Pulse", + "Hex", + "Sky Drop", + "Shift Gear", + "Circle Throw", + "Incinerate", + "Quash", + "Acrobatics", + "Reflect Type", + "Retaliate", + "Final Gambit", + "Bestow", + "Inferno", + "Water Pledge", + "Fire Pledge", + "Grass Pledge", + "Volt Switch", + "Struggle Bug", + "Bulldoze", + "Frost Breath", + "Dragon Tail", + "Work Up", + "Electroweb", + "Wild Charge", + "Drill Run", + "Dual Chop", + "Heart Stamp", + "Horn Leech", + "Sacred Sword", + "Razor Shell", + "Heat Crash", + "Leaf Tornado", + "Steamroller", + "Cotton Guard", + "Night Daze", + "Psystrike", + "Tail Slap", + "Hurricane", + "Head Charge", + "Gear Grind", + "Searing Shot", + "Techno Blast", + "Relic Song", + "Secret Sword", + "Glaciate", + "Bolt Strike", + "Blue Flare", + "Fiery Dance", + "Freeze Shock", + "Ice Burn", + "Snarl", + "Icicle Crash", + "V-create", + "Fusion Flare", + "Fusion Bolt"}); this.move1box.Location = new System.Drawing.Point(424, 58); this.move1box.Name = "move1box"; this.move1box.Size = new System.Drawing.Size(121, 21); @@ -662,166 +1845,6 @@ namespace BW_tool this.slot.TabIndex = 72; this.slot.ValueChanged += new System.EventHandler(this.SlotValueChanged); // - // label8 - // - this.label8.Location = new System.Drawing.Point(211, 61); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(47, 18); - this.label8.TabIndex = 168; - this.label8.Text = "Slot 00:"; - // - // label9 - // - this.label9.Location = new System.Drawing.Point(211, 90); - this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(47, 18); - this.label9.TabIndex = 169; - this.label9.Text = "Slot 01:"; - // - // label10 - // - this.label10.Location = new System.Drawing.Point(209, 140); - this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(47, 18); - this.label10.TabIndex = 171; - this.label10.Text = "Slot 03:"; - // - // label11 - // - this.label11.Location = new System.Drawing.Point(210, 114); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(47, 18); - this.label11.TabIndex = 170; - this.label11.Text = "Slot 02:"; - // - // label12 - // - this.label12.Location = new System.Drawing.Point(210, 194); - this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(47, 18); - this.label12.TabIndex = 173; - this.label12.Text = "Slot 05:"; - // - // label13 - // - this.label13.Location = new System.Drawing.Point(211, 168); - this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(47, 18); - this.label13.TabIndex = 172; - this.label13.Text = "Slot 04:"; - // - // label14 - // - this.label14.Location = new System.Drawing.Point(210, 248); - this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(47, 18); - this.label14.TabIndex = 175; - this.label14.Text = "Slot 07:"; - // - // label15 - // - this.label15.Location = new System.Drawing.Point(211, 222); - this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(47, 18); - this.label15.TabIndex = 174; - this.label15.Text = "Slot 06:"; - // - // label16 - // - this.label16.Location = new System.Drawing.Point(210, 463); - this.label16.Name = "label16"; - this.label16.Size = new System.Drawing.Size(47, 18); - this.label16.TabIndex = 183; - this.label16.Text = "Slot 15:"; - // - // label17 - // - this.label17.Location = new System.Drawing.Point(211, 437); - this.label17.Name = "label17"; - this.label17.Size = new System.Drawing.Size(47, 18); - this.label17.TabIndex = 182; - this.label17.Text = "Slot 14:"; - // - // label18 - // - this.label18.Location = new System.Drawing.Point(210, 409); - this.label18.Name = "label18"; - this.label18.Size = new System.Drawing.Size(47, 18); - this.label18.TabIndex = 181; - this.label18.Text = "Slot 13:"; - // - // label19 - // - this.label19.Location = new System.Drawing.Point(211, 383); - this.label19.Name = "label19"; - this.label19.Size = new System.Drawing.Size(47, 18); - this.label19.TabIndex = 180; - this.label19.Text = "Slot 12:"; - // - // label20 - // - this.label20.Location = new System.Drawing.Point(209, 355); - this.label20.Name = "label20"; - this.label20.Size = new System.Drawing.Size(47, 18); - this.label20.TabIndex = 179; - this.label20.Text = "Slot 11:"; - // - // label21 - // - this.label21.Location = new System.Drawing.Point(210, 329); - this.label21.Name = "label21"; - this.label21.Size = new System.Drawing.Size(47, 18); - this.label21.TabIndex = 178; - this.label21.Text = "Slot 10:"; - // - // label22 - // - this.label22.Location = new System.Drawing.Point(210, 302); - this.label22.Name = "label22"; - this.label22.Size = new System.Drawing.Size(47, 18); - this.label22.TabIndex = 177; - this.label22.Text = "Slot 09:"; - // - // label23 - // - this.label23.Location = new System.Drawing.Point(211, 276); - this.label23.Name = "label23"; - this.label23.Size = new System.Drawing.Size(47, 18); - this.label23.TabIndex = 176; - this.label23.Text = "Slot 08:"; - // - // label24 - // - this.label24.Location = new System.Drawing.Point(210, 545); - this.label24.Name = "label24"; - this.label24.Size = new System.Drawing.Size(47, 18); - this.label24.TabIndex = 186; - this.label24.Text = "Slot 18:"; - // - // label25 - // - this.label25.Location = new System.Drawing.Point(211, 519); - this.label25.Name = "label25"; - this.label25.Size = new System.Drawing.Size(47, 18); - this.label25.TabIndex = 185; - this.label25.Text = "Slot 17:"; - // - // label26 - // - this.label26.Location = new System.Drawing.Point(210, 491); - this.label26.Name = "label26"; - this.label26.Size = new System.Drawing.Size(47, 18); - this.label26.TabIndex = 184; - this.label26.Text = "Slot 16:"; - // - // label27 - // - this.label27.Location = new System.Drawing.Point(211, 572); - this.label27.Name = "label27"; - this.label27.Size = new System.Drawing.Size(47, 18); - this.label27.TabIndex = 187; - this.label27.Text = "Slot 19:"; - // // groupBox1 // this.groupBox1.Controls.Add(this.check1r); @@ -879,33 +1902,65 @@ namespace BW_tool this.unlock9.TabIndex = 191; this.unlock9.SelectedIndexChanged += new System.EventHandler(this.Unlock9SelectedIndexChanged); // + // dataGridView1 + // + this.dataGridView1.AllowUserToResizeColumns = false; + this.dataGridView1.AllowUserToResizeRows = false; + this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.Species, + this.Move, + this.Gender, + this.Form, + this.Anim}); + this.dataGridView1.Location = new System.Drawing.Point(216, 85); + this.dataGridView1.MultiSelect = false; + this.dataGridView1.Name = "dataGridView1"; + this.dataGridView1.ReadOnly = true; + this.dataGridView1.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; + this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.dataGridView1.Size = new System.Drawing.Size(495, 499); + this.dataGridView1.TabIndex = 192; + this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView1CellContentClick); + // + // Species + // + this.Species.HeaderText = "Species"; + this.Species.Name = "Species"; + this.Species.ReadOnly = true; + // + // Move + // + this.Move.HeaderText = "Move"; + this.Move.Name = "Move"; + this.Move.ReadOnly = true; + // + // Gender + // + this.Gender.HeaderText = "Gender"; + this.Gender.Name = "Gender"; + this.Gender.ReadOnly = true; + // + // Form + // + this.Form.HeaderText = "Form"; + this.Form.Name = "Form"; + this.Form.ReadOnly = true; + // + // Anim + // + this.Anim.HeaderText = "Anim"; + this.Anim.Name = "Anim"; + this.Anim.ReadOnly = true; + // // Entralink // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(723, 596); + this.Controls.Add(this.dataGridView1); this.Controls.Add(this.unlock9); this.Controls.Add(this.groupBox1); - this.Controls.Add(this.label27); - this.Controls.Add(this.label24); - this.Controls.Add(this.label25); - this.Controls.Add(this.label26); - this.Controls.Add(this.label16); - this.Controls.Add(this.label17); - this.Controls.Add(this.label18); - this.Controls.Add(this.label19); - this.Controls.Add(this.label20); - this.Controls.Add(this.label21); - this.Controls.Add(this.label22); - this.Controls.Add(this.label23); - this.Controls.Add(this.label14); - this.Controls.Add(this.label15); - this.Controls.Add(this.label12); - this.Controls.Add(this.label13); - this.Controls.Add(this.label10); - this.Controls.Add(this.label11); - this.Controls.Add(this.label9); - this.Controls.Add(this.label8); this.Controls.Add(this.slot); this.Controls.Add(this.label7); this.Controls.Add(this.label6); @@ -926,6 +1981,7 @@ namespace BW_tool ((System.ComponentModel.ISupportInitialize)(this.animbox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.slot)).EndInit(); this.groupBox1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); this.ResumeLayout(false); } diff --git a/BW_tool/Editors/Entralink.cs b/BW_tool/Editors/Entralink.cs index a57cfb5..76d24a7 100644 --- a/BW_tool/Editors/Entralink.cs +++ b/BW_tool/Editors/Entralink.cs @@ -55,6 +55,8 @@ namespace BW_tool checkboxlist.Add(check8c); checkboxlist.Add(check8l); checkboxlist.Add(check8r); + + dataGridView1.Rows.Add(19); forest = new FOREST(MainForm.save.B2W2? MainForm.save.getBlockDec(60) : MainForm.save.getBlockDec(61)); unlock8box.SelectedIndex = forest.Unlock8; @@ -156,6 +158,7 @@ namespace BW_tool forest.Indexpkm = 0; slot.Value = forest.Indexpkm; + updateGrid(); } @@ -191,6 +194,49 @@ namespace BW_tool updatearea(); updateslot(); } + void updateGrid() + { + int n; + int i; + int temp = forest.Indexpkm; + for (i=0;i<20;i++) + { + if (forest.Area > 0 && forest.Area < 3 && i > 9) + { + dataGridView1.Rows[i].Cells[0].Value = " "; + dataGridView1.Rows[i].Cells[1].Value = " "; + dataGridView1.Rows[i].Cells[2].Value = " "; + dataGridView1.Rows[i].Cells[3].Value = " "; + dataGridView1.Rows[i].Cells[4].Value = " "; + }else + { + forest.Indexpkm = i; + if (forest.Species == 0) + { + dataGridView1.Rows[i].Cells[0].Value = " "; + dataGridView1.Rows[i].Cells[1].Value = " "; + dataGridView1.Rows[i].Cells[2].Value = " "; + dataGridView1.Rows[i].Cells[3].Value = " "; + dataGridView1.Rows[i].Cells[4].Value = " "; + } + else + { + dataGridView1.Rows[i].Cells[0].Value = TEXT.pkmlist[forest.Species]; + dataGridView1.Rows[i].Cells[1].Value = TEXT.movelist[forest.Move]; + dataGridView1.Rows[i].Cells[2].Value = forest.Gender; + dataGridView1.Rows[i].Cells[3].Value = forest.Form; + dataGridView1.Rows[i].Cells[4].Value = forest.Animation; + } + + } + } + forest.Indexpkm = temp; + } + void DataGridView1CellContentClick(object sender, DataGridViewCellEventArgs e) + { + //if (!(forest.Area >0 && forest.Area > 4 && dataGridView1.CurrentRow.Index > 9)) + slot.Value = (int)dataGridView1.CurrentRow.Index; + } public class FOREST { diff --git a/BW_tool/Editors/Entralink.resx b/BW_tool/Editors/Entralink.resx index 29dcb1b..3b313bd 100644 --- a/BW_tool/Editors/Entralink.resx +++ b/BW_tool/Editors/Entralink.resx @@ -117,4 +117,19 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + True + + + True + + + True + + + True + + + True + \ No newline at end of file diff --git a/BW_tool/SAV/SAV5.cs b/BW_tool/SAV/SAV5.cs index a237dc9..620783f 100644 --- a/BW_tool/SAV/SAV5.cs +++ b/BW_tool/SAV/SAV5.cs @@ -338,7 +338,8 @@ namespace BW_tool { //Recalculate checksum before applying to savedata ushort crc = ccitt16(input.Take(blocks[index].Length).ToArray()); - if (crc != BitConverter.ToUInt16(input, blocks[index].Checksum - blocks[index].Offset)) { + ushort crcintable = BitConverter.ToUInt16(Data, ((blocks[blocksnum].Offset) + (index * 2))); + if (crc != BitConverter.ToUInt16(input, blocks[index].Checksum - blocks[index].Offset) || crc!=crcintable) { Array.Copy(BitConverter.GetBytes(crc), 0, input, blocks[index].Checksum - blocks[index].Offset, 2); //Update CRC tables Array.Copy(BitConverter.GetBytes(crc), 0, Data, ((blocks[blocksnum].Offset) + (index * 2)), 2); @@ -409,6 +410,12 @@ namespace BW_tool if (crc != BitConverter.ToUInt16(Data, blocks[i].Checksum)) { if (correct) { Array.Copy(BitConverter.GetBytes(crc), 0, Data, blocks[i].Checksum, 2); + //Update CRC tables + Array.Copy(BitConverter.GetBytes(crc), 0, Data, ((blocks[blocksnum].Offset) + (i * 2)), 2); + //recalculate crc table's checksum + ushort crctable = ccitt16(Data.Skip(blocks[blocksnum].Offset).Take(((blocksnum + 1) * 2)).ToArray()); + Array.Copy(BitConverter.GetBytes(crctable), 0, Data, blocks[blocksnum].Checksum, 2); + if (!firstcorrect) { firstcorrect = true; correctedblocks = correctedblocks + i.ToString(); @@ -447,6 +454,12 @@ namespace BW_tool if (crc != BitConverter.ToUInt16(Data, blocks[i].Checksum + backupoffset)) { if (correct) { Array.Copy(BitConverter.GetBytes(crc), 0, Data, blocks[i].Checksum + backupoffset, 2); + //Update CRC tables + Array.Copy(BitConverter.GetBytes(crc), 0, Data, ((blocks[blocksnum].Offset) + (i * 2) + backupoffset), 2); + //recalculate crc table's checksum + ushort crctable = ccitt16(Data.Skip(blocks[blocksnum].Offset + backupoffset).Take(((blocksnum + 1) * 2)).ToArray()); + Array.Copy(BitConverter.GetBytes(crctable), 0, Data, blocks[blocksnum].Checksum + backupoffset, 2); + if (!firstcorrect) { firstcorrect = true; correctedblocks = correctedblocks + i.ToString();