Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_thrash_laserbullet_long_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
tailx = x;
3
taily = y;
4
targetx = x;
5
targety = y;
6
init = 0;
7
attackdirection = 0;
8
laserwidth = 10;
9
finalpoint = 3;
10
nextpoint = 1;
11
lasertimer = 0;
12
active = 0;
13
image_xscale = 50;
14
image_yscale = 0.8;
15
destroyonhit = 0;
16
laserspeed = 30;