1 |
switch (jumping_flower_stage) |
2 |
{ |
3 |
case 0: |
4 |
if (round(vspeed) >= 0) |
5 |
jumping_flower_stage += 1; |
6 |
break; |
7 |
case 1: |
8 |
if (global.battle_phase == 2) |
9 |
{ |
10 |
image_xscale = 1.5; |
11 |
image_yscale = 1.5; |
12 |
audio_play_sound(snd_enemy_bullet_shot, 1, 0); |
13 |
for (var a = 1; a <= jumping_flower_bullet_number; a++) |
14 |
{ |
15 |
with (instance_create(x, y, obj_battle_enemy_attack_ceroba_jumping_flower_bullet)) |
16 |
{ |
17 |
direction = a * (360 / other.jumping_flower_bullet_number); |
18 |
speed = 8; |
19 |
} |
20 |
} |
21 |
} |
22 |
jumping_flower_stage += 1; |
23 |
break; |
24 |
case 2: |
25 |
if (y >= (obj_dialogue_box_battle_transformation_any.bbox_bottom - 30)) |
26 |
{ |
27 |
instance_destroy(); |
28 |
with (instance_create(x, y, obj_battle_enemy_attack_ceroba_opener_explosion)) |
29 |
ring_object = other.ring_object; |
30 |
} |
31 |
break; |
32 |
} |
33 |
if (vspeed > 8) |
34 |
vspeed = 8; |
35 |
if (image_xscale > 1) |
36 |
image_xscale -= 0.05; |
37 |
if (image_yscale > 1) |
38 |
image_yscale -= 0.05; |