Whats the price difference between the two?
Seeing what you want to use them for, if the I7/765m is much cheaper I would just go with that. I have that combo and am able to play games like Bf4 on High (on 1080p) without problems and the temps dont hit above 63C for the GPU (I wish I could say the same thing about the i7, as it tends to heat up way to much hence why I have it underclocked to keep temps down, which has helped very much, of course your particular model might have better cooling for i7).
When it first was released the 765 was getting some bad fps in games but I heard that new drivers would fix this problem, it seems they were right (also due to low temps you can overclock 765M, though I dont recommend that unless you know exactly what you are doing)
Though as others have said the GTX 770M is a pretty big jump over a 765M, so its really a question of what kind of performance you want since either can play the games you want to. And if you want best of both worlds (great GPU and CPU) then just upgrade from i5 4200M to an i7 4700MQ on the laptop with 770M