Gen7Data/Scripts/Moves/Flinch.as

8 lines
224 B
ActionScript
Raw Normal View History

2020-04-10 22:23:17 +00:00
namespace Gen7{
[Move effect=Flinch]
class Flinch : PkmnScript {
void OnSecondaryEffect(ExecutingMove@ attack, Pokemon@ target, uint8 hit) override{
target.AddVolatile("flinch");
}
}
}