PKHeX.Form1.openMAIN C# (CSharp) Method

openMAIN() private method

private openMAIN ( byte input, string path, string GameType, bool oras, bool ram = false ) : void
input byte
path string
GameType string
oras bool
ram bool
return void
        private void openMAIN(byte[] input, string path, string GameType, bool oras, bool ram = false)
        {
            ramsavloaded = ram;
            L_Save.Text = "SAV: " + Path.GetFileName(path);
            SaveGame = new PKX.Structures.SaveGame(GameType);

            // Load CyberGadget
            savindex = 0;
            savefile = new byte[0x100000];
            cyberSAV = input;
            cybergadget = true;
            B_ExportSAV.Enabled = true;
            B_SwitchSAV.Enabled = false;
            Array.Copy(input, 0, savefile, 0x5400, input.Length);

            openSave(oras);
        }
        private void open1MB(byte[] input, string path, string GameType, bool oras)
Form1