Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_steamworks_35_cutscene_geno_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.geno_complete[3] == false)
5
{
6
    instance_destroy()
7
    return;
8
}
9
else if (global.geno_complete[4] == false)
10
    obj_axis_npc.action_sprite = false
11
obj_axis_npc.left_sprite = 3415
12
obj_axis_npc.left_sprite_idle = 3415
13
obj_axis_npc.right_sprite = 383
14
obj_axis_npc.down_sprite_idle = 2749
15
obj_axis_npc.up_sprite = 2592
16
if (global.sworks_flag[31] == 1)
17
{
18
    instance_create(0, 0, obj_steamworks_35_cutscene_geno_outro_alt)
19
    instance_destroy()
20
    return;
21
}
22
else if (global.sworks_flag[31] == 2)
23
{
24
    instance_destroy(obj_axis_npc)
25
    instance_destroy()
26
    return;
27
}
28
else if (global.sworks_flag[31] >= 3)
29
{
30
    if (global.route == 3)
31
    {
32
        obj_axis_npc.action_sprite = true
33
        obj_axis_npc.sprite_index = spr_axis_down_dead
34
        obj_axis_npc.image_speed = false
35
        instance_create(0, 0, obj_steamworks_35_cutscene_geno_outro)
36
    }
37
    else
38
    {
39
        obj_axis_npc.action_sprite = true
40
        obj_axis_npc.sprite_index = spr_axis_down_dead_regular
41
        obj_axis_npc.image_speed = false
42
    }
43
    instance_destroy()
44
    return;
45
}