fixed fainted pokemon bug