1 |
if (fill == 1) |
2 |
{ |
3 |
if (image_index < 9) |
4 |
{ |
5 |
image_speed = 0.2; |
6 |
} |
7 |
else |
8 |
{ |
9 |
instance_destroy(part_drops_puzzle); |
10 |
image_speed = 0; |
11 |
} |
12 |
} |
13 |
if (fill == 2) |
14 |
{ |
15 |
if (image_index < 25 && !instance_exists(obj_transition)) |
16 |
{ |
17 |
image_speed = 0.2; |
18 |
} |
19 |
else |
20 |
{ |
21 |
image_speed = 0; |
22 |
global.snowdin_flag[12] = 2; |
23 |
instance_destroy(part_drops_puzzle); |
24 |
if (instance_exists(obj_snowdin_19_woodbars)) |
25 |
{ |
26 |
if (obj_snowdin_19_woodbars.slide == false) |
27 |
{ |
28 |
obj_snowdin_19_woodbars.slide = true; |
29 |
audio_play_sound(snd_slidedoor_open, 1, 0); |
30 |
} |
31 |
} |
32 |
} |
33 |
} |