Undertale script viewer

← back to main script listing

gml_Object_blt_laser_Create_0

(view raw script w/o annotations or w/e)
1
action_set_relative(1);
2
mydirection = global.bulletvariable[0];
3
mydirectionalspeed = global.bulletvariable[1];
4
twdsX = global.bulletvariable[2];
5
twdsY = global.bulletvariable[3];
6
owngravity = global.bulletvariable[4];
7
owngravity_direction = global.bulletvariable[5];
8
friction = global.bulletvariable[6];
9
twdsXspeed = global.bulletvariable[7];
10
twdsYspeed = global.bulletvariable[8];
11
gravityincrement = 0;
12
action_set_motion(mydirection, mydirectionalspeed);
13
if (sprite_index == spr_dirbullet)
14
    image_speed = 0;
15
action_set_relative(0);