Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_chem_01_cutscene_Create_0

(view raw script w/o annotations or w/e)
1
scene = 0;
2
cutscene_timer = 0;
3
if (global.geno_complete[3])
4
{
5
    instance_create(x, y, obj_chem_01_cutscene_geno);
6
    instance_destroy();
7
    exit;
8
}
9
if (global.sworks_flag[26] >= 1)
10
    instance_destroy();
11
if (global.sworks_flag[26] >= 2)
12
{
13
    instance_destroy(105301);
14
    instance_destroy(105300);
15
    layer_set_visible("door_visible", false);
16
}