Beispiel #1
0
        private void ShowSimulatorSetTooltip(Control pb, PKM pk)
        {
            if (pk.Species == 0)
            {
                ShowSet.RemoveAll();
                return;
            }
            var set = new ShowdownSet(pk);

            if (pk.Format <= 2) // Nature preview from IVs
            {
                set.Nature = (int)(pk.EXP % 25);
            }
            ShowSet.SetToolTip(pb, set.LocalizedText(Settings.Default.Language));
        }