execute as @s[type=minecraft:armor_stand,scores={tarzanka=100..118}] at @s run tp @s ~0.0015 ~-0.048 ~-0.15
execute as @s[type=minecraft:armor_stand,scores={tarzanka=118..170}] at @s run tp @s ~0.0012 ~-0.072 ~-0.15
execute as @s[type=minecraft:armor_stand,scores={tarzanka=170..196}] at @s run tp @s ~0.011 ~-0.062 ~-0.15
execute as @s[type=minecraft:armor_stand,scores={tarzanka=196..216}] at @s run tp @s ~0.00 ~-0.056 ~-0.15

execute as @s[type=minecraft:armor_stand,scores={tarzanka=33..48}] at @s run tp @s ~ ~-0.029 ~
execute as @s[type=minecraft:armor_stand,scores={tarzanka=80..100}] at @s run tp @s ~ ~-0.052 ~-0.055

execute as @s[type=minecraft:armor_stand,scores={tarzanka=1..45}] at @s run data merge entity @e[tag=tarzanka_pig,sort=nearest,limit=1] {Rotation:[-38.0f,15.0f]}
execute as @s[type=minecraft:armor_stand,scores={tarzanka=1..45}] at @s run data merge entity @s {Rotation:[-38.0f,15.0f]}
execute as @s[type=minecraft:armor_stand,scores={tarzanka=45..60}] at @s run data merge entity @s {Rotation:[-110.0f,30.0f]}
execute as @s[type=minecraft:armor_stand,scores={tarzanka=45..60}] at @s run data merge entity @e[tag=tarzanka_pig,sort=nearest,limit=1] {Rotation:[-110.0f,30.0f]}
execute as @s[type=minecraft:armor_stand,scores={tarzanka=60..70}] at @s run data merge entity @e[tag=tarzanka_pig,sort=nearest,limit=1] {Rotation:[-180.0f,40.0f]}
execute as @s[type=minecraft:armor_stand,scores={tarzanka=60..70}] at @s run data merge entity @s {Rotation:[-180.0f,40.0f]}

execute as @s[type=minecraft:armor_stand,scores={tarzanka=69..98}] at @s run tp @s ~0.15 ~-0.017 ~

execute as @s[type=minecraft:armor_stand,scores={tarzanka=58..70}] at @s run tp @s ~0.2 ~-0.06 ~0.08
execute as @s[type=minecraft:armor_stand,scores={tarzanka=45..60}] at @s run tp @s ~0.2 ~-0.072 ~0.16
execute as @s[type=minecraft:armor_stand,scores={tarzanka=1..45}] at @s run tp @s ~0.1 ~-0.04 ~0.202