1 | if (anim_speed < 7) |
2 | anim_speed += 0.2 |
3 | else |
4 | anim_speed = 0 |
5 | if (place_meeting(x, y, obj_dunes_08b_stand) && (!water_fly_away)) |
6 | { |
7 | water_fly_away = true |
8 | instance_create(0, 0, obj_screenshake) |
9 | audio_play_sound(snd_attackhitcrit, 1, 0) |
10 | } |
11 | if water_fly_away |
12 | { |
13 | sprite_index = spr_water_dispenser_broken |
14 | image_angle += 25 |
15 | y -= 2 |
16 | x += 6 |
17 | } |
18 | depth = (-y) |