Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_pipis_egg_bullet_piece_Create_0

(view raw script w/o annotations or w/e)
1
timer = 0;
2
con = 0;
3
grav = 0;
4
image_angle = random(360);
5
direction = random(360);
6
speed = 3 + random(7);
7
image_alpha = 2.9;
8
if (instance_exists(obj_heart))
9
    depth = obj_heart.depth - 100;
10
else
11
    instance_destroy();