Deltarune (Chapter 3) script viewer

← back to main script listing

gml_GlobalScript_scr_bulletparent_count

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

function
scr_bulletparent_count()
{ var count = 0; with (obj_bulletparent) { if (object_index == obj_bulletparent) count++; } return count; }
()
2
{
3
    var count = 0;
4
    with (obj_bulletparent)
5
    {
6
        if (object_index == obj_bulletparent)
7
            count++;
8
    }
9
    return count;
10
}