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 |
var meteor = instance_create_depth(battle_box.bbox_left, (battle_box.bbox_top - 220), -100, obj_fmartlet_meteor) |
8 |
meteor.hspeed = 5 |
9 |
break |
10 |
case 90: |
11 |
meteor = instance_create_depth(battle_box.bbox_right, (battle_box.bbox_top - 220), -100, obj_fmartlet_meteor) |
12 |
meteor.hspeed = -4 |
13 |
break |
14 |
case 125: |
15 |
meteor = instance_create_depth((battle_box.bbox_left - 120), (battle_box.bbox_top - 220), -100, obj_fmartlet_meteor) |
16 |
meteor.hspeed = 8 |
17 |
break |
18 |
case 155: |
19 |
meteor = instance_create_depth((battle_box.bbox_right + 150), (battle_box.bbox_top - 240), -100, obj_fmartlet_meteor) |
20 |
meteor.hspeed = -10 |
21 |
break |
22 |
case 220: |
23 |
instance_destroy() |
24 |
break |
25 |
} |
26 |
|
27 |
attack_tick += 1 |