if live_call() return global.live_result; if (can_execute == false) return; var fight_number = global.fight_number if (fight_number == 1) { var enemy_sparing = global.enemy_sparing var enemy_vulnerable = global.enemy_vulnerable var current_hp_enemy = global.current_hp_enemy var attacking_damage_stat_critical = global.attacking_damage_stat_critical var enemy_target_x = global.enemy_target_x var enemy_target_y = global.enemy_target_y } else if (fight_number == 2) { enemy_sparing = global.enemy_sparing_2 enemy_vulnerable = global.enemy_vulnerable_2 current_hp_enemy = global.current_hp_enemy_2 attacking_damage_stat_critical = global.attacking_damage_stat_critical_2 enemy_target_x = global.enemy_target_x_2 enemy_target_y = global.enemy_target_y_2 } else if (fight_number == 3) { enemy_sparing = global.enemy_sparing_3 enemy_vulnerable = global.enemy_vulnerable_3 current_hp_enemy = global.current_hp_enemy_3 attacking_damage_stat_critical = global.attacking_damage_stat_critical_3 enemy_target_x = global.enemy_target_x_3 enemy_target_y = global.enemy_target_y_3 } script_execute(gml_Script_scr_controls_battle_reticle) if (outline <= 0 && no_loop == false) { outline = 0 shrink = false image_alpha = 0 alarm[0] = 1 no_loop = true } if key_select { if ((outline < small_circle && ((enemy_sparing == true && enemy_vulnerable == true) || (enemy_vulnerable == true && current_hp_enemy <= attacking_damage_stat_critical))) || outline <= (small_circle * 0.5)) { shot_type = "strong" hit_object = obj_shot_strong var shot_sound = audio_play_sound(snd_attackhitperfect, 1, 0) } else if (outline < small_circle && outline > (small_circle * 0.5)) { shot_type = "medium" hit_object = 2912 shot_sound = audio_play_sound(snd_attackhit, 1, 0) } else { shrink = false image_alpha = 0 alarm[0] = 5 no_loop = true button_pressed = true button_pressed_main = true audio_play_sound(snd_fail, 1, 0) return; } audio_sound_pitch(shot_sound, (1 + obj_wild_revolver_battle_outline.target_current * 0.08)) instance_create(enemy_target_x, enemy_target_y, hit_object) shrink = false button_pressed = true button_pressed_main = true } if (outline > 0 && shrink == true) outline -= shrink_speed if (button_pressed_main == true && shrink == false) { color_alt_total += color_alt_speed if (color_alt_total >= color_alt_max) { color_alt_total = 0 color_number += 1 if (color_number > 1) color_number = 0 } cursor_color = color[color_number] color_number_2 = color_number + 1 if (color_number_2 > 1) color_number_2 = 0 outline_color = color[color_number_2] }