1 |
if (live_call()) |
2 |
return global.live_result; |
3 |
scr_audio_fade_outscr_audio_fade_outfunction scr_audio_fade_out(arg0, arg1)
{
var snd = arg0;
var fade_len = arg1;
if (!audio_is_playing(snd))
return false;
audio_sound_gain(snd, 0, fade_len);
if (instance_exists(obj_audio_fade_helper))
{
with (obj_audio_fade_helper)
{
if (audio_to_fade == snd)
return false;
}
}
with (instance_create(0, 0, obj_audio_fade_helper))
audio_to_fade = snd;
} (obj_radio.current_song, 500); |
4 |
draw_alpha = 0; |
5 |
puzzle_draw_guide = true; |
6 |
puzzle_layer[0] = layer_tilemap_get_id("puzzle_1"); |
7 |
puzzle_layer[1] = layer_tilemap_get_id("puzzle_2"); |
8 |
puzzle_layer[2] = layer_tilemap_get_id("puzzle_3"); |
9 |
puzzle_goal[0] = [249, 150]; |
10 |
puzzle_goal[1] = [249, 150]; |
11 |
puzzle_goal[2] = [68, 168]; |
12 |
puzzle_start[0] = [72, 65, 270]; |
13 |
puzzle_start[1] = [70, 165, 0]; |
14 |
puzzle_start[2] = [160, 170, 90]; |
15 |
draw_puzzle_layer = false; |
16 |
puzzle_start_noloop = false; |
17 |
puzzle_level_current = 0; |
18 |
puzzle_game_over = false; |
19 |
puzzle_game_victory = false; |
20 |
puzzle_speed_last = 0; |
21 |
pseudo_random_number = 50; |
22 |
pseudo_random_number_max = 90; |
23 |
fade_out = false; |
24 |
countdown_current = 4; |
25 |
event_user(0); |
26 |
alarm[1] = -1; |
27 |
alarm[3] = room_speed * 10; |
28 |
puzzle_surf = surface_create(480, 320); |
29 |
puzzle_alpha = 0.5; |
30 |
screenshake_enabled = false; |
31 |
x_offset = 0; |
32 |
y_offset = 0; |
33 |
offset_max = 3; |
34 |
puzzle_music = 0; |