Gen7Data/Scripts/Moves/AfterYou.as

11 lines
341 B
ActionScript
Raw Normal View History

2020-04-10 22:23:17 +00:00
namespace Gen7 {
[Move effect=AfterYou]
class AfterYou : PkmnScript{
void OnSecondaryEffect(ExecutingMove@ attack, Pokemon@ target, uint8 hit) override {
bool result = target.Battle.TurnQueue.MovePokemonChoiceNext(target);
if (!result){
// TODO: Failed
}
};
}
}