execute if score @s aj.svm_aj.animation.walk.loop_mode = $aj.loop_mode.loop aj.i run function animated_java:svm_aj/zzzzzzzz/animations/walk/end_loop
execute if score @s aj.svm_aj.animation.walk.loop_mode = $aj.loop_mode.once aj.i run function animated_java:svm_aj/animations/walk/stop
execute if score @s aj.svm_aj.animation.walk.loop_mode = $aj.loop_mode.hold aj.i run function animated_java:svm_aj/animations/walk/pause