I've come across a weird situation with a wild Machoke. With the intention of using Metalkid's IV calculator, I was leveling up some freshly hatched Smeargle. Since I accidentally released my Exp.Share earlier today, I was forced to do the "switch out" method of training week Pokemon. Suffice to say I was leading with a L1 Smeargle. I went from the IV man at the Battle Frontier through the Fight Area to Route 225. I ran around in the grass until I encountered a wild Machoke. From that point, this is what happened:
Turn 1
Level 1 Smeargle vs. Level 48 (?) Machoke
Smeargle switched to Alom (Level 79 Altaria)
Machoke used Scary Face, Altaria's speed harshly fell
Turn 2
Altaria flew up high! (First stage of Fly)
Machoke used Scary Face, Altaria's Speed harshly fell
Turn 3
Machoke used Wake up Slap (Altaria's health bar goes down a slight bit)
Altaria used Fly!
Wild Machoke fainted! Smeargle gained #@ experience!
What's in italics points out what I found weird about this fight. Two of Machoke's moves hit my Altaria, even though he was in the "invulnerable" part of the move Fly. What is the reason for this?
Some extra information:
This is in Platinum, probably a later copy
The Smeargle was holding a Lucky Egg
The animations for Wake-up-slap and Scary Face played, but the Altaria sprite was missing
I haven't used AR on my game or DS
Edit: Thank you Naxte! I didn't know No Guard hit through Fly.