Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
TRG, Yawn was supposed to come into effect and put Dragonite to sleep at the end of A1, so he shouldn't have been able to use Rain Dance (and probably Thunder depending on the Roll). :<
WHAT THE HECK ARE YOU DOING! YOU'RE TAKING MATCHES IN THE BATTLE WHEN YOU SAID YOU WOULDN'T REF OUR MATCH!!! REF MY MATCH NOW!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!