Undertale script viewer

← back to main script listing

gml_Object_blt_gravbullet_Create_0

(view raw script w/o annotations or w/e)
1
if (instance_exists(obj_parsnik))
2
    sprite_index = spr_carrotbullet_snake;
3
dmg = 0;
4
image_speed = 0;
5
image_index = round(random(5));
6
y -= 8;
7
vspeed = -0.5;
8
gravity = 0.25;
9
gravity_direction = 270;
10
if (x < (global.idealborder[0] + 15))
11
    x += 15;
12
green = 0;