BattleHandlers::UserAbilityEndOfMove.add(:AERIALBOOST,
proc { |ability,user,targets,move,battle|
next if battle.pbAllFainted?(user.idxOpposingSide)
next if !isConst?(move.type,PBTypes,:FLYING)
user.pbRaiseStatStageByAbility(PBStats::SPEED,1,user)
}
)