mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-04-19 05:28:51 -05:00
* Uses LearnSource more throughout the codebase when appropriate, rather than loosely coupled pivot methods. * Hides Learnset/EggMove data inside the LearnSource classes. * Extracts functionality from the large Legal class & partial Table*.cs files into better performing helper classes. * Cleans up some code from prior LearnSource commits.
20 lines
718 B
C#
20 lines
718 B
C#
using System;
|
|
|
|
namespace PKHeX.Core;
|
|
|
|
public abstract class LearnSource3
|
|
{
|
|
private protected readonly EggMoves6[] EggMoves = EggMoves6.GetArray(BinLinkerAccessor.Get(Util.GetBinaryResource("eggmove_rs.pkl"), "rs")); // same for all Gen3 games
|
|
|
|
internal static ReadOnlySpan<ushort> TM_3 => new ushort[]
|
|
{
|
|
264, 337, 352, 347, 046, 092, 258, 339, 331, 237,
|
|
241, 269, 058, 059, 063, 113, 182, 240, 202, 219,
|
|
218, 076, 231, 085, 087, 089, 216, 091, 094, 247,
|
|
280, 104, 115, 351, 053, 188, 201, 126, 317, 332,
|
|
259, 263, 290, 156, 213, 168, 211, 285, 289, 315,
|
|
};
|
|
|
|
internal static ReadOnlySpan<ushort> HM_3 => new ushort[] { 15, 19, 57, 70, 148, 249, 127, 291 };
|
|
}
|