Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_steamworks_18b_controller_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 == 3)
5
{
6
    with (obj_steamworks_mo_stand)
7
        instance_destroy()
8
    with (obj_steamworks_mo_stand_sign)
9
        instance_destroy()
10
    instance_create(0, 0, obj_steamworks_18b_controller_geno)
11
    instance_destroy()
12
    return;
13
}
14
if (global.sworks_flag[10] == 1)
15
{
16
    with (obj_steamworks_mo)
17
    {
18
        x = 210
19
        y = 135
20
        up_sprite = 1381
21
        right_sprite = 1371
22
        down_sprite = 1369
23
        left_sprite = 1370
24
        up_sprite_idle = 1381
25
        right_sprite_idle = 1371
26
        down_sprite_idle = 1369
27
        left_sprite_idle = 1370
28
        action_sprite = false
29
    }
30
    with (obj_steamworks_mo_stand)
31
    {
32
        x = 210
33
        image_index = image_number - 1
34
    }
35
    with (obj_steamworks_mo_stand_sign)
36
    {
37
        x = obj_steamworks_mo_stand.x - 15
38
        y = obj_steamworks_mo_stand.y + 25
39
        image_index = image_number - 1
40
    }
41
    scene = 48
42
}
43
if (global.sworks_flag[10] == 2)
44
{
45
    with (obj_steamworks_mo)
46
        instance_destroy()
47
    with (obj_steamworks_mo_stand)
48
    {
49
        x = 210
50
        image_index = image_number - 1
51
    }
52
    with (obj_steamworks_mo_stand_sign)
53
    {
54
        x = obj_steamworks_mo_stand.x - 15
55
        y = obj_steamworks_mo_stand.y + 25
56
        image_index = image_number - 1
57
        depth = 10000
58
    }
59
    instance_destroy()
60
}