scoreboard players remove .shoot_more_gun_duration boss 1

execute store result storage boss random_direction_x int 1 run random value -30..30
execute store result storage boss random_direction_y int 1 run random value -10..10
execute store result score .random_direction boss run random value 1..2

execute if score .random_direction boss matches 1 run function main:game/mobs/ai/id/id14/shoot_more_gun/shoot_2_right with storage boss
execute if score .random_direction boss matches 2 run function main:game/mobs/ai/id/id14/shoot_more_gun/shoot_2_left with storage boss