mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
88830e0d00
Updates from net46->net7, dropping support for mono in favor of using the latest runtime (along with the performance/API improvements). Releases will be posted as 64bit only for now. Refactors a good amount of internal API methods to be more performant and more customizable for future updates & fixes. Adds functionality for Batch Editor commands to `>`, `<` and <=/>= TID/SID properties renamed to TID16/SID16 for clarity; other properties exposed for Gen7 / display variants. Main window has a new layout to account for DPI scaling (8 point grid) Fixed: Tatsugiri and Paldean Tauros now output Showdown form names as Showdown expects Changed: Gen9 species now interact based on the confirmed National Dex IDs (closes #3724) Fixed: Pokedex set all no longer clears species with unavailable non-base forms (closes #3720) Changed: Hyper Training suggestions now apply for level 50 in SV. (closes #3714) Fixed: B2/W2 hatched egg met locations exclusive to specific versions are now explicitly checked (closes #3691) Added: Properties for ribbon/mark count (closes #3659) Fixed: Traded SV eggs are now checked correctly (closes #3692)
132 lines
7.9 KiB
C#
132 lines
7.9 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace PKHeX.Core;
|
|
|
|
/// <summary>
|
|
/// Details about moves in <see cref="EntityContext.Gen8a"/>
|
|
/// </summary>
|
|
internal static class MoveInfo8a
|
|
{
|
|
public static ReadOnlySpan<byte> MovePP_LA => new byte[]
|
|
{
|
|
00, 35, 25, 10, 15, 20, 20, 10, 10, 10, 35, 30, 05, 10, 20, 30, 25, 35, 20, 15,
|
|
20, 20, 25, 20, 30, 05, 10, 15, 15, 15, 25, 20, 05, 30, 15, 20, 20, 10, 05, 30,
|
|
20, 20, 20, 30, 20, 40, 20, 15, 20, 20, 20, 30, 25, 10, 30, 25, 05, 15, 10, 05,
|
|
20, 20, 20, 05, 35, 20, 20, 20, 20, 20, 15, 20, 15, 10, 20, 25, 10, 20, 20, 20,
|
|
10, 40, 10, 15, 25, 10, 20, 05, 15, 10, 05, 10, 10, 20, 10, 20, 40, 30, 20, 20,
|
|
20, 15, 10, 40, 15, 10, 30, 10, 20, 10, 40, 40, 20, 30, 30, 20, 20, 10, 10, 20,
|
|
05, 10, 30, 20, 20, 20, 05, 15, 15, 20, 10, 15, 35, 20, 15, 10, 10, 30, 15, 20,
|
|
20, 10, 10, 05, 10, 25, 10, 10, 20, 15, 40, 20, 10, 05, 15, 10, 10, 10, 15, 30,
|
|
30, 10, 10, 15, 10, 01, 01, 10, 25, 10, 05, 15, 20, 15, 10, 15, 30, 05, 40, 15,
|
|
10, 25, 10, 20, 10, 20, 10, 10, 10, 20, 15, 20, 05, 40, 05, 05, 20, 05, 10, 05,
|
|
10, 10, 10, 10, 20, 20, 30, 15, 10, 20, 20, 25, 05, 15, 10, 05, 20, 15, 20, 25,
|
|
20, 05, 30, 05, 05, 20, 40, 05, 20, 40, 20, 05, 35, 10, 05, 05, 05, 15, 05, 25,
|
|
05, 05, 10, 20, 10, 05, 15, 10, 10, 20, 15, 10, 10, 10, 20, 10, 10, 10, 10, 15,
|
|
15, 15, 10, 20, 20, 10, 20, 20, 20, 20, 20, 10, 10, 10, 20, 20, 05, 15, 10, 10,
|
|
15, 10, 20, 05, 05, 10, 10, 20, 05, 10, 20, 10, 20, 20, 20, 05, 05, 15, 20, 10,
|
|
15, 20, 15, 10, 10, 15, 10, 05, 05, 10, 25, 10, 05, 20, 15, 05, 40, 15, 15, 40,
|
|
15, 20, 20, 05, 15, 20, 15, 15, 15, 05, 10, 30, 20, 30, 20, 05, 40, 10, 05, 10,
|
|
05, 15, 25, 25, 05, 20, 15, 10, 10, 20, 10, 20, 20, 05, 05, 10, 05, 40, 10, 10,
|
|
05, 10, 10, 15, 10, 20, 15, 30, 10, 20, 05, 10, 10, 15, 10, 10, 05, 15, 05, 10,
|
|
10, 30, 20, 20, 10, 10, 05, 05, 10, 05, 20, 10, 20, 10, 05, 10, 10, 20, 10, 10,
|
|
15, 10, 15, 10, 10, 10, 10, 10, 10, 10, 30, 05, 10, 05, 10, 10, 05, 20, 20, 10,
|
|
20, 15, 15, 15, 15, 20, 15, 15, 10, 10, 10, 20, 15, 05, 05, 15, 15, 05, 10, 05,
|
|
15, 05, 10, 20, 05, 20, 20, 20, 20, 05, 20, 15, 05, 20, 15, 10, 10, 05, 10, 05,
|
|
05, 10, 05, 05, 10, 05, 15, 05, 15, 10, 10, 10, 10, 10, 15, 15, 20, 15, 10, 15,
|
|
10, 15, 10, 20, 10, 10, 10, 20, 20, 20, 20, 20, 15, 15, 15, 15, 15, 15, 20, 15,
|
|
10, 15, 15, 15, 15, 10, 15, 10, 10, 10, 15, 15, 15, 15, 05, 05, 15, 05, 10, 10,
|
|
10, 20, 20, 20, 10, 10, 30, 15, 10, 10, 15, 25, 10, 15, 10, 10, 10, 20, 10, 10,
|
|
10, 10, 05, 15, 15, 05, 05, 10, 10, 10, 05, 05, 10, 05, 05, 15, 10, 05, 05, 05,
|
|
10, 10, 10, 10, 20, 25, 10, 20, 30, 25, 20, 20, 15, 20, 15, 20, 20, 15, 10, 10,
|
|
10, 10, 20, 10, 25, 10, 10, 10, 10, 20, 20, 05, 05, 05, 20, 10, 10, 20, 15, 20,
|
|
20, 10, 20, 30, 10, 10, 40, 40, 20, 20, 40, 20, 20, 10, 10, 10, 10, 05, 10, 10,
|
|
05, 05, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01,
|
|
01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 10,
|
|
10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 15, 20, 30, 20, 15, 15, 20, 10, 15,
|
|
15, 10, 05, 10, 10, 20, 15, 10, 15, 15, 15, 05, 15, 20, 20, 01, 01, 01, 01, 01,
|
|
01, 01, 01, 01, 05, 05, 10, 10, 10, 20, 10, 10, 10, 05, 05, 20, 10, 10, 10, 01,
|
|
05, 15, 05, 01, 01, 01, 01, 01, 01, 10, 15, 15, 20, 20, 20, 20, 15, 15, 10, 10,
|
|
05, 20, 05, 10, 05, 15, 10, 10, 05, 15, 20, 10, 10, 15, 10, 10, 10, 10, 10, 10,
|
|
10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 05, 10, 15, 10, 15,
|
|
05, 05, 05, 10, 15, 40, 10, 10, 10, 15, 10, 10, 10, 10, 05, 05, 05, 10, 05, 20,
|
|
10, 10, 05, 20, 20, 10, 10, 05, 05, 05, 40, 10, 20, 10, 10, 10, 10, 05, 05, 15,
|
|
05, 10, 10, 10, 05, 05, 35, 15, 10, 10, 15, 05, 10, 10, 10, 05, 05, 10, 05, 15,
|
|
10, 15, 10, 15, 15, 15, 05, 05, 05, 10, 10,
|
|
};
|
|
|
|
/// <summary>
|
|
/// Moves that are kill
|
|
/// </summary>
|
|
public static readonly HashSet<ushort> DummiedMoves_LA = new()
|
|
{
|
|
001, 002, 003, 004, 005, 006, 010, 011, 012, 013,
|
|
015, 017, 018, 019, 020, 021, 022, 023, 024, 025,
|
|
026, 027, 028, 029, 030, 031, 032, 034, 035, 036,
|
|
037, 039, 041, 043, 045, 046, 047, 048, 049, 050,
|
|
051, 054, 055, 057, 060, 061, 062, 064, 065, 066,
|
|
067, 068, 069, 070, 072, 073, 074, 075, 076, 081,
|
|
082, 083, 088, 089, 090, 091, 092, 096, 097, 099,
|
|
101, 103, 104, 106, 107, 108, 109, 110, 111, 112,
|
|
113, 114, 115, 117, 118, 119, 121, 122, 123, 124,
|
|
125, 127, 128, 130, 131, 132, 133, 134, 136, 137,
|
|
138, 140, 142, 143, 144, 146, 148, 149, 152, 153,
|
|
154, 155, 158, 159, 160, 162, 164, 166, 167, 168,
|
|
169, 170, 171, 173, 174, 175, 176, 177, 178, 179,
|
|
180, 182, 184, 185, 186, 187, 192, 193, 194, 195,
|
|
197, 198, 199, 201, 202, 203, 204, 207, 208, 210,
|
|
211, 212, 213, 214, 215, 216, 217, 218, 219, 220,
|
|
221, 222, 223, 225, 226, 227, 228, 229, 230, 232,
|
|
233, 234, 235, 236, 238, 240, 241, 243, 244, 245,
|
|
248, 250, 251, 252, 253, 254, 255, 256, 257, 258,
|
|
259, 260, 261, 262, 263, 264, 265, 266, 267, 268,
|
|
269, 270, 271, 272, 273, 274, 275, 276, 277, 278,
|
|
279, 280, 281, 282, 283, 284, 285, 286, 287, 288,
|
|
289, 290, 291, 292, 293, 294, 295, 296, 297, 298,
|
|
299, 300, 302, 303, 304, 305, 306, 307, 308, 309,
|
|
311, 312, 313, 316, 317, 319, 320, 321, 322, 323,
|
|
324, 325, 327, 328, 329, 330, 331, 333, 335, 336,
|
|
338, 340, 341, 342, 343, 346, 349, 350, 351, 353,
|
|
354, 356, 357, 358, 359, 360, 361, 362, 363, 364,
|
|
365, 366, 367, 368, 369, 371, 372, 373, 374, 375,
|
|
376, 377, 378, 379, 380, 381, 382, 383, 384, 385,
|
|
386, 387, 388, 389, 390, 391, 392, 393, 395, 397,
|
|
402, 407, 410, 411, 415, 419, 429, 431, 432, 433,
|
|
435, 436, 438, 439, 441, 443, 445, 447, 448, 450,
|
|
454, 455, 456, 461, 468, 469, 470, 471, 472, 473,
|
|
475, 476, 477, 478, 479, 480, 481, 482, 483, 484,
|
|
485, 486, 487, 488, 489, 490, 492, 493, 494, 495,
|
|
496, 497, 498, 499, 500, 501, 502, 503, 504, 505,
|
|
507, 508, 509, 510, 511, 512, 513, 514, 515, 516,
|
|
517, 518, 519, 520, 521, 524, 525, 526, 527, 529,
|
|
530, 531, 532, 533, 534, 535, 536, 537, 538, 539,
|
|
540, 541, 543, 544, 545, 546, 547, 548, 549, 550,
|
|
551, 552, 553, 554, 557, 558, 559, 560, 561, 562,
|
|
563, 564, 565, 566, 567, 568, 569, 570, 571, 572,
|
|
573, 574, 575, 576, 578, 579, 580, 581, 582, 586,
|
|
587, 588, 589, 590, 591, 592, 593, 594, 596, 597,
|
|
598, 599, 600, 601, 602, 603, 604, 606, 607, 609,
|
|
610, 611, 612, 613, 614, 615, 616, 617, 618, 619,
|
|
620, 621, 622, 623, 624, 625, 626, 627, 628, 629,
|
|
630, 631, 632, 633, 634, 635, 636, 637, 638, 639,
|
|
640, 641, 642, 643, 644, 645, 646, 647, 648, 649,
|
|
650, 651, 652, 653, 654, 655, 656, 657, 658, 659,
|
|
660, 661, 662, 663, 664, 665, 666, 668, 669, 671,
|
|
672, 673, 674, 675, 676, 677, 678, 679, 680, 681,
|
|
682, 683, 684, 685, 686, 687, 688, 689, 690, 691,
|
|
692, 693, 694, 695, 696, 697, 698, 699, 700, 701,
|
|
702, 703, 704, 705, 706, 707, 708, 709, 711, 712,
|
|
713, 714, 715, 716, 717, 718, 719, 720, 721, 722,
|
|
723, 724, 725, 726, 727, 728, 729, 730, 731, 732,
|
|
733, 734, 735, 736, 737, 738, 739, 740, 741, 742,
|
|
743, 744, 745, 746, 747, 748, 749, 750, 751, 752,
|
|
753, 754, 755, 756, 757, 758, 759, 760, 761, 762,
|
|
763, 764, 765, 766, 767, 768, 769, 770, 771, 772,
|
|
773, 774, 775, 776, 777, 778, 779, 780, 781, 782,
|
|
783, 784, 785, 786, 787, 788, 789, 790, 791, 792,
|
|
793, 794, 795, 797, 798, 799, 800, 801, 802, 803,
|
|
804, 805, 806, 807, 808, 809, 810, 811, 812, 813,
|
|
814, 815, 816, 817, 818, 819, 820, 821, 822, 823,
|
|
824, 825, 826,
|
|
};
|
|
}
|