Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_halo_bat_ring_bullet_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
grazepoints = 4;
3
spin = 0;
4
spinspeed = 0;
5
image_alpha = 1;
6
if (!instance_exists(obj_heart))
7
    instance_destroy();
8
wall_destroy = 1;
9
bottomfade = 0;
10
x1 = x;
11
y1 = y;
12
x2 = x;
13
y2 = y;
14
x3 = x;
15
y3 = y;
16
x4 = x;
17
y4 = y;