Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_robot_build_controller_Create_0

(view raw script w/o annotations or w/e)
1
global.cutscene = true
2
draw_alpha = 0
3
robot_item[0] = 1512
4
robot_item[1] = 1513
5
robot_item[2] = 1514
6
robot_item[3] = 1515
7
item_number = 0
8
item_number_max = 12
9
robot_item_placed[0] = 0
10
robot_item_scale[0] = 1
11
robot_item_scale[1] = 1
12
robot_item_scale[2] = 1
13
robot_item_scale[3] = 1
14
robot_move_to_position = false
15
robot_item_selected = -1
16
gui_button_selected = -1
17
destroy_self = false
18
instance_create(160, 120, obj_robot_build_cursor)
19
audio_play_sound(mus_build_a_bot, 20, 1)