Remove method alias for init mysterygift db

This commit is contained in:
Kurt
2020-01-12 11:41:23 -08:00
parent 9ed441885a
commit 82eaf39d45
2 changed files with 1 additions and 3 deletions

View File

@@ -61,8 +61,6 @@ public static partial class Legal
internal static readonly EggMoves7[] EggMovesSWSH = EggMoves7.GetArray(Data.UnpackMini(Util.GetBinaryResource("eggmove_swsh.pkl"), "ss"));
internal static readonly Learnset[] LevelUpSWSH = LearnsetReader.GetArray(Data.UnpackMini(Util.GetBinaryResource("lvlmove_swsh.pkl"), "ss"));
public static void RefreshMGDB(string localDbPath) => EncounterEvent.RefreshMGDB(localDbPath);
internal static List<int>[] GetValidMovesAllGens(PKM pkm, IReadOnlyList<EvoCriteria>[] evoChains, int minLvLG1 = 1, int minLvLG2 = 1, bool LVL = true, bool Tutor = true, bool Machine = true, bool MoveReminder = true, bool RemoveTransferHM = true)
{
var Moves = new List<int>[evoChains.Length];

View File

@@ -28,7 +28,7 @@ public Main()
{
Form splash = null; // popup a splash screen in another thread
new Task(() => (splash = new SplashScreen()).ShowDialog()).Start();
new Task(() => Legal.RefreshMGDB(MGDatabasePath)).Start();
new Task(() => EncounterEvent.RefreshMGDB(MGDatabasePath)).Start();
string[] args = Environment.GetCommandLineArgs();
FormLoadInitialSettings(args, out bool showChangelog, out bool BAKprompt);