Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_steamworks_23_controller_Create_0

(view raw script w/o annotations or w/e)
1
if (global.sworks_flag[15] == 1 || global.route != 2)
2
{
3
    instance_destroy()
4
    return;
5
}
6
scene = 0
7
cutscene_timer = 0
8
cutscene_music = 0
9
picture_alpha = 0
10
if (global.sworks_flag[14] == 1)
11
{
12
    instance_create(408, 160, obj_ceroba_npc)
13
    obj_ceroba_npc.npc_direction = "down"
14
    scene = 27
15
}
16
depth = (-room_height) - 1