Undertale script viewer

← back to main script listing

gml_Object_obj_shootguy_Other_11

(view raw script w/o annotations or w/e)
1
i = gridl + 30;
2
while (i < gridr)
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(1);
11
        }
12
        j += 20;
13
    }
14
    i += 20;
15
}