Hoplites didn't always stick in phalanx but there's no way to make the animations that conditional with shield wall unlike pike wall.