Thanks for the nod Blacky!
Actually, Alakazam's "Magic Guard" ability prevents damage from anything except direct damage. Sandstorm, poison, and entry hazards are included.
I feel that his team isn't really rocks-weak, so rapidspin might be a bit unnecessary. Of course we would need to...