1 |
if live_call() |
2 |
return global.live_result; |
3 |
var battle_box = obj_dialogue_box_battle_transformation_any |
4 |
switch attack_tick |
5 |
{ |
6 |
case 30: |
7 |
instance_create_depth((battle_box.bbox_left - 160), battle_box.y, -100, obj_fmartlet_star_big) |
8 |
break |
9 |
case 100: |
10 |
instance_create_depth((battle_box.bbox_right + 200), (battle_box.y - 40), -100, obj_fmartlet_star_big) |
11 |
break |
12 |
case 180: |
13 |
instance_create_depth((battle_box.bbox_left - 180), (battle_box.y + 40), -100, obj_fmartlet_star_big) |
14 |
break |
15 |
case 280: |
16 |
instance_create_depth(battle_box.x, (battle_box.bbox_top - 180), -100, obj_fmartlet_star_big) |
17 |
break |
18 |
case 360: |
19 |
instance_create_depth((battle_box.bbox_left - 200), (battle_box.y + 40), -100, obj_fmartlet_star_big) |
20 |
break |
21 |
case 560: |
22 |
instance_destroy() |
23 |
break |
24 |
} |
25 |
|
26 |
attack_tick += 1 |