1 |
function scr_init_flags_steamworksscr_init_flags_steamworksfunction scr_init_flags_steamworks() //gml_Script_scr_init_flags_steamworks
{
global.sworks_flag[0] = 0
global.sworks_flag[1] = 0
global.sworks_flag[2] = 0
global.sworks_flag[3] = 0
global.sworks_flag[4] = 0
global.sworks_flag[5] = 0
global.sworks_flag[6] = 0
global.sworks_flag[7] = 0
global.sworks_flag[8] = 0
global.sworks_flag[9] = 0
global.sworks_flag[10] = 0
global.sworks_flag[11] = 0
global.sworks_flag[12] = 0
global.sworks_flag[13] = 0
global.sworks_flag[14] = 0
global.sworks_flag[15] = 0
global.sworks_flag[16] = 0
global.sworks_flag[17] = 0
global.sworks_flag[18] = 0
global.sworks_flag[19] = 0
global.sworks_flag[20] = 0
global.sworks_flag[21] = 0
global.sworks_flag[22] = 0
global.sworks_flag[23] = 0
global.sworks_flag[24] = 0
global.sworks_flag[25] = 0
global.sworks_flag[26] = 0
global.sworks_flag[27] = 0
global.sworks_flag[28] = 0
global.sworks_flag[29] = 0
global.sworks_flag[30] = 0
global.sworks_flag[31] = 0
global.sworks_flag[32] = 0
global.sworks_flag[33] = 0
global.sworks_flag[34] = 0
global.sworks_flag[35] = 0
global.sworks_flag[36] = 0
global.sworks_flag[37] = 0
global.sworks_flag[38] = 0
global.sworks_flag[39] = 0
global.sworks_flag[40] = 0
global.sworks_flag[41] = 0
global.sworks_flag[42] = 0
global.sworks_flag[43] = 0
global.sworks_flag[44] = 0
global.sworks_flag[45] = 0
global.sworks_flag[46] = 0
global.sworks_flag[47] = 0
global.sworks_flag[48] = 0
global.sworks_flag[49] = 0
global.sworks_flag[50] = 0
global.sworks_flag[51] = 0
global.sworks_flag[52] = 0
global.sworks_flag[53] = 0
global.sworks_flag[54] = 0
global.sworks_flag[55] = 0
global.sworks_flag[56] = 0
global.sworks_flag[57] = 0
global.sworks_flag[58] = 0
global.sworks_flag[59] = 0
global.sworks_flag[60] = 0
global.sworks_flag[61] = 0
global.factory_code = (string(irandom_range(1, 9))) + (string(irandom_range(1, 9))) + (string(irandom_range(1, 9))) + (string(irandom_range(1, 9)))
global.factory_code_2 = ds_list_create()
global.factory_code_3 = (string(irandom_range(1, 9))) + (string(irandom_range(1, 9))) + (string(irandom_range(1, 9))) + (string(irandom_range(1, 9)))
ds_list_add(global.factory_code_2, irandom_range(0, 3), irandom_range(4, 7), irandom_range(8, 11), irandom_range(12, 15))
ds_list_shuffle(global.factory_code_2)
global.sworks_robot_count = 0
global.sworks_robot_sprite[0] = 0
global.sworks_robot_x[0] = 0
global.sworks_robot_y[0] = 0
global.sworks_robot_depth[0] = 0
global.sworks_robot_angle[0] = 0
global.sworks_robot_scale[0] = 1
global.sworks_id_grid = ds_grid_create(208, 147)
} () //gml_Script_scr_init_flags_steamworks |
2 |
{ |
3 |
global.sworks_flag[0] = 0 |
4 |
global.sworks_flag[1] = 0 |
5 |
global.sworks_flag[2] = 0 |
6 |
global.sworks_flag[3] = 0 |
7 |
global.sworks_flag[4] = 0 |
8 |
global.sworks_flag[5] = 0 |
9 |
global.sworks_flag[6] = 0 |
10 |
global.sworks_flag[7] = 0 |
11 |
global.sworks_flag[8] = 0 |
12 |
global.sworks_flag[9] = 0 |
13 |
global.sworks_flag[10] = 0 |
14 |
global.sworks_flag[11] = 0 |
15 |
global.sworks_flag[12] = 0 |
16 |
global.sworks_flag[13] = 0 |
17 |
global.sworks_flag[14] = 0 |
18 |
global.sworks_flag[15] = 0 |
19 |
global.sworks_flag[16] = 0 |
20 |
global.sworks_flag[17] = 0 |
21 |
global.sworks_flag[18] = 0 |
22 |
global.sworks_flag[19] = 0 |
23 |
global.sworks_flag[20] = 0 |
24 |
global.sworks_flag[21] = 0 |
25 |
global.sworks_flag[22] = 0 |
26 |
global.sworks_flag[23] = 0 |
27 |
global.sworks_flag[24] = 0 |
28 |
global.sworks_flag[25] = 0 |
29 |
global.sworks_flag[26] = 0 |
30 |
global.sworks_flag[27] = 0 |
31 |
global.sworks_flag[28] = 0 |
32 |
global.sworks_flag[29] = 0 |
33 |
global.sworks_flag[30] = 0 |
34 |
global.sworks_flag[31] = 0 |
35 |
global.sworks_flag[32] = 0 |
36 |
global.sworks_flag[33] = 0 |
37 |
global.sworks_flag[34] = 0 |
38 |
global.sworks_flag[35] = 0 |
39 |
global.sworks_flag[36] = 0 |
40 |
global.sworks_flag[37] = 0 |
41 |
global.sworks_flag[38] = 0 |
42 |
global.sworks_flag[39] = 0 |
43 |
global.sworks_flag[40] = 0 |
44 |
global.sworks_flag[41] = 0 |
45 |
global.sworks_flag[42] = 0 |
46 |
global.sworks_flag[43] = 0 |
47 |
global.sworks_flag[44] = 0 |
48 |
global.sworks_flag[45] = 0 |
49 |
global.sworks_flag[46] = 0 |
50 |
global.sworks_flag[47] = 0 |
51 |
global.sworks_flag[48] = 0 |
52 |
global.sworks_flag[49] = 0 |
53 |
global.sworks_flag[50] = 0 |
54 |
global.sworks_flag[51] = 0 |
55 |
global.sworks_flag[52] = 0 |
56 |
global.sworks_flag[53] = 0 |
57 |
global.sworks_flag[54] = 0 |
58 |
global.sworks_flag[55] = 0 |
59 |
global.sworks_flag[56] = 0 |
60 |
global.sworks_flag[57] = 0 |
61 |
global.sworks_flag[58] = 0 |
62 |
global.sworks_flag[59] = 0 |
63 |
global.sworks_flag[60] = 0 |
64 |
global.sworks_flag[61] = 0 |
65 |
global.factory_code = (string(irandom_range(1, 9))) + (string(irandom_range(1, 9))) + (string(irandom_range(1, 9))) + (string(irandom_range(1, 9))) |
66 |
global.factory_code_2 = ds_list_create() |
67 |
global.factory_code_3 = (string(irandom_range(1, 9))) + (string(irandom_range(1, 9))) + (string(irandom_range(1, 9))) + (string(irandom_range(1, 9))) |
68 |
ds_list_add(global.factory_code_2, irandom_range(0, 3), irandom_range(4, 7), irandom_range(8, 11), irandom_range(12, 15)) |
69 |
ds_list_shuffle(global.factory_code_2) |
70 |
global.sworks_robot_count = 0 |
71 |
global.sworks_robot_sprite[0] = 0 |
72 |
global.sworks_robot_x[0] = 0 |
73 |
global.sworks_robot_y[0] = 0 |
74 |
global.sworks_robot_depth[0] = 0 |
75 |
global.sworks_robot_angle[0] = 0 |
76 |
global.sworks_robot_scale[0] = 1 |
77 |
global.sworks_id_grid = ds_grid_create(208, 147) |
78 |
} |