Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_cutscene_steamworks_34_Create_0

(view raw script w/o annotations or w/e)
1
if (global.sworks_flag[29] == 2)
2
{
3
    var pellets = instance_create_depth(370, 124, 0, obj_steamworks_34_pellets)
4
    pellets.image_index = pellets.image_number - 1
5
}
6
if (global.sworks_flag[29] >= 2 || global.route == 2 || global.route == 3 || global.sworks_flag[31] > 0)
7
{
8
    instance_destroy()
9
    return;
10
}
11
scene = 0
12
cutscene_timer = 0