Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_steamworks_05d_lever_Create_0

(view raw script w/o annotations or w/e)
1
depth = -y;
2
image_speed = 0;
3
cutscene_timer = 0;
4
scene = 0;
5
if (global.sworks_flag[1] >= 4)
6
{
7
    image_index = 12;
8
    if (global.route == 3 && global.sworks_flag[1] == 4)
9
    {
10
        global.cutscene = true;
11
        scene = 17;
12
        obj_pl.x = 663;
13
        obj_pl.y = 169;
14
    }
15
    exit;
16
}
17
var tile = tile_get_ids_at_depth(1000006);
18
for (var i = 0; i < array_length_1d(tile); i++)
19
    tile_set_alpha(tile[i], 0);
20
tile_alpha = 0;