Use the following trick at a save point to restore your Pokemon to full health. Put the fainted Pokemon in, then take it out again.