Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_battle_phase_2_controller_lowpoly_Step_0

(view raw script w/o annotations or w/e)
1
if ((!instance_exists(obj_flowey_battle_phase_2_lowpoly_leaf)) && flowey_vulnerable == 0)
2
{
3
    flowey_vulnerable = 1
4
    alarm[0] = 30
alarm[0]

flowey_vulnerable = 2
5
}
6
if (flowey_vulnerable == 2)
7
{
8
    if (draw_alpha_white < 1)
9
        draw_alpha_white += 0.2
10
    else
11
    {
12
        obj_flowey_battle_final.image_alpha = 0
13
        instance_create_depth(160, 0, -100, obj_flowey_battle_phase_2_lowpoly_vulnerable)
14
        flowey_vulnerable = 3
15
    }
16
}
17
if (flowey_vulnerable == 3)
18
{
19
    if (draw_alpha_white > 0)
20
        draw_alpha_white -= 0.1
21
    else
22
        flowey_vulnerable = 4
23
}