If you Agility'd with Cobalion towards the end when all his mons were getting worn down, you had a chance. Also Roserade dying killed a lot of momentum, and switching in Barbaracle on a Giga Drain killed even more of your offense. You were basically left with just Cobalion against a lot of walls.