action get_dis_house()
{
draw_begin();
house = my;
snowman = you;
my.ambient = 100;
while (1)
{
distance = vec_dist(house.x,snowman.x);
str_for_num(dis,distance);
if(distance == 0)
{
draw_text("you got a problem",20,20,vector(255,255,0));
}
else
{
draw_text(dis,20,20,vector(255,255,0));
}
if(distance >100)
{sys_exit ("Thank you for playing");}
wait (1);
}
}