namespace Gen7 { [Ability effect=Bulletproof] class Bulletproof : PkmnScript { void IsInvulnerable(ExecutingMove@ move, Pokemon@, bool &inout isInvulnerable) { if (move.UseMove.HasFlag("ballistics")){ isInvulnerable = true; } } } }