1 |
function scr_end_enemy_attacking_axis_genoscr_end_enemy_attacking_axis_genofunction scr_end_enemy_attacking_axis_geno()
{
if (global.geno_complete[4] == false && global.geno_complete[3] == true)
{
if (global.enemy_sparing == true)
return false;
if (global.attack_cycle >= (global.attack_cycle_max - 4))
{
instance_create(402, 68, obj_quote_bubble_battle_yellow_2);
instance_create(0, 0, obj_quote_battle_axis_neutral_geno_end);
return true;
}
else
{
return false;
}
}
else if (global.attack_cycle >= global.attack_cycle_max)
{
instance_create(402, 68, obj_quote_bubble_battle_yellow_2);
instance_create(0, 0, obj_quote_battle_axis_geno_end);
return true;
}
else
{
return false;
}
} () |
2 |
{ |
3 |
if (global.geno_complete[4] == false && global.geno_complete[3] == true) |
4 |
{ |
5 |
if (global.enemy_sparing == true) |
6 |
return false; |
7 |
if (global.attack_cycle >= (global.attack_cycle_max - 4)) |
8 |
{ |
9 |
instance_create(402, 68, obj_quote_bubble_battle_yellow_2); |
10 |
instance_create(0, 0, obj_quote_battle_axis_neutral_geno_end); |
11 |
return true; |
12 |
} |
13 |
else |
14 |
{ |
15 |
return false; |
16 |
} |
17 |
} |
18 |
else if (global.attack_cycle >= global.attack_cycle_max) |
19 |
{ |
20 |
instance_create(402, 68, obj_quote_bubble_battle_yellow_2); |
21 |
instance_create(0, 0, obj_quote_battle_axis_geno_end); |
22 |
return true; |
23 |
} |
24 |
else |
25 |
{ |
26 |
return false; |
27 |
} |
28 |
} |