public SAV_SuperTrain(Form1 frm1)
{
m_parent = frm1;
savindex = m_parent.savindex;
Array.Copy(m_parent.savefile, sav, 0x100000);
if (m_parent.savegame_oras) data_offset = 0x25600;
trba = Form1.trainingbags;
trba[0] = "---";
offsetTime = data_offset + 0x08 + 0x7F000 * savindex;
offsetSpec = data_offset + 0x188 + 0x7F000 * savindex;
offsetVal = data_offset + 0x18A + 0x7F000 * savindex;
InitializeComponent();
Util.TranslateInterface(this, Form1.curlanguage);
string[] stages = Form1.trainingstage;
listBox1.Items.Clear();
for (int i = 0; i < 30; i++)
listBox1.Items.Add((i + 1).ToString("00") + " - " + stages[i + 2]);
setup();
}
Form1 m_parent;