public float GetPokemonWeight(bool own, BaseBattleScreen BattleScreen)
        {
            BasePokemon p  = BattleScreen.OwnPokemon;
            BasePokemon op = BattleScreen.OppPokemon;

            if (own == false)
            {
                p  = BattleScreen.OppPokemon;
                op = BattleScreen.OwnPokemon;
            }

            float weigth = p.PokedexEntry.Weight;

            if (p.Ability.Name.ToLower() == "light metal" && CanUseAbility(own, BattleScreen) == true)
            {
                weigth /= 2;
            }

            if (p.Ability.Name.ToLower() == "heavy metal" && CanUseAbility(own, BattleScreen) == true)
            {
                weigth *= 2;
            }

            return(weigth);
        }
        public bool CanUseOwnItem(bool own, BaseBattleScreen BattleScreen)
        {
            BasePokemon p = BattleScreen.OwnPokemon;

            if (own == false)
            {
                p = BattleScreen.OppPokemon;
            }
            if (p.Ability.Name.ToLower() == "klutz")
            {
                return(false);
            }
            return(true);
        }
        /// <summary>
        /// Checks if a Pokémon can use its ability.
        /// </summary>
        /// <param name="own">Which Pokémon?</param>
        /// <param name="BattleScreen">The BattleScreen reference.</param>
        /// <param name="CheckType">0: Supression abilities, 1: GastroAcid, 2: both</param>
        public bool CanUseAbility(bool own, BaseBattleScreen BattleScreen, int CheckType = 0)
        {
            if (CheckType == 0 || CheckType == 2)
            {
                BasePokemon p = BattleScreen.OppPokemon;
                if (own == false)
                {
                    p = BattleScreen.OwnPokemon;
                }

                string[] supressAbilities =
                {
                    "mold breaker",
                    "turboblaze",
                    "teravolt"
                };

                if (supressAbilities.Contains(p.Ability.Name.ToLower()) == true)
                {
                    return(false);
                }
            }
            if (CheckType == 1 || CheckType == 2)
            {
                if (own == true)
                {
                    if (OwnGastroAcid == true)
                    {
                        return(false);
                    }
                }
                else
                {
                    if (OppGastroAcid == true)
                    {
                        return(false);
                    }
                }
            }

            return(true);
        }