Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_steamworks_04_controller_neutral_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
    scr_cutscene_start
scr_cutscene_start

function scr_cutscene_start() //gml_Script_scr_cutscene_start { global.cutscene = true obj_pl.state = gml_Script_scr_frozen_state obj_pl.image_index = 0 obj_pl.image_speed = 0 }
()
6
    actor_clover = instance_create(obj_pl.x, obj_pl.y, obj_player_npc)
7
    actor_clover.npc_direction = "up"
8
}
9
if (global.sworks_flag[1] == 3)
10
{
11
    __background_set((2 << 0), 0, 0x000A06)
12
    obj_pl.image_alpha = 0
13
    scr_cutscene_start
scr_cutscene_start

function scr_cutscene_start() //gml_Script_scr_cutscene_start { global.cutscene = true obj_pl.state = gml_Script_scr_frozen_state obj_pl.image_index = 0 obj_pl.image_speed = 0 }
()
14
}
15
else if (global.sworks_flag[1] >= 4)
16
    __background_set((2 << 0), 0, 0x000A06)