1 |
var battle_enemy_name = global.battle_enemy_name |
2 |
var enemy_attack = global.enemy_attack |
3 |
var game_mode = global.game_mode |
4 |
if (global.enemy_attacking == true && no_loop == false) |
5 |
{ |
6 |
script_execute(gml_Script_scr_battle_core_directory_tb_dimensions) |
7 |
if instance_exists(obj_dialogue_box_battle_transformation_attack) |
8 |
{ |
9 |
with (obj_dialogue_box_battle_transformation_attack) |
10 |
instance_destroy() |
11 |
} |
12 |
instance_destroy() |
13 |
no_loop = true |
14 |
} |
15 |
if (global.important_cutscene == true && no_loop_important_cutscene == false) |
16 |
script_execute(gml_Script_scr_battle_core_directory_important_cutscene) |
17 |
else if (global.can_attack == false && no_loop_can_attack == false) |
18 |
script_execute(gml_Script_scr_battle_core_directory_no_attack) |