Gen7Data/Scripts/Pokemon/Flinch.as

9 lines
247 B
ActionScript
Raw Normal View History

2020-04-10 22:23:17 +00:00
namespace Pokemon{
[Pokemon effect=Flinch]
class Flinch : PkmnScript{
void PreventAttack(ExecutingMove@ attack, bool& result) override {
result = true;
2021-03-28 18:22:46 +00:00
attack.User.RemoveVolatile("flinch");
2020-04-10 22:23:17 +00:00
}
}
}