Undertale script viewer

← back to main script listing

gml_Object_obj_endflowey_Draw_0

(view raw script w/o annotations or w/e)
1
if (flowey == 1)
2
{
3
    draw_sprite_ext(spr_flowey_riseanim2, fimg, 140, 140, 1, 1, 0, c_white, 1);
4
    if (fimg < 8)
5
        fimg += 0.5;
6
    else
7
        flowey = 2;
8
}
9
if (flowey == 2)
10
{
11
    draw_sprite_ext(spr_flowey_riseanim2, fimg, 140, 140, 1, 1, 0, c_white, 1);
12
    if (facetype == 0)
13
        draw_sprite_ext(spr_floweyface_l, global.faceemotion, 140, 140, 1, 1, 0, c_white, 1);
14
    if (facetype == 1)
15
        draw_sprite_ext(spr_floweyface_l2, global.faceemotion, 140, 140, 1, 1, 0, c_white, 1);
16
}
17
if (flowey == 3)
18
{
19
    draw_sprite_ext(spr_flowey_riseanim, fimg, 140, 140, 1, 1, 0, c_white, 1);
20
    if (fimg > 0)
21
        fimg -= 0.5;
22
    else
23
        flowey = 4;
24
}