Deltarune (Chapter 4) script viewer

← back to main script listing

gml_GlobalScript_scr_coathanger_fadeout

(view raw script w/o annotations or w/e)
1
function 
scr_coathanger_fadeout
scr_coathanger_fadeout

function
scr_coathanger_fadeout()
{ if (i_ex(id)) { with (obj_regularbullet) { if (point_distance(x, y, other.x, other.y) < 1 && sprite_index == spr_bullet_coathanger && id != other.id) instance_destroy(); } } }
()
2
{
3
    if (i_ex(id))
4
    {
5
        with (obj_regularbullet)
6
        {
7
            if (point_distance(x, y, other.x, other.y) < 1 && sprite_index == spr_bullet_coathanger && id != other.id)
8
                instance_destroy();
9
        }
10
    }
11
}