1 | if (!instance_exists(obj_heart_battle_fighting_parent)) |
2 | { |
3 | instance_destroy() |
4 | return; |
5 | } |
6 | if (image_speed == 0) |
7 | { |
8 | if (!instance_exists(obj_battle_enemy_attack_dunebud_sandcastle_bucket)) |
9 | no_loop_animate = false |
10 | else if ((!(place_meeting(x, y, obj_battle_enemy_attack_dunebud_sandcastle_bucket))) && (!(place_meeting(x, (y - 30), obj_battle_enemy_attack_dunebud_sandcastle_bucket)))) |
11 | no_loop_animate = false |
12 | if (no_loop_animate == false) |
13 | { |
14 | image_speed = image_speed_default |
15 | image_index = 0 |
16 | audio_play_sound(snd_fanfare, 20, false) |
17 | no_loop_animate = true |
18 | } |
19 | } |