Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_tracking_sword2_Create_0

(view raw script w/o annotations or w/e)
1
timer = 0;
2
con = 0;
3
variant = 0;
4
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; }
();
5
damage = 1;
6
destroyonhit = 0;
7
grazepoints = 1;
8
active = 0;
9
image_speed = 0;
10
image_index = 1;
11
image_angle = irandom(360);
12
direction = image_angle;
13
gravity_direction = image_angle;
14
image_xscale = 1;
15
image_yscale = 1;
16
image_alpha = 0.5;
17
sprite_index = spr_ball_small_pixel_hitbox;