Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_chem_05_cutscene_geno_Create_0

(view raw script w/o annotations or w/e)
1
scene = 0
2
cutscene_timer = 0
3
with (obj_chem_05_door)
4
    event_perform(ev_create, 0)
5
if (global.sworks_flag[25] >= true)
6
{
7
    instance_destroy()
8
    return;
9
}
10
if (global.sworks_flag[25] == 0)
11
{
12
    audio_play_sound(snd_elevator_door_shut, 1, 0)
13
    global.sworks_flag[25] = 0.5
14
}