In an air battle in X and Y if gengar is made to mega evolve it will lose its levitate ability so will mega evolution of gengar b prevented here?
The air battle will still continue. A similar example can be seen when Charizard mega evolves into Mega Charizard X. It loses it Flying type which is what let it enter the air battle. It still went on to battle though.