1 |
depth = (-room_height) - 164 |
2 |
var game_mode = global.game_mode |
3 |
var shop_name = global.shop_name |
4 |
var buy_shop_screen_number = global.buy_shop_screen_number |
5 |
if (game_mode == "yellow") |
6 |
{ |
7 |
if (shop_name == "Steamworks Vendy" || shop_name == "Steamworks Vendy Geno") |
8 |
{ |
9 |
if (global.route != 3) |
10 |
{ |
11 |
if (global.sworks_flag[26] < 2) |
12 |
{ |
13 |
message[0] = "* Vendy Model 01 - System boot..." |
14 |
message[1] = "* Scanning customer..." |
15 |
portrait[0] = 2856 |
16 |
portrait[1] = 2875 |
17 |
point[0] = 1 |
18 |
point[1] = 1 |
19 |
talk_script[0] = gml_Script_scr_talking_vendy |
20 |
talk_script[1] = gml_Script_scr_talking_vendy |
21 |
for (i = 0; i < array_length_1d(message); i += 1) |
22 |
action[i] = "Nothing" |
23 |
message_end = 1 |
24 |
} |
25 |
else |
26 |
{ |
27 |
message[0] = "* Vendy Model 01 - System boot..." |
28 |
message[1] = "* Scanning customer..." |
29 |
message[2] = "* Steamworks Chemist present :]" |
30 |
portrait[0] = 2856 |
31 |
portrait[1] = 2875 |
32 |
portrait[2] = 131 |
33 |
point[0] = 1 |
34 |
point[1] = 1 |
35 |
point[2] = 1 |
36 |
talk_script[0] = gml_Script_scr_talking_vendy |
37 |
talk_script[1] = gml_Script_scr_talking_vendy |
38 |
talk_script[2] = gml_Script_scr_talking_vendy |
39 |
for (i = 0; i < array_length_1d(message); i += 1) |
40 |
action[i] = "Nothing" |
41 |
message_end = 2 |
42 |
} |
43 |
} |
44 |
else |
45 |
{ |
46 |
message[0] = "* Vendy Model 01 - System boot..." |
47 |
message[1] = "* Scanning customer..." |
48 |
message[2] = "* !" |
49 |
message[3] = "* Attempting shut down!" |
50 |
portrait[0] = 2856 |
51 |
portrait[1] = 2875 |
52 |
portrait[2] = 2663 |
53 |
portrait[3] = 863 |
54 |
point[0] = 1 |
55 |
point[1] = 1 |
56 |
point[2] = 1 |
57 |
point[3] = 1 |
58 |
talk_script[0] = gml_Script_scr_talking_vendy |
59 |
talk_script[1] = gml_Script_scr_talking_vendy |
60 |
talk_script[2] = gml_Script_scr_talking_vendy |
61 |
talk_script[3] = gml_Script_scr_talking_vendy |
62 |
for (i = 0; i < array_length_1d(message); i += 1) |
63 |
action[i] = "Nothing" |
64 |
message_end = 3 |
65 |
} |
66 |
} |
67 |
} |
68 |
message_advance = false |
69 |
message_current = 0 |
70 |
message_draw = "" |
71 |
increase = global.text_speed |
72 |
characters = 0 |
73 |
hold = 0 |
74 |
message_length = string_length(message[message_current]) |
75 |
skippable = false |
76 |
alarm[0] = 60alarm[0]message_advance = true
skippable = true |
77 |
alarm[1] = 120alarm[1]if (global.sworks_flag[26] < 2)
{
audio_play_sound(snd_fail, 1, 0)
portrait[1] = 373
}
else
{
audio_play_sound(snd_factory_puzzle_spawn_item, 1, 0)
portrait[1] = 131
}
alarm[0] = 30 |
78 |
script_execute(gml_Script_scr_generate_text_counters) |