mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-16 00:52:41 -05:00
In this pull request I've changed a ton of method signatures to reflect the more-narrow types of Species, Move# and Form; additionally, I've narrowed other large collections that stored lists of species / permitted values, and reworked them to be more performant with the latest API spaghetti that PKHeX provides. Roamer met locations, usually in a range of [max-min]<64, can be quickly checked using a bitflag operation on a UInt64. Other collections (like "Is this from Colosseum or XD") were eliminated -- shadow state is not transferred COLO<->XD, so having a Shadow ID or matching the met location from a gift/wild encounter is a sufficient check for "originated in XD".
21 lines
722 B
C#
21 lines
722 B
C#
namespace PKHeX.Core;
|
|
|
|
internal static class LearnSource7
|
|
{
|
|
internal static readonly ushort[] TMHM_SM =
|
|
{
|
|
526, 337, 473, 347, 046, 092, 258, 339, 474, 237,
|
|
241, 269, 058, 059, 063, 113, 182, 240, 355, 219,
|
|
218, 076, 479, 085, 087, 089, 216, 141, 094, 247,
|
|
280, 104, 115, 482, 053, 188, 201, 126, 317, 332,
|
|
259, 263, 488, 156, 213, 168, 490, 496, 497, 315,
|
|
211, 411, 412, 206, 503, 374, 451, 507, 693, 511,
|
|
261, 512, 373, 153, 421, 371, 684, 416, 397, 694,
|
|
444, 521, 086, 360, 014, 019, 244, 523, 524, 157,
|
|
404, 525, 611, 398, 138, 447, 207, 214, 369, 164,
|
|
430, 433, 528, 057, 555, 267, 399, 127, 605, 590,
|
|
|
|
// No HMs
|
|
};
|
|
}
|