11 lines
341 B
ActionScript
11 lines
341 B
ActionScript
|
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
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
}
|