Exemplo n.º 1
0
        private bool FixMachamps(PK8 clone, PokeTradeDetail <PK8> poke, string TrainerName, bool adOT)
        {
            if (adOT && clone.OT_Name != $"{TrainerName}")
            {
                clone.OT_Name = $"{TrainerName}";
                clone.ClearNickname();
                clone.PKRS_Infected = false;
                clone.PKRS_Cured    = false;
                clone.PKRS_Days     = 0;
                clone.PKRS_Strain   = 0;
                poke.SendNotification(this, $"```fix\nDetected an ad OT/Nickname with your {(Species)clone.Species}! Fixed it for you!```");

                return(FixAds = false);
            }
            return(FixAds = true);
        }