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 |
return; |
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 |
return; |
22 |
else |
23 |
{ |
24 |
global.cutscene = true |
25 |
obj_pl.state = gml_Script_scr_frozen_state |
26 |
instance_create(obj_pl.x, obj_pl.y, obj_clover_fall) |
27 |
fall = true |
28 |
audio_play_sound(snd_fall2, 20, 0) |
29 |
} |
30 |
} |
31 |
if (fall == true) |
32 |
obj_pl.y += 4 |
33 |
} |