Depends on what flying type it is, because when you use roost, you loose your flying typing. So that means Earthquake would be super effective on all Flying-Fire, Flying-Electric, Flying-Poison, Flying-Rock, and Flying-Steel, after they have used roost of course.