Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_sneo_lilguy_Alarm_1

(view raw script w/o annotations or w/e)
1
if (instance_exists(obj_heart))
2
{
3
    bullet = instance_create(x, y + 12, obj_sneo_lilguy_bullet);
4
    bullet.bulletspeed = bulletspeed;
5
    bullet.depth = depth - 1;
6
    with (bullet)
7
        move_towards_point(obj_heart.x + 8, obj_heart.y + 8, bulletspeed);
8
}
9
image_index = 2;
10
image_speed = 1;