1 |
if live_call() |
2 |
return global.live_result; |
3 |
scr_cutscene_startscr_cutscene_startfunction 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
} () |
4 |
switch room |
5 |
{ |
6 |
case rm_steamworks_factory_02: |
7 |
target_code = global.factory_code |
8 |
break |
9 |
case 238: |
10 |
target_code_array = ["0", "0", "0", "0"] |
11 |
for (var i = 0; i < ds_list_size(global.factory_code_2); i++) |
12 |
{ |
13 |
var new_string = "" |
14 |
var target_pos = 0 |
15 |
switch ds_list_find_value(global.factory_code_2, i) |
16 |
{ |
17 |
case 0: |
18 |
new_string = "1" |
19 |
break |
20 |
case 1: |
21 |
new_string = "2" |
22 |
break |
23 |
case 2: |
24 |
new_string = "3" |
25 |
break |
26 |
case 3: |
27 |
new_string = "4" |
28 |
break |
29 |
case 4: |
30 |
new_string = "1" |
31 |
target_pos = 1 |
32 |
break |
33 |
case 5: |
34 |
new_string = "2" |
35 |
target_pos = 1 |
36 |
break |
37 |
case 6: |
38 |
new_string = "3" |
39 |
target_pos = 1 |
40 |
break |
41 |
case 7: |
42 |
new_string = "4" |
43 |
target_pos = 1 |
44 |
break |
45 |
case 8: |
46 |
new_string = "1" |
47 |
target_pos = 2 |
48 |
break |
49 |
case 9: |
50 |
new_string = "2" |
51 |
target_pos = 2 |
52 |
break |
53 |
case 10: |
54 |
new_string = "3" |
55 |
target_pos = 2 |
56 |
break |
57 |
case 11: |
58 |
new_string = "4" |
59 |
target_pos = 2 |
60 |
break |
61 |
case 12: |
62 |
new_string = "1" |
63 |
target_pos = 3 |
64 |
break |
65 |
case 13: |
66 |
new_string = "2" |
67 |
target_pos = 3 |
68 |
break |
69 |
case 14: |
70 |
new_string = "3" |
71 |
target_pos = 3 |
72 |
break |
73 |
case 15: |
74 |
new_string = "4" |
75 |
target_pos = 3 |
76 |
break |
77 |
} |
78 |
|
79 |
target_code_array[target_pos] = new_string |
80 |
} |
81 |
target_code = "" |
82 |
for (i = 0; i < array_length(target_code_array); i++) |
83 |
target_code += target_code_array[i] |
84 |
break |
85 |
case 240: |
86 |
target_code = global.factory_code_3 |
87 |
break |
88 |
} |
89 |
|
90 |
entry_number = "" |
91 |
entry_correct = -1 |
92 |
scene = 0 |
93 |
layer_create(-99999, "sequence_layer") |
94 |
overlay_sequence = layer_sequence_create("sequence_layer", camera_get_view_x(view_camera[0]), camera_get_view_y(view_camera[0]), 23) |
95 |
number_selected = 1 |