namespace Gen7 { [Ability effect=BattleArmor] class BattleArmor : PkmnScript { void BlockCritical(ExecutingMove@, Pokemon@, uint8, bool &inout blockCrit) override { blockCrit = true; } } }