| 1 | if (!instance_exists(obj_bowll_body_a)) |
| 2 | { |
| 3 | instance_destroy(); |
| 4 | exit; |
| 5 | } |
| 6 | if (obj_bowll_body_a.animating == false) |
| 7 | { |
| 8 | instance_destroy(); |
| 9 | exit; |
| 10 | } |
| 11 | x += x_speed; |
| 12 | y_speed -= grav; |
| 13 | y += y_speed; |
| 14 | image_xscale += (direc * image_xscale_inc); |
| 15 | image_yscale += image_yscale_inc; |
| 16 | if (fade == true) |
| 17 | { |
| 18 | imagea_normal -= 0.1; |
| 19 | if (imagea_normal <= 0) |
| 20 | { |
| 21 | instance_destroy(); |
| 22 | exit; |
| 23 | } |
| 24 | } |
| 25 | image_alpha = imagea_normal * global.image_alpha_enemy_attacking; |