Y axis homes in correct direction, but moves in wrong direction

On my printer, all other axis/motors are performing correctly, it is just the Y axis.
In the configuration, it is set to be a Min Endstop (M574 Y1 S1), and the motor needed to be reversed (M569 P1 S0). This cause the homing to work perfectly - it homes to the same location (front left).

However, and this is where it gets strange, when I use any of the jog commands, the movement is completely inverted: I can't command it to move a negative amount (since it just homed), but commanding it to move a positive amount (away from the endstop), causes it to simply ram the head further into the endstop. After having rammed it into the endstop (skipping steps), I am able to command negative values, and it then moves away from the endstop.

I found it: while looking through the code to paste, I checked the homey.g file, and noticed that for some reason, when moving in the Y direction, it is not negative the maximum. So it was like Kezat said, it homed backwards and was inverted.

Undoing the invert fixed the issue.

Thank you for the help.
When starting this thread I knew it was something small and simple that just did not want to work, but it is getting late here.