1 |
scene = 0 |
2 |
cutscene_timer = 0 |
3 |
cutscene_music = 0 |
4 |
guardener_pitch = 0.5 |
5 |
if (global.sworks_flag[20] == 1) |
6 |
{ |
7 |
obj_pl.x = 170 |
8 |
obj_pl.y = 360 |
9 |
obj_pl.direction = 90 |
10 |
obj_steamworks_29_gardener_bot.sprite_index = spr_steamworks_29_gardener_bot_idle |
11 |
obj_steamworks_29_gardener_bot.image_speed = 1 |
12 |
instance_create(170, (obj_steamworks_29_gardener_bot.y + 20), obj_camera) |
13 |
obj_camera.move = false |
14 |
camera_set_view_target(view_camera[0], 1120) |
15 |
scr_radio_fadescr_radio_fadefunction scr_radio_fade(argument0, argument1) //gml_Script_scr_radio_fade
{
var fade_vol = argument0
var fade_len = argument1
with (obj_radio)
audio_sound_gain(current_song, fade_vol, fade_len)
} (0, 0) |
16 |
global.cutscene = true |
17 |
scene = 20 |
18 |
} |
19 |
else if (global.sworks_flag[20] == 2) |
20 |
{ |
21 |
instance_destroy(obj_steamworks_29_gardener_bot) |
22 |
instance_destroy() |
23 |
return; |
24 |
} |
25 |
else if (global.sworks_flag[20] >= 3) |
26 |
{ |
27 |
obj_steamworks_29_gardener_bot.sprite_index = spr_steamworks_29_gardener_bot_dead |
28 |
obj_steamworks_29_gardener_bot.solid = true |
29 |
obj_steamworks_29_gardener_bot.depth = (-obj_steamworks_29_gardener_bot.y) |
30 |
instance_destroy() |
31 |
return; |
32 |
} |