namespace Gen7{
[Move effect=Flinch]
class Flinch : PkmnScript {
void OnSecondaryEffect(ExecutingMove@ attack, Pokemon@ target, uint8 hit) override{
target.AddVolatile("flinch");
}