1 |
if live_call() |
2 |
return global.live_result; |
3 |
battle_box = obj_dialogue_box_battle_transformation_any |
4 |
instance_create_depth(battle_box.x, (battle_box.bbox_bottom + 5), -110, obj_battle_enemy_attack_ceroba_petal_pile) |
5 |
instance_create_depth(0, 0, -100, obj_battle_enemy_attack_ceroba_phase_1_background_leaves) |
6 |
spawn_rate = 7 |
7 |
alarm[0] = 30alarm[0]if live_call()
return global.live_result;
var offset = random_range(1, 30)
instance_create_depth(choose((battle_box.bbox_left - offset), (battle_box.bbox_right + offset)), random_range((battle_box.bbox_top + 15), (battle_box.bbox_bottom - 15)), -100, obj_battle_enemy_attack_ceroba_petal)
alarm[0] = spawn_rate
if (obj_battle_enemy_attack_ceroba_petal_pile.vspeed == 0)
obj_battle_enemy_attack_ceroba_petal_pile.vspeed = (-((90 / attack_length))) |
8 |
scr_enable_battle_box_surface() |
9 |
attack_length = 270 |
10 |
alarm[1] = attack_lengthalarm[1]if live_call()
return global.live_result;
instance_destroy() |
11 |
alarm[2] = 30alarm[2]audio_play_sound(snd_mart_wind, 1, 0) |