Undertale script viewer

← back to main script listing

gml_Object_blt_thatch_Create_0

(view raw script w/o annotations or w/e)
1
action_set_relative(1);
2
sprite_index = global.bulletappearance;
3
mydirection = global.bulletvariable[6];
4
mydirectionalspeed = global.bulletvariable[7];
5
gravity = global.bulletvariable[3];
6
gravity_direction = global.bulletvariable[4];
7
friction = global.bulletvariable[5];
8
instance_create(x, y, blt_gen);
9
action_set_motion(mydirection, mydirectionalspeed);
10
if (sprite_index == spr_dirbullet)
11
    image_speed = 0;
12
action_set_relative(0);