private void FlinchLogic(RBYPokemon Defender, int chance) { int inchance = 10; if (Odds(chance, inchance)) { Defender.Flinched(); } }