if (player.x > enemy.x){ image_xscale = -1} else { image_xscale = 1}
image_xscale = sign(sign(enemy.x-player.x)+0.1)