Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_cutscene_steamworks_12_pacifist_Create_0

(view raw script w/o annotations or w/e)
1
if (global.sworks_flag[3] > 0)
2
{
3
    tile_layer_hide(-1000)
4
    instance_destroy()
5
    return;
6
}
7
if (global.route == 1)
8
{
9
    instance_create(x, y, obj_cutscene_steamworks_12_neutral)
10
    instance_destroy()
11
    return;
12
}
13
if (global.route == 3)
14
{
15
    instance_create(x, y, obj_cutscene_steamworks_12_geno)
16
    instance_destroy()
17
    return;
18
}
19
scene = 0
20
cutscene_timer = 0
21
cutscene_music = 0