Deltarune (Chapter 4) 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
    if (i_ex(obj_jackenstein_enemy))
7
        sprite_index = spr_dodgeheart_small;
8
}
9
instance_destroy();