Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_steamworks_35_cutscene_neutral_Create_0

(view raw script w/o annotations or w/e)
1
scene = 0;
2
cutscene_timer = 0;
3
cutscene_music = 0;
4
if (global.route != 1 || global.sworks_flag[58] == 1 || global.geno_complete[3])
5
{
6
    instance_destroy();
7
    exit;
8
}
9
if (global.sworks_flag[31] >= 3)
10
{
11
    obj_axis_npc.action_sprite = true;
12
    obj_axis_npc.sprite_index = spr_axis_down_dead_regular;
13
    obj_axis_npc.image_speed = false;
14
    instance_destroy();
15
    exit;
16
}
17
if (global.sworks_flag[31] == 1)
18
{
19
    obj_steamworks_35_trashcan.image_index = 1;
20
    scene = 28;
21
}
22
if (global.sworks_flag[31] == 2)
23
{
24
    instance_destroy();
25
    instance_destroy(obj_axis_npc);
26
    obj_steamworks_35_trashcan.image_index = 1;
27
    exit;
28
}
29
actor_axis = 1166;