execute if score @s zoomLevel matches 6 if score @s rot_pitch matches ..0 rotated ~ 0 run tp @e[tag=my_base,limit=1,sort=nearest] ^ ^ ^-12
execute if score @s zoomLevel matches 6 if score @s rot_pitch matches 1..80 run tp @e[tag=my_base,limit=1,sort=nearest] ^ ^-.5 ^-12
execute if score @s zoomLevel matches 6 if score @s rot_pitch matches 81.. run tp @e[tag=my_base,limit=1,sort=nearest] ^ ^ ^-12

execute if score @s zoomLevel matches 5 if score @s rot_pitch matches ..0 rotated ~ 0 run tp @e[tag=my_base,limit=1,sort=nearest] ^ ^ ^-11
execute if score @s zoomLevel matches 5 if score @s rot_pitch matches 1..80 run tp @e[tag=my_base,limit=1,sort=nearest] ^ ^-.5 ^-11
execute if score @s zoomLevel matches 5 if score @s rot_pitch matches 81.. run tp @e[tag=my_base,limit=1,sort=nearest] ^ ^ ^-11

execute if score @s zoomLevel matches 4 if score @s rot_pitch matches ..0 rotated ~ 0 run tp @e[tag=my_base,limit=1,sort=nearest] ^ ^ ^-10
execute if score @s zoomLevel matches 4 if score @s rot_pitch matches 1..80 run tp @e[tag=my_base,limit=1,sort=nearest] ^ ^-.5 ^-10
execute if score @s zoomLevel matches 4 if score @s rot_pitch matches 81.. run tp @e[tag=my_base,limit=1,sort=nearest] ^ ^ ^-10

execute if score @s zoomLevel matches 3 if score @s rot_pitch matches ..0 rotated ~ 0 run tp @e[tag=my_base,limit=1,sort=nearest] ^ ^ ^-9
execute if score @s zoomLevel matches 3 if score @s rot_pitch matches 1..80 run tp @e[tag=my_base,limit=1,sort=nearest] ^ ^-.5 ^-9
execute if score @s zoomLevel matches 3 if score @s rot_pitch matches 81.. run tp @e[tag=my_base,limit=1,sort=nearest] ^ ^ ^-9

execute if score @s zoomLevel matches 2 if score @s rot_pitch matches ..0 rotated ~ 0 run tp @e[tag=my_base,limit=1,sort=nearest] ^ ^ ^-8
execute if score @s zoomLevel matches 2 if score @s rot_pitch matches 1..80 run tp @e[tag=my_base,limit=1,sort=nearest] ^ ^-.5 ^-8
execute if score @s zoomLevel matches 2 if score @s rot_pitch matches 81.. run tp @e[tag=my_base,limit=1,sort=nearest] ^ ^ ^-8

execute if score @s zoomLevel matches 1 if score @s rot_pitch matches ..0 rotated ~ 0 run tp @e[tag=my_base,limit=1,sort=nearest] ^ ^ ^-7
execute if score @s zoomLevel matches 1 if score @s rot_pitch matches 1..80 run tp @e[tag=my_base,limit=1,sort=nearest] ^ ^-.5 ^-7
execute if score @s zoomLevel matches 1 if score @s rot_pitch matches 81.. run tp @e[tag=my_base,limit=1,sort=nearest] ^ ^ ^-7