Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_blue_singing2_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
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
3
grazepoints = 5;
4
depth = obj_growtangle.depth - 1;
5
with (obj_blue_enemy)
6
    visible = false;
7
image = instance_create(x, y, obj_marker);
8
with (image)
9
{
10
    sprite_index = other.sprite_index;
11
    image_speed = 0;
12
    image_index = 3.99;
13
    depth = obj_blue_enemy.depth;
14
    
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
15
}
16
image_speed = 0;
17
image_index = 3.99;
18
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("image_index", 3.99, 0, 16);
19
timer = 0;
20
counter = 0;
21
amp = 0;
22
multiplier = 12;
23
yanchor = y;
24
bullet_list_top = ds_list_create();
25
bullet_list_mid = ds_list_create();
26
bullet_list_bot = ds_list_create();
27
mode = 2;
28
ending = false;
29
instance_create_depth(x, y, obj_growtangle.depth - 3, obj_yellow_reticle_drawer);