Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_rouxls_helicopter_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
destroyonhit = 0;
3
grazepoints = 3;
4
timer = 5 + irandom(10);
5
con = 0;
6
ammo = 4;
7
fade = 0;
8
speed = 4;
9
direction = 180;
10
if (i_ex(obj_heart))
11
    depth = obj_heart.depth - 1;