Out looking at a new car for my gf yesterday and my car g̶o̶t̶ ̶j̶e̶a̶l̶o̶u̶s̶ experienced a total loss of power to the wheels, out of nowhere it just gave out. the VVT was being a little jumpy when cruising for the past few weeks but this was a sudden thing. car actually gave out right before going up a hill (where road was still flat) and rolled partway up and i had to stop off to the side. rolled the car back down the hill and as soon as the car hit ~10km/h i forced the automatic transmission down into low and it caught and i was able to take off and go into second and third, but as soon as i had to slow down to below 10 it stalled out and had no power again. Worth mentioning no CEL came on and I do have a bluetooth OBD reader so I can check anything if need be.
Car is currently sitting at my friends house and I have no idea what to do.

I will be renting a car trailer tomorrow and bringing the car home to try and fix. Will be changing the transmission fluid right away and doing the oil while i am there since it is about due anyways. Really hoping this is just some strange sensor issue and I can replace a sensor rather than having to replace a transmission.
Also bought an '88 Camaro yesterday after this fiasco so the yaris will be our main car and my gf's daily driver and I will have the camaro. (learning to drive stick on an old car is a pain)
Thanks in advance for any help / insight you guys are able to provide