for some reason the code doesnt create by random, it is always the same
//step
if (Slime_blue.x == x && Slime_blue.y == y)
{
if(place_empty(x + 32,y)== true)
{
instance_create_layer(x + 32,y,"Tile_layer",scr_grass())
}
if(place_empty(x - 32,y)== true)...