| 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 |
instance_create(195, 365, obj_ceroba_npc); |
| 8 |
obj_ceroba_npc.npc_direction = "up"; |
| 9 |
actor_follower = 1161; |
| 10 |
obj_pl.x = 170; |
| 11 |
obj_pl.y = 365; |
| 12 |
obj_pl.direction = 90; |
| 13 |
obj_steamworks_29_gardener_bot.sprite_index = spr_steamworks_29_gardener_bot_idle; |
| 14 |
obj_steamworks_29_gardener_bot.image_speed = 1; |
| 15 |
instance_create(170, obj_steamworks_29_gardener_bot.y + 20, obj_camera); |
| 16 |
obj_camera.move = false; |
| 17 |
camera_set_view_target(view_camera[0], 1120); |
| 18 |
scr_radio_fadescr_radio_fadefunction scr_radio_fade(arg0, arg1)
{
var fade_vol = arg0;
var fade_len = arg1;
with (obj_radio)
audio_sound_gain(current_song, fade_vol, fade_len);
} (0, 0); |
| 19 |
global.cutscene = true; |
| 20 |
scene = 24; |
| 21 |
} |
| 22 |
else if (global.sworks_flag[20] >= 2) |
| 23 |
{ |
| 24 |
if (global.sworks_flag[20] == 3) |
| 25 |
{ |
| 26 |
instance_create(195, 360, obj_ceroba_npc); |
| 27 |
obj_ceroba_npc.npc_direction = "up"; |
| 28 |
actor_follower = 1161; |
| 29 |
obj_pl.x = 170; |
| 30 |
obj_pl.y = 360; |
| 31 |
obj_pl.direction = 90; |
| 32 |
scr_radio_fadescr_radio_fadefunction scr_radio_fade(arg0, arg1)
{
var fade_vol = arg0;
var fade_len = arg1;
with (obj_radio)
audio_sound_gain(current_song, fade_vol, fade_len);
} (0, 0); |
| 33 |
global.cutscene = true; |
| 34 |
scene = 40; |
| 35 |
obj_steamworks_29_gardener_bot.sprite_index = spr_steamworks_29_gardener_bot_dead; |
| 36 |
obj_steamworks_29_gardener_bot.solid = true; |
| 37 |
obj_steamworks_29_gardener_bot.depth = -obj_steamworks_29_gardener_bot.y; |
| 38 |
} |
| 39 |
else if (global.sworks_flag[20] != 4) |
| 40 |
{ |
| 41 |
instance_destroy(obj_steamworks_29_gardener_bot); |
| 42 |
instance_destroy(); |
| 43 |
} |
| 44 |
else |
| 45 |
{ |
| 46 |
obj_steamworks_29_gardener_bot.sprite_index = spr_steamworks_29_gardener_bot_dead; |
| 47 |
obj_steamworks_29_gardener_bot.solid = true; |
| 48 |
obj_steamworks_29_gardener_bot.depth = -obj_steamworks_29_gardener_bot.y; |
| 49 |
instance_destroy(); |
| 50 |
} |
| 51 |
} |