Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_steamworks_04_controller_geno_Create_0

(view raw script w/o annotations or w/e)
1
cutscene_timer = 0;
2
scene = 0;
3
if (global.sworks_flag[0] == 0)
4
{
5
}
6
if (global.sworks_flag[1] == 3)
7
{
8
    __background_set(e__BG.Index, 0, 2566);
9
    obj_pl.image_alpha = 0;
10
    scr_cutscene_start
scr_cutscene_start

function scr_cutscene_start() { global.cutscene = true; obj_pl.state = scr_frozen_state; obj_pl.image_index = 0; obj_pl.image_speed = 0; }
();
11
}
12
else if (global.sworks_flag[1] >= 4)
13
{
14
    __background_set(e__BG.Index, 0, 2566);
15
}
16
17
enum e__BG
18
{
19
    Visible,
20
    Foreground,
21
    Index,
22
    X,
23
    Y,
24
    Width,
25
    Height,
26
    HTiled,
27
    VTiled,
28
    XScale,
29
    YScale,
30
    HSpeed,
31
    VSpeed,
32
    Blend,
33
    Alpha
34
}