Animation setup switch code is now 10% less spaghetti