Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_musical_ring_bullet_multiple_Create_0

(view raw script w/o annotations or w/e)
1
scr_bullet_init
scr_bullet_init

function
scr_bullet_init()
{ grazed = 0; grazetimer = 0; destroyonhit = 1; target = 0; inv = 60; damage = 10; element = 0; grazepoints = 1; timepoints = 1; active = 1; updateimageangle = 0; }
();
2
timer = 0;
3
con = 0;
4
times = 1;
5
maxtimes = 1;
6
bullettimer = 0;
7
bullettimermax = 3;
8
circle1alpha = 0;
9
circle1radius = 31;
10
circle1width = 2;
11
circle1color = c_aqua;
12
circle2alpha = 0;
13
circle2radius = 51;
14
circle2width = 4;
15
angleoffset = 0;
16
bullettype = 0;
17
depth = obj_heart.depth + 1;
18
alarm[0]
 = 1;
gml_Object_obj_musical_ring_bullet_multiple_Alarm_0.gml

maxtimes = times;
19
heartdir = point_direction(x, y, obj_heart.x, obj_heart.y);