Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_board_grabbablegrass_Draw_0

(view raw script w/o annotations or w/e)
1
if (active)
2
{
3
    if (con == 0)
4
        image_index = abs(sin(siner / 15) * 3);
5
    if (!infinite)
6
    {
7
        if (con < 2)
8
            draw_self();
9
        if (con == 20)
10
            draw_self();
11
    }
12
    else
13
    {
14
        draw_self();
15
    }
16
}