Absurdly close, you deserved the win as much if not more than I did. Thankfully I knew Victreebel has access to Sucker Punch.
Skuntank's bulkiness saved the day. This is why 252 atk/252 speed is a waste.
Great battle, you probably would have won outright if you had another pokemon exploiting the sun.