Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_steamworks_07_controller_old_Create_0

(view raw script w/o annotations or w/e)
1
scene = 0
2
cutscene_timer = 0
3
steam_audio_noloop = false
4
if (global.route == 1 || global.route == 3)
5
{
6
    instance_create(0, 0, obj_steamworks_07_controller_neutral)
7
    instance_destroy()
8
    return;
9
}
10
if (global.sworks_flag[8] == 1)
11
{
12
    instance_create(780, 120, obj_ceroba_npc)
13
    scene = 7
14
    return;
15
}
16
if (global.sworks_flag[8] == 2)
17
{
18
    with (obj_steamworks_steam_blaster)
19
        instance_destroy()
20
    instance_destroy()
21
}