Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_sneo_bigshot_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
element = 6;
3
destroyonhit = 0;
4
f = 2;
5
destroyable = 1;
6
angle_speed = 0;
7
destroypoints = 1;
8
attackisdone = 0;
9
damage = 50;
10
image_xscale = 1;
11
image_yscale = 2;
12
timer = 0;
13
playerhit = 0;
14
flashsiner = 0;
15
depth = obj_heart.depth - 5;
16
explosion_alpha = 1;
17
explosion_hide = 0;
18
xx = x;
19
yy = y;
20
grazepoints = 4;
21
timer2 = 0;
22
explodesfx = 0;
23
if (instance_exists(obj_spamton_neo_enemy))
24
    damage = floor((global.monsterat[obj_spamton_neo_enemy.myself] * 5) / 3);
25
if (instance_exists(obj_sneo_bulletcontroller))
26
    target = obj_sneo_bulletcontroller.target;