each trainer has one Pokemon .Pokemon A uses flare blitz on B. B dies but A dies by recoil. who wins.
Whoever got hit by flare blitz loses. The recoil damage doesn't get taken into account if the opponent is out of Pokemon. If you have more Pokemon left, they both die.
The sprite/pokemon that dies first is the loser but neither get exp points unless there was an experience share or a switchout