1 |
if (image_alpha < 1) |
2 |
{ |
3 |
image_alpha += 0.15 |
4 |
if (image_alpha >= 1) |
5 |
{ |
6 |
image_alpha = 1 |
7 |
can_drop = true |
8 |
} |
9 |
} |
10 |
if (can_drop == true) |
11 |
vspeed = lerp(vspeed, fall_speed, 0.25) |
12 |
if (bbox_bottom >= (obj_dialogue_box_battle_transformation_any.bbox_bottom - 3)) |
13 |
{ |
14 |
instance_destroy() |
15 |
var new_hspeed = -3 |
16 |
for (var i = 0; i < 3; i++) |
17 |
{ |
18 |
var bit = instance_create(x, y, obj_battle_enemy_attack_flowergirls_growing_flowers_droplet_bit) |
19 |
bit.hspeed = new_hspeed |
20 |
new_hspeed += 3 |
21 |
} |
22 |
instance_create(x, (obj_dialogue_box_battle_transformation_any.bbox_bottom - 3), obj_battle_enemy_attack_flowergirls_growing_flowers) |
23 |
} |