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) |
16 | { |
17 | image_speed = 0.2; |
18 | } |
19 | else |
20 | { |
21 | image_speed = 0; |
22 | if (instance_exists(obj_snowdin06_woodbars)) |
23 | { |
24 | if (obj_snowdin06_woodbars.slide == false) |
25 | { |
26 | obj_snowdin06_woodbars.slide = true; |
27 | audio_play_sound(snd_slidedoor_open, 1, 0); |
28 | } |
29 | } |
30 | } |
31 | } |