PKHeX/PKHeX.Core/Legality/LearnSource/Sources/Shared/LearnSource7.cs
Kurt 5ce3e734b8
Skip initial cctor alloc on non-byte primitives (#3850)
Runtime/jit repoints these to the dll rather than heap if we're Little Endian (always, otherwise will allocate like before).

Eliminates quite a few static constructors, so even faster startup. Items later.
2023-03-25 17:55:55 -07:00

23 lines
754 B
C#

using System;
namespace PKHeX.Core;
internal static class LearnSource7
{
internal static ReadOnlySpan<ushort> TMHM_SM => new ushort[]
{
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
};
}