Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_mike_statue_Step_0

(view raw script w/o annotations or w/e)
1
if (act == 1)
2
{
3
    x = xstart + irandom_range(-1, 1);
4
    y = ystart + irandom_range(-1, 1);
5
    timer += 1;
6
    if (timer > 10)
7
    {
8
        act = 0;
9
        timer = 0;
10
        x = xstart;
11
        y = ystart;
12
    }
13
}