Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_battle_phase_2_gray_pellet_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if (fade_out == false)
4
{
5
    if (image_alpha < 1)
6
        image_alpha += 0.2
7
}
8
else if (image_alpha > 0)
9
    image_alpha -= 0.1
10
else
11
    instance_destroy()
12
image_angle = direction
13
if (point_distance(x, y, 320, 240) > 900)
14
    instance_destroy()