Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_steamworks_13_controller_Create_0

(view raw script w/o annotations or w/e)
1
if (global.sworks_flag[3] == 2)
2
{
3
    instance_destroy()
4
    return;
5
}
6
if (global.route == 1)
7
{
8
    instance_create(x, y, obj_steamworks_13_controller_neutral)
9
    instance_destroy()
10
    return;
11
}
12
scene = 0
13
cutscene_timer = 0
14
instance_create(85, 150, obj_ceroba_npc)
15
obj_ceroba_npc.npc_direction = "down"
16
robot_part_current = 0
17
robot_part[0] = 0
18
robot_part[1] = 0
19
robot_part[2] = 0
20
robot_part[3] = 0
21
robot_part_no_loop = false
22
robot_part_xx[0] = 88
23
robot_part_yy[0] = 160
24
robot_part_xx[1] = 128
25
robot_part_yy[1] = 160
26
robot_part_xx[2] = 88
27
robot_part_yy[2] = 190
28
robot_part_xx[3] = 128
29
robot_part_yy[3] = 190
30
if (global.sworks_flag[3] == 1)
31
{
32
    obj_ceroba_npc.x = 105
33
    obj_ceroba_npc.y = 125
34
    scene = 4
35
    return;
36
}
37
obj_pl.x = 135
38
obj_pl.y = 150
39
obj_pl.image_alpha = 1
40
obj_pl.image_angle = 0
41
obj_pl.direction = 180
42
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 }
()
43
instance_destroy(global.party_member)
44
global.party_member = -4