Undertale script viewer

← back to main script listing

gml_Object_obj_wizardorb_chaser_Collision_367

(view raw script w/o annotations or w/e)
1
if (col < 0)
2
{
3
    x -= random(2);
4
    other.x += random(2);
5
    y -= random(2);
6
    other.y += random(2);
7
    hspeed = -hspeed;
8
    other.hspeed = -other.hspeed;
9
    vspeed = -vspeed;
10
    other.vspeed = -other.vspeed;
11
    col = 3;
12
    other.col = 3;
13
}