function scr_recreate_heart_battle_menu_text_cactony_slither_duo() //gml_Script_scr_recreate_heart_battle_menu_text_cactony_slither_duo { var last_text_move_select = global.last_text_move_select var action_3_selected_count_2 = global.action_3_selected_count_2 var heart_position = script_execute(gml_Script_scr_return_heart_battle_menu_position) if (text_deadlock_1 == true) instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), text_deadlock_contents_1) else if (last_text_move_select == 0) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_intro) text_deadlock_contents_1 = 3004 text_deadlock_1 = true } else if (global.battle_menu_number == 1 && global.enemy_dead == true && global.fight_number == 1) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_dead_2) text_deadlock_contents_1 = 3052 text_deadlock_1 = true } else if (global.battle_menu_number == 1 && global.enemy_dead_2 == true && global.fight_number == 2) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_dead) text_deadlock_contents_1 = 3033 text_deadlock_1 = true } else if (global.enemy_low_hp == true && global.enemy_dead == false && global.enemy_spared == false) { var random_number = irandom_range(1, 2) if (random_number == 1) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_low_hp_1) text_deadlock_contents_1 = 3016 } else if (random_number == 2) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_low_hp_1_v2) text_deadlock_contents_1 = 3018 } text_deadlock_1 = true } else if (global.enemy_low_hp_2 == true && global.enemy_dead_2 == false && global.enemy_spared_2 == false) { random_number = irandom_range(1, 2) if (random_number == 1) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_low_hp_2) text_deadlock_contents_1 = 3036 } else if (random_number == 2) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_low_hp_2_v2) text_deadlock_contents_1 = 3037 } text_deadlock_1 = true } else if (global.enemy_sparing == true && global.enemy_dead == false && global.enemy_spared == false) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_sparing) text_deadlock_contents_1 = 3030 text_deadlock_1 = true } else if (global.enemy_sparing_2 == true && global.enemy_dead_2 == false && global.enemy_spared_2 == false) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_sparing_2) text_deadlock_contents_1 = 3050 text_deadlock_1 = true } else { random_number = irandom_range(1, 2) if (global.enemy_dead == true || global.enemy_spared == true) random_number = 2 else if (global.enemy_dead_2 == true || global.enemy_spared_2 == true) random_number = 1 if (random_number == 1) { if ((global.enemy_dead_2 + global.enemy_spared_2) < 1) var random_text_move_select = irandom_range(1, 7) else random_text_move_select = irandom_range(1, 4) } else if (random_number == 2) { if ((global.enemy_dead + global.enemy_spared) < 1) random_text_move_select = irandom_range(1, 6) else random_text_move_select = irandom_range(1, 5) } if (random_number == 1) { if (random_text_move_select == 1) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_1) text_deadlock_contents_1 = 3020 text_deadlock_1 = true } else if (random_text_move_select == 2) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_2) text_deadlock_contents_1 = 3021 text_deadlock_1 = true } else if (random_text_move_select == 3) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_3) text_deadlock_contents_1 = 3022 text_deadlock_1 = true } else if (random_text_move_select == 4) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_4) text_deadlock_contents_1 = 3023 text_deadlock_1 = true } else if (random_text_move_select == 5) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_5) text_deadlock_contents_1 = 3024 text_deadlock_1 = true } else if (random_text_move_select == 6) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_6) text_deadlock_contents_1 = 3025 text_deadlock_1 = true } else if (random_text_move_select == 7) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_7) text_deadlock_contents_1 = 3026 text_deadlock_1 = true } else if (random_text_move_select == 8) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_8) text_deadlock_contents_1 = 3028 text_deadlock_1 = true } } else if (random_number == 2) { if (random_text_move_select == 1) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_1_v2) text_deadlock_contents_1 = 3039 text_deadlock_1 = true } else if (random_text_move_select == 2) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_2_v2) text_deadlock_contents_1 = 3040 text_deadlock_1 = true } else if (random_text_move_select == 3) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_3_v2) text_deadlock_contents_1 = 3041 text_deadlock_1 = true } else if (random_text_move_select == 4) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_4_v2) text_deadlock_contents_1 = 3046 text_deadlock_1 = true } else if (random_text_move_select == 5) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_5_v2) text_deadlock_contents_1 = 3047 text_deadlock_1 = true } else if (random_text_move_select == 6) { instance_create((obj_dialogue_box_battle.x + 20), (obj_dialogue_box_battle.x + 20), obj_dialogue_battle_move_select_6_v2) text_deadlock_contents_1 = 3048 text_deadlock_1 = true } } } }