if (image_alpha < 1 && can_move == false) { image_alpha += 0.1 if (image_alpha > 1) image_alpha = 1 if (image_alpha == 1) can_move = true } if (can_move == true) { animation_disjoint_y += y_speed y = round(starting_position_y + animation_disjoint_y) game_maker_cannot_do_math = power((time_elapsed_angle / (time_max_angle / 2 * (1 / sqrt(max_rise_angle))) - sqrt(max_rise_angle)), 2) animation_disjoint_angle = sign_modifier_angle * (max_rise_angle - round(game_maker_cannot_do_math)) time_elapsed_angle += time_increase_angle if (time_elapsed_angle >= time_max_angle) { time_elapsed_angle = 0 sign_modifier_angle = (-sign_modifier_angle) } image_angle = animation_disjoint_angle } if (place_meeting(x, y, obj_dialogue_box_battle_transformation_any) && in_box == false) in_box = true if ((!(place_meeting(x, y, obj_dialogue_box_battle_transformation_any))) && in_box == true) { if (image_alpha > 0) { image_alpha -= 0.1 if (image_alpha < 0) image_alpha = 0 if (image_alpha == 0) instance_destroy() } }