| 1 |
if (heart_collided == true) |
| 2 |
{ |
| 3 |
var enemy_count = global.enemy_count; |
| 4 |
if (global.battle_enemy_name_1 == "cactony a" && global.enemy_low_hp == false && global.enemy_dead == false && global.enemy_spared == false) |
| 5 |
{ |
| 6 |
if (global.action_1_selected_count >= 1) |
| 7 |
global.enemy_sparing = true; |
| 8 |
} |
| 9 |
if (enemy_count >= 2) |
| 10 |
{ |
| 11 |
if (global.battle_enemy_name_2 == "cactony b" && global.enemy_low_hp_2 == false && global.enemy_dead_2 == false && global.enemy_spared_2 == false) |
| 12 |
{ |
| 13 |
if (global.action_1_selected_count_2 >= 1) |
| 14 |
global.enemy_sparing = true; |
| 15 |
} |
| 16 |
} |
| 17 |
if (enemy_count >= 3) |
| 18 |
{ |
| 19 |
if (global.battle_enemy_name_3 == "cactony c" && global.enemy_low_hp_3 == false && global.enemy_dead_3 == false && global.enemy_spared_3 == false) |
| 20 |
{ |
| 21 |
if (global.action_1_selected_count_3 >= 1) |
| 22 |
global.enemy_sparing = true; |
| 23 |
} |
| 24 |
} |
| 25 |
} |