You just need to subtract the angle of the sprite from the angle you're already calculating. Since Angle() returns a value between -180 and 180 while the angle of a sprite is between 0 and 360, you'll need to adjust for this by adding 360 degrees to your calculated angle if it is less than -180 so that your final value is also between -180 and 180. Here's a one line solution(using the conditional operator):
Set ang to (angle(Sprite.X,Sprite.Y,hit.X,hit.Y) - Sprite.Angle) < -180 ? (angle(Sprite.X, Sprite.Y, hit.X, hit.Y) - Sprite.Angle + 360) : (angle(Sprite.X,Sprite.Y,hit.X,hit.Y) - Sprite.Angle)