etaprime
When you use mirrored, it changes the angle of the sprite, so it changes the LOS too. In your example, if you remove 'set Mirrored" and add a event "simulate pressing Left", it works.
I made this, I hope is what you need:
dl.dropboxusercontent.com/u/245537981/follow-example.capx
It basically does this:
If the X position of badGuy is less then the player X, then the player is in the front of the badGuy. So, "not mirrored". If it is greater, then the player is at the back of badGuy, then I "mirrored" the image.
Then I check if badGuy as a line of sight of the player. If yes, then I make another check to see if badGuy's X is less than or greater than player's X, and move accordingly.
I hope this helps.