namespace Pokemon{ [Pokemon effect=Flinch] class Flinch : PkmnScript{ void PreventAttack(ExecutingMove@ attack, bool& result) override { result = true; attack.User.RemoveVolatile("flinch"); } } }