Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_moveheart_Alarm_0

(view raw script w/o annotations or w/e)
1
x = distx;
2
y = disty;
3
if (!i_ex(obj_heart))
4
{
5
    heart = instance_create(x, y, obj_heart);
6
    heart.sprite_index = sprite_index;
7
    heart.mask_index = mask_index;
8
}
9
instance_destroy();