Make repel an item that prevents pokemon from fainting you or makes them stay away from you for maybe 10-20 minutes, could be bought in item shop.