Flip a character based on the angle of another object?

(I’m making a game, I took inspiration from the one listed below.) I can’t get the player to turn either left or right when the staff is pointing in said direction. I’ve tried conditions like if the angle of staff is (Insert angle here,) but it won’t work.

What do I put as a condition?

I’ve done this (which should work,) but doesn’t!

Angles are from -180 to 180

. . . . . -90
-180 . . . . . . 0
. . . . . .90

Oh, I’ll try that, I didn’t know the angles were like that. (I didn’t think a negative angle would be a thing.)