>>22900659>>22904494M-Mawile
Leveled up pokemon (maybe pokemon with effects like Hitting streak will work better)
Snorunt. Yeah, it's not very effective, but at least it gives you a chance that Glalie would hit itself.
And try to have a mega as soon as possible.
Actually, I'm stuck as well, but once I managed to beat ~90% out of this thing without buying +5 moves before the battle... It was a pity I didn't have enough coins to buy it.