Deltarune (Chapter 1) 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
    x = obj_heart.x + 10;
4
    y = obj_heart.y + 10;
5
}
6
else
7
{
8
    instance_destroy();
9
}