if (obj_mainchara.y > (y + 80))
{
path_speed = 0;
direction = 270;
image_speed = 0;
image_index = 0;
t = 0;
}