Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_grazebox_Step_2

(view raw script w/o annotations or w/e)
1
if (instance_exists(obj_heart))
2
{
3
    sizexoff = 0;
4
    sizeyoff = 0;
5
    x = obj_heart.x + 10 + sizexoff;
6
    y = obj_heart.y + 10 + sizeyoff;
7
}
8
else
9
{
10
    instance_destroy();
11
}