Gen7Data/Scripts/Abilities/AromaVeil.as

11 lines
386 B
ActionScript

namespace Gen7 {
[Ability effect=AromaVeil]
class AromaVeil {
void PreventSecondaryEffects(ExecutingMove@ move, Pokemon@, uint8, bool &inout prevent){
// TODO: This only prevents disabling moves, not other things that block move uses.
if (move.UseMove.HasFlag("limit_move_choice")){
prevent = true;
}
}
}
}