1 |
function scr_insomnitot_duo_no_attackscr_insomnitot_duo_no_attackfunction scr_insomnitot_duo_no_attack()
{
global.action_1_selected_count = 0;
global.action_2_selected_count = 0;
global.action_3_selected_count = 0;
global.action_1_selected_count_2 = 0;
global.action_2_selected_count_2 = 0;
global.action_3_selected_count_2 = 0;
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.enemy_hurt_2 = global.enemy_hit_2;
global.enemy_hit_2 = 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(scr_determine_enemy_attack_yellow);
with (obj_heart_battle_menu)
event_user(0);
instance_destroy();
} () |
2 |
{ |
3 |
global.action_1_selected_count = 0; |
4 |
global.action_2_selected_count = 0; |
5 |
global.action_3_selected_count = 0; |
6 |
global.action_1_selected_count_2 = 0; |
7 |
global.action_2_selected_count_2 = 0; |
8 |
global.action_3_selected_count_2 = 0; |
9 |
global.turns_passed += 1; |
10 |
global.last_action_selected = "Nothing"; |
11 |
global.hurt_self = global.hit_self; |
12 |
global.hit_self = false; |
13 |
global.enemy_hurt = global.enemy_hit; |
14 |
global.enemy_hit = false; |
15 |
global.enemy_hurt_2 = global.enemy_hit_2; |
16 |
global.enemy_hit_2 = false; |
17 |
global.item_used = global.item_use; |
18 |
global.item_use = "Nothing"; |
19 |
global.item_gifted = global.item_gift; |
20 |
global.item_gift = "Nothing"; |
21 |
global.determine_attack_priority = 1; |
22 |
script_execute(scr_determine_enemy_attack_yellow); |
23 |
with (obj_heart_battle_menu) |
24 |
event_user(0); |
25 |
instance_destroy(); |
26 |
} |