Undertale script viewer

← back to main script listing

gml_Object_obj_shootguy_Other_10

(view raw script w/o annotations or w/e)
1
i = gridr - 30;
2
while (i > gridl)
3
{
4
    j = gridu + 10;
5
    while (j < gridd)
6
    {
7
        if (collision_point(i, j, obj_blackbox_o, 0, 1))
8
        {
9
            with (collision_point(i, j, obj_blackbox_o, 0, 1))
10
                event_user(0);
11
        }
12
        j += 20;
13
    }
14
    i -= 20;
15
}