Example #1
0
        public SAV_Misc3()
        {
            InitializeComponent();
            WinFormsUtil.TranslateInterface(this, Main.curlanguage);

            if (SAV.FRLG || SAV.E)
            {
                readJoyful();
            }
            else
            {
                tabControl1.Controls.Remove(TAB_Joyful);
            }

            if (SAV.FRLG)
            {
                TB_OTName.Text = PKX.getG3Str(SAV.getData(SAV.getBlockOffset(4) + 0xBCC, 8), SAV.Japanese);
            }
            else
            {
                TB_OTName.Visible = L_TrainerName.Visible = false;
            }

            NUD_BP.Value    = SAV.BP;
            NUD_Coins.Value = SAV.Coin;
        }