1 |
with (other) |
2 |
{ |
3 |
if (global.snowdin_flag[11] == 1) |
4 |
{ |
5 |
if (floor(image_index) == 2) |
6 |
{ |
7 |
image_speed = 0; |
8 |
sprite_index = spr_bridge_platform_stand; |
9 |
with (instance_position(x, y, obj_bridge_chain)) |
10 |
{ |
11 |
image_index = 0; |
12 |
image_speed = 0; |
13 |
} |
14 |
} |
15 |
exit; |
16 |
} |
17 |
var index = floor(image_index); |
18 |
if (place_meeting(x, y, obj_pl) && fall == false) |
19 |
{ |
20 |
if ((index < 4 || (index > 9 && index < 15)) && !obj_pl.is_sprinting) |
21 |
{ |
22 |
exit; |
23 |
} |
24 |
else |
25 |
{ |
26 |
global.cutscene = true; |
27 |
obj_pl.state = scr_frozen_state; |
28 |
instance_create(obj_pl.x, obj_pl.y, obj_clover_fall); |
29 |
fall = true; |
30 |
audio_play_sound(snd_fall2, 20, 0); |
31 |
} |
32 |
} |
33 |
if (fall == true) |
34 |
obj_pl.y += 4; |
35 |
} |