|
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
|
|
}
|
|
};
|
|
}
|
|
} |