Oh wow I see! You’re correct, it seems the Y axis functions entirely differently than the X axis. Looks like it’s ping ponging after going +90. That’s a feature I didn’t know of! I might have to show you a different solution in this case.
The other solution is to keep a variable like a rotation log in that whenever you increment the rotation you increment this variable by the same amount. This way it’s locked to your rotation, but it does mean that if you have to set the time manually you need to do it to both, so it’s recommended to use functions for that portion.