| 1 |
if (atk_counter_current < atk_counter_max) |
| 2 |
{ |
| 3 |
var random_number = irandom_range(0, 1); |
| 4 |
if (obj_heart_battle_fighting_parent.idle_hsp_count > 0) |
| 5 |
instance_create(obj_heart_battle_fighting_parent.x, obj_dialogue_box_battle_transformation_any.bbox_top - 10, obj_battle_enemy_attack_martlet_wing_gust_junk); |
| 6 |
else |
| 7 |
instance_create(obj_heart_battle_fighting_parent.x + (global.speed_self * 4 * obj_heart_battle_fighting_parent.last_hsp), obj_dialogue_box_battle_transformation_any.bbox_top - 10, obj_battle_enemy_attack_martlet_wing_gust_junk); |
| 8 |
atk_counter_current += 1; |
| 9 |
atk_alarm_no_loop = false; |
| 10 |
} |
| 11 |
else |
| 12 |
{ |
| 13 |
fly_state = 2; |
| 14 |
} |