Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_mike_combo_original_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
image_alpha = 1;
3
if (!instance_exists(obj_heart))
4
    instance_destroy();
5
wall_destroy = 0;
6
destroyonhit = 0;
7
active = false;
8
action = 0;
9
timer = 0;
10
scale = 0;
11
circle_scale = 0;
12
circle_speed = 0;
13
circle_alpha = 1;
14
rot_speed = 4;
15
rot_speed2 = rot_speed;
16
counter = 0;
17
cooldown = 0;
18
flash = true;
19
attack_timer = 30;
20
alpha = 1;
21
dot = 0.002;
22
hp_max = 15;
23
hp = hp_max;
24
fade = 0;