timer++; if ((timer % 3) == 0 || instance_number(obj_blue_guideline) < 4) { var last_line = ds_list_find_value(line_list, ds_list_size(line_list) - 1); var last_dir = last_line.image_angle; var new_dir = 0; if (point_distance(last_line.x, last_line.y, obj_heart.x, obj_heart.y) > 20) new_dir = last_line.image_angle + scr_ease_towards_direction(last_line.image_angle, point_direction(last_line.x + lengthdir_x(8, last_dir), last_line.y + lengthdir_y(8, last_dir), obj_heart.x, obj_heart.y), 35, 0.5); else new_dir = last_line.image_angle + scr_ease_towards_direction(last_line.image_angle, point_direction(last_line.x + lengthdir_x(8, last_dir), last_line.y + lengthdir_y(8, last_dir), obj_heart.x, obj_heart.y), 15, 0.25); counter++; with (scr_fire_bullet(last_line.x + lengthdir_x(8, last_dir) + lengthdir_x(10, new_dir), last_line.y + lengthdir_y(8, last_dir) + lengthdir_y(10, new_dir), obj_blue_guideline, 0, 0, -4, 0, true)) { depth += (other.depth + 1.1); image_angle = new_dir; ds_list_add(other.line_list, id); if ((other.counter % (12 - (other.difficulty * 3))) == 0) { sprite_index = spr_enemy_blue_flower_reticle; depth -= 0.1; image_xscale = 2; image_yscale = 2; xscale_goal = 1.5; yscale_goal = 1.5; } } } if (timer == 32) { with (scr_fire_bullet(camerax() + 438, cameray() + 181, obj_yellow_guided_bullet, 0, 0, -4, 0, true)) { with (obj_blue_guidelines) { other.speed = 4.5; other.direction = point_direction(other.x, other.y, ds_list_find_value(line_list, 0).x, ds_list_find_value(line_list, 0).y); other.image_angle = other.direction; } } }