Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_lancerchase2_Create_0

(view raw script w/o annotations or w/e)
1
con = 0;
2
if (room == room_forest_chase1 || room == room_forest_chase2)
3
{
4
    tilearray = tile_get_ids_at_depth(99999);
5
    for (var i = 0; i < array_length_1d(tilearray); i++)
6
        tile_set_alpha(tilearray[i], 0);
7
}
8
if (room == room_forest_chase1)
9
    con = 1;
10
if (room == room_forest_chase2)
11
    con = 20;
12
if (global.plot >= 150)
13
{
14
    con = 999;
15
    instance_destroy();
16
}
17
dmax = 20;
18
siner = 0;