Gen7Data/Scripts/Abilities/AromaVeil.as

11 lines
386 B
ActionScript
Raw Normal View History

2021-11-20 14:31:52 +00:00
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;
}
}
}
}