Undertale script viewer

← back to main script listing

gml_Object_obj_spinbulletgen_friendscene_Create_0

(view raw script w/o annotations or w/e)
1
alarm[1] = 1;
gml_Object_obj_spinbulletgen_friendscene_Alarm_1.gml

ang = i * 18; xx = lengthdir_x(radius, ang); yy = lengthdir_y(radius, ang); instance_create(xx + x, yy + y, obj_spinbullet_friendscene); snd_play(snd_chug); i += 1; if (i < 20) { alarm[1] = 1; if (spec == 2) alarm[1] = 2; }
2
targety = y;
3
targetx = x;
4
radius = 80;
5
ang = 0;
6
i = 0;
7
spec = 0;
8
created = 0;
9
if (spec == 2)
10
    radius = 130;
11
amt = 0;