Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_steamworks_22_controller_neutral_Create_0

(view raw script w/o annotations or w/e)
1
scene = 0;
2
cutscene_timer = 0;
3
cutscene_music = -4;
4
if (global.sworks_flag[13] == 1)
5
{
6
    layer_set_visible("asset_glass_panel", false);
7
    instance_create_depth(obj_pl.x, 90, layer_get_depth("tiles_outside") - 50, obj_steamworks_22_axis_throwing);
8
    instance_create(obj_pl.x, obj_pl.y, obj_camera);
9
    cutscene_music = 627;
10
    scene = 13;
11
}
12
else if (global.sworks_flag[13] == 2)
13
{
14
    layer_set_visible("asset_glass_panel", false);
15
    layer_set_visible("rubble", false);
16
    instance_destroy();
17
    exit;
18
}
19
depth = -100;