Puzzling. Im not familiar enough with the 790 to be much more help so I'll defer to others....
However....if you can.....see if the loader valve is labeled. Not concerned with the 4 going to the loader quick connects.
The other three however......need to understand their relationship a little better and how its connected to the pump, rockshaft housing, and sump.
One should be labeled P which would be where the loader valve is receiving its hydraulic fluid from.
On should be power beyond. Sometimes labeled (in the casting) as Y, PB, or BYD.....
And the final one should be the return....labeled T or R.
The PB and T should be close in proximity and the P on the opposite side of the valve.
Under normal operation fluid comes into the P port. IF you are using the loader......the fluid expelled from moving the loader will exit via the T port. IF you are NOT using the valve it will enter at the same P port but exit the PB port to feed other functions down stream.
See how its labeled. You mentioned that the pump goes straight to the rockshaft. Then two connections from rockshaft to loader valve and one going to sump.
On the surface that doesnt sound right because having a PB on the loader is only a requirement IF it is feeding something down stream. So at this time I am unsure whether your loader or 3PH is fed first.
Also...being unfamiliar and given that the 790 is an older machine......some older machines had a lever or diverter that you had to switch between what you wanted to use. IE.....turn knob or lever to use FEL.....but that disables 3PH. Turn other way and enables 3PH but disables loader. Not sure if the 790 has something similar