| 1 | if (image_alpha < 1 && move == false) | 
    
    
        | 2 | { | 
    
    
        | 3 |     image_alpha += 0.1; | 
    
    
        | 4 |     if (image_alpha > 1) | 
    
    
        | 5 |         image_alpha = 1; | 
    
    
        | 6 |     if (image_alpha == 1) | 
    
    
        | 7 |     { | 
    
    
        | 8 |         angle = point_direction(x, y, obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y); | 
    
    
        | 9 |         alarm[0] = 40; | 
    
    
        | 10 |     } | 
    
    
        | 11 | } | 
    
    
        | 12 | else if (move == true) | 
    
    
        | 13 | { | 
    
    
        | 14 |     x += lengthdir_x(move_speed, angle); | 
    
    
        | 15 |     y += lengthdir_y(move_speed, angle); | 
    
    
        | 16 |     if (move_speed < move_speed_max) | 
    
    
        | 17 |     { | 
    
    
        | 18 |         move_speed += move_speed_increase; | 
    
    
        | 19 |         if (move_speed > move_speed_max) | 
    
    
        | 20 |             move_speed = move_speed_max; | 
    
    
        | 21 |     } | 
    
    
        | 22 | } | 
    
    
        | 23 | if (bbox_right < 0 || bbox_left > room_width || bbox_bottom < 0 || bbox_top > room_height) | 
    
    
        | 24 |     instance_destroy(); |