1 |
seesaw_puzzle_countdown -= 1 |
2 |
if (seesaw_puzzle_countdown > 0) |
3 |
{ |
4 |
audio_play_sound(snd_beep, 1, 0) |
5 |
alarm[1] = 30alarm[1]seesaw_puzzle_countdown -= 1
if (seesaw_puzzle_countdown > 0)
{
audio_play_sound(snd_beep, 1, 0)
alarm[1] = 30
}
else
{
audio_play_sound(snd_puzzle_start, 1, 0)
seesaw_item_number = seesaw_item_number_max
seesaw_item_number_wrong = 3
seesaw_puzzle_active = true
return;
}
with (obj_steamworks_factory_02_face)
{
sprite_index = spr_steamworks_38_face_numbers
image_index = other.seesaw_puzzle_countdown - 1
image_speed = 0
} |
6 |
} |
7 |
else |
8 |
{ |
9 |
audio_play_sound(snd_puzzle_start, 1, 0) |
10 |
seesaw_item_number = seesaw_item_number_max |
11 |
seesaw_item_number_wrong = 3 |
12 |
seesaw_puzzle_active = true |
13 |
return; |
14 |
} |
15 |
with (obj_steamworks_factory_02_face) |
16 |
{ |
17 |
sprite_index = spr_steamworks_38_face_numbers |
18 |
image_index = other.seesaw_puzzle_countdown - 1 |
19 |
image_speed = 0 |
20 |
} |