Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_chem_01_cutscene_geno_Create_0

(view raw script w/o annotations or w/e)
1
scene = 0
2
cutscene_timer = 0
3
if (global.sworks_flag[26] >= 2)
4
{
5
    instance_destroy(105301)
6
    instance_destroy(105300)
7
    layer_set_visible("door_visible", false)
8
    instance_destroy()
9
    return;
10
}
11
instance_create_depth(120, 140, 0, obj_axis_npc)
12
obj_axis_npc.npc_direction = "up"