if (sprite_index == spr_floweyrise) { sprite_index = flowey_left image_speed = 0 } if (sprite_index == spr_floweyleave) instance_destroy()