Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_rhythmgame_effects_Create_0

(view raw script w/o annotations or w/e)
1
init = false;
2
image_xscale = 2;
3
image_yscale = 2;
4
con = 0;
5
concon = -1;
6
spotlight_solo = [];
7
for (var i = 0; i < 3; i++)
8
{
9
    spotlight_solo[i] = instance_create(36 + (i * 190), 120, obj_rhythmgame_spotlight_solo);
10
    spotlight_solo[i].depth = obj_rhythmgame.depth - 10;
11
}
12
13
spotlight_active = function(arg0, arg1)
14
{
15
    spotlight_solo[arg0].con = arg1;
16
};