Undertale script viewer

← back to main script listing

gml_Object_obj_strangeman_head_Create_0

(view raw script w/o annotations or w/e)
1
image_speed = 0.5;
2
direction = point_direction(x, y, obj_heart.x, obj_heart.y);
3
direction += (random(50) - random(50));
4
if (direction < 165)
5
    direction += (170 - direction);
6
if (direction > 270)
7
    direction -= (direction - 270);
8
speed = 2 + random(0.5);
9
image_xscale = 2;
10
image_yscale = 2;
11
siner = random(360);
12
sf = 1 + random(1);
13
sf2 = 1 + random(1);
14
s = 3 + random(1);
15
siner2 = random(360);
16
siner2v = 0.5 + random(1.5);
17
hmem = hspeed;
18
counter = 0;
19
dmg = 9;