Undertale script viewer

← back to main script listing

gml_Object_blt_hoopbullet2_Create_0

(view raw script w/o annotations or w/e)
1
dmg = 0;
2
r = round(random(1));
3
b = round(random(1));
4
if (r == 0)
5
    hspeed = 1;
6
else
7
    hspeed = -1;
8
if (b == 1)
9
    vspeed = 1;
10
else
11
    vspeed = -1;
12
x += 5;
13
friction = -0.042;
14
intangible = 1;
15
image_alpha = 0;
16
if (instance_number(blt_hoopbullet2) > 5)
17
    instance_destroy();