1 |
if live_call() |
2 |
return global.live_result; |
3 |
var left_platform = instance_create_depth((battle_box.bbox_left - 30), (battle_box.bbox_top + 50), -100, obj_battle_enemy_attack_macro_choir_platform) |
4 |
left_platform.hspeed = platform_speed |
5 |
var right_platform = instance_create_depth((battle_box.bbox_right + 30), (battle_box.bbox_top + 120), -110, obj_battle_enemy_attack_macro_choir_platform) |
6 |
right_platform.hspeed = (-platform_speed) |
7 |
max_frogs -= 1 |
8 |
if (max_frogs == green_frog_spawn_point) |
9 |
spawn_green_frog = true |
10 |
if (max_frogs > 0) |
11 |
alarm[0] = platform_delayalarm[0]if live_call()
return global.live_result;
var left_platform = instance_create_depth((battle_box.bbox_left - 30), (battle_box.bbox_top + 50), -100, obj_battle_enemy_attack_macro_choir_platform)
left_platform.hspeed = platform_speed
var right_platform = instance_create_depth((battle_box.bbox_right + 30), (battle_box.bbox_top + 120), -110, obj_battle_enemy_attack_macro_choir_platform)
right_platform.hspeed = (-platform_speed)
max_frogs -= 1
if (max_frogs == green_frog_spawn_point)
spawn_green_frog = true
if (max_frogs > 0)
alarm[0] = platform_delay
else
instance_destroy() |
12 |
else |
13 |
instance_destroy() |