Undertale script viewer

← back to main script listing

gml_Object_blt_soapbul_Create_0

(view raw script w/o annotations or w/e)
1
angle = 0;
2
angleadd = 0;
3
dmg = 0;
4
image_speed = 0;
5
direction = random(180);
6
if (direction < 10)
7
    direction += 20;
8
if (abs(direction - 90) < 10)
9
    direction += 30;
10
if (abs(direction - 180) < 10)
11
    direction -= 20;
12
speed = 4;
13
if (abs(hspeed) < 0.2)
14
    hspeed *= 3;
15
if (abs(vspeed) < 0.2)
16
    vspeed *= 3;
17
friction = -0.04;
18
blue = 0;
19
alarm[0] = 4;
gml_Object_blt_soapbul_Alarm_0.gml

my = instance_create(x + 12, y + 16, blt_shinebullet); my.dmg = dmg - 2; alarm[0] = 7; if (offset == 1) { speed = 5; alarm[0] = 10; }
20
offset = 0;