1 |
function scr_dalv_sparingscr_dalv_sparingfunction scr_dalv_sparing() //gml_Script_scr_dalv_sparing
{
global.action_1_selected_count = 0
global.action_2_selected_count = 0
global.action_2_important = false
global.enemy_sparing = true
global.turns_passed += 1
global.last_action_selected = "Nothing"
global.hurt_self = global.hit_self
global.hit_self = false
global.enemy_hurt = global.enemy_hit
global.enemy_hit = false
global.item_used = global.item_use
global.item_use = "Nothing"
global.item_gifted = global.item_gift
global.item_gift = "Nothing"
global.determine_attack_priority = 1
script_execute(gml_Script_scr_determine_enemy_attack_yellow)
with (obj_heart_battle_menu)
event_user(0)
instance_destroy()
} () //gml_Script_scr_dalv_sparing |
2 |
{ |
3 |
global.action_1_selected_count = 0 |
4 |
global.action_2_selected_count = 0 |
5 |
global.action_2_important = false |
6 |
global.enemy_sparing = true |
7 |
global.turns_passed += 1 |
8 |
global.last_action_selected = "Nothing" |
9 |
global.hurt_self = global.hit_self |
10 |
global.hit_self = false |
11 |
global.enemy_hurt = global.enemy_hit |
12 |
global.enemy_hit = false |
13 |
global.item_used = global.item_use |
14 |
global.item_use = "Nothing" |
15 |
global.item_gifted = global.item_gift |
16 |
global.item_gift = "Nothing" |
17 |
global.determine_attack_priority = 1 |
18 |
script_execute(gml_Script_scr_determine_enemy_attack_yellow) |
19 |
with (obj_heart_battle_menu) |
20 |
event_user(0) |
21 |
instance_destroy() |
22 |
} |