GG Pocket! One of the better ones I've had, and that Flinch so saved you, although you might have gotten a high roll or something the next turn...
252+ SpA Darkrai Dark Pulse vs. 0 HP / 0 SpD Raikou: 148-175 (46.1 - 54.51%) -- 6.64% chance to 2HKO
So you had a 6.64 chance to win regardless of Flinches :D