Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_sneo_wallbullet_old_Other_10

(view raw script w/o annotations or w/e)
1
if (destroyable == 1)
2
{
3
    if (hitshot.big == 0)
4
    {
5
        with (hitshot)
6
            event_user(0);
7
    }
8
    anim = instance_create(x, y, obj_yshot_anim);
9
    anim.image_xscale = image_xscale;
10
    anim.image_yscale = image_yscale;
11
    with (anim)
12
        sprite_index = spr_yheart_shot_hit3;
13
    instance_destroy();
14
}