Undertale script viewer

← back to main script listing

gml_Object_obj_endflowey_regret_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
    draw_sprite_ext(spr_floweyface_l, global.faceemotion, 140, 140, 1, 1, 0, c_white, 1);
13
}
14
if (flowey == 3)
15
{
16
    draw_sprite_ext(spr_flowey_riseanim, fimg, 140, 140, 1, 1, 0, c_white, 1);
17
    if (fimg > 0)
18
        fimg -= 0.5;
19
    else
20
        flowey = 4;
21
}