{
	"format_version": "1.10.0",
	"animation_controllers": {
		"controller.animation.manalabs_zombie.amalgam.movement": {
			"states": {
				"default": {
					"transitions": [
						{
							"run": "q.ground_speed > 1"
						},
						{
							"walk": "q.ground_speed > 0.01"
						}
					],
					"blend_transition": 0.2
				},
				"walk": {
					"animations": ["walk"],
					"transitions": [
						{
							"run": "q.ground_speed > 1"
						},
						{
							"default": "q.ground_speed < 0.01"
						}
					],
					"blend_transition": 0.2
				},
				"run": {
					"animations": ["run"],
					"transitions": [
						{
							"default": "q.ground_speed < 0.01"
						},
						{
							"walk": "q.ground_speed > 0.01 && q.ground_speed < 1"
						}
					],
					"blend_transition": 0.2
				}
			}
		},
		"controller.animation.manalabs_zombie.amalgam.random_idle": {
			"initial_state": "default",
			"states": {
				"default": {
					"on_entry": ["v.idle_delay_0 = math.random(10, 30) + q.life_time;"],
					"transitions": [
						{
							"random_front_observing": "(v.idle_delay_0 - q.life_time) < 0"
						}
					],
					"blend_transition": 0.1
				},
				"random_front_observing": {
					"animations": ["random_front_observing"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.1
				}
			}
		},
		"controller.animation.manalabs_zombie.amalgam.random_idle_head_1": {
			"initial_state": "default",
			"states": {
				"default": {
					"on_entry": ["v.idle_delay_1 = math.random(5, 10) + q.life_time;"],
					"transitions": [
						{
							"random_back_head_observing": "(v.idle_delay_1 - q.life_time) < 0"
						}
					],
					"blend_transition": 0.1
				},
				"random_back_head_observing": {
					"animations": ["random_back_head_observing_1"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.1
				}
			}
		},
		"controller.animation.manalabs_zombie.amalgam.random_idle_head_2": {
			"initial_state": "default",
			"states": {
				"default": {
					"on_entry": ["v.idle_delay_2 = math.random(5, 10) + q.life_time;"],
					"transitions": [
						{
							"random_back_head_observing": "(v.idle_delay_2 - q.life_time) < 0"
						}
					],
					"blend_transition": 0.1
				},
				"random_back_head_observing": {
					"animations": ["random_back_head_observing_2"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.1
				}
			}
		},
		"controller.animation.manalabs_zombie.amalgam.random_idle_head_3": {
			"initial_state": "default",
			"states": {
				"default": {
					"on_entry": ["v.idle_delay_3 = math.random(5, 10) + q.life_time;"],
					"transitions": [
						{
							"random_back_head_observing": "(v.idle_delay_3 - q.life_time) < 0"
						}
					],
					"blend_transition": 0.1
				},
				"random_back_head_observing": {
					"animations": ["random_back_head_observing_3"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.1
				}
			}
		},
		"controller.animation.manalabs_zombie.amalgam.random_idle_head_4": {
			"initial_state": "default",
			"states": {
				"default": {
					"on_entry": ["v.idle_delay_4 = math.random(5, 10) + q.life_time;"],
					"transitions": [
						{
							"random_back_head_observing": "(v.idle_delay_4 - q.life_time) < 0"
						}
					],
					"blend_transition": 0.1
				},
				"random_back_head_observing": {
					"animations": ["random_back_head_observing_4"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.1
				}
			}
		},
		"controller.animation.manalabs_zombie.amalgam.random_idle_head_5": {
			"initial_state": "default",
			"states": {
				"default": {
					"on_entry": ["v.idle_delay_5 = math.random(5, 10) + q.life_time;"],
					"transitions": [
						{
							"random_back_head_observing": "(v.idle_delay_5 - q.life_time) < 0"
						}
					],
					"blend_transition": 0.1
				},
				"random_back_head_observing": {
					"animations": ["random_back_head_observing_5"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.1
				}
			}
		},
		"controller.animation.manalabs_zombie.amalgam.hurt": {
			"initial_state": "default",
			"states": {
				"default": {
					"on_entry": ["v.choose_hit = math.random(0, 100);"],
					"transitions": [
						{
							"hit_left": "q.hurt_time > 0 && v.choose_hit > 75"
						},
						{
							"hit_right": "q.hurt_time > 0 && v.choose_hit > 50"
						},
						{
							"hit_center": "q.hurt_time > 0"
						}
					]
				},
				"hit_left": {
					"animations": ["hit_left"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.2
				},
				"hit_right": {
					"animations": ["hit_right"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.2
				},
				"hit_center": {
					"animations": ["hit_center"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.2
				}
			}
		},
		"controller.animation.manalabs_zombie.amalgam.knockback_attack": {
			"initial_state": "default",
			"states": {
				"default": {
					"on_entry": ["v.choose_knockback_attack = math.random(0, 100);"],
					"transitions": [
						{
							"attack_big_swipe_left": "q.is_roaring && v.choose_knockback_attack > 50"
						},
						{
							"attack_big_swipe_right": "q.is_roaring"
						}
					],
					"blend_transition": 0.2
				},
				"attack_big_swipe_left": {
					"animations": ["attack_big_swipe_left"],
					"transitions": [
						{
							"aggro": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.2
				},
				"attack_big_swipe_right": {
					"animations": ["attack_big_swipe_right"],
					"transitions": [
						{
							"aggro": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.2
				},
				"aggro": {
					"animations": ["aggro"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.2
				}
			}
		},
		"controller.animation.manalabs_zombie.amalgam.delayed_attack": {
			"initial_state": "default",
			"states": {
				"default": {
					"on_entry": ["v.choose_delayed_attack = math.random(0, 100);"],
					"transitions": [
						{
							"attack_swipe_left": "q.is_delayed_attacking && v.choose_delayed_attack > 60"
						},
						{
							"attack_swipe_right": "q.is_delayed_attacking && v.choose_delayed_attack > 20"
						},
						{
							"attack_bite": "q.is_delayed_attacking"
						}
					]
				},
				"attack_swipe_left": {
					"animations": ["attack_swipe_left"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.2
				},
				"attack_swipe_right": {
					"animations": ["attack_swipe_right"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.2
				},
				"attack_bite": {
					"animations": ["attack_bite"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.2
				}
			}
		},
		"controller.animation.manalabs_zombie.amalgam.summon_attack": {
			"initial_state": "default",
			"states": {
				"default": {
					"transitions": [
						{
							"attack_spawn": "q.is_casting"
						}
					],
					"blend_transition": 0.2
				},
				"attack_spawn": {
					"animations": ["attack_spawn"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.2
				}
			}
		},
		"controller.animation.manalabs_zombie.amalgam.death": {
			"initial_state": "default",
			"states": {
				"default": {
					"transitions": [
						{
							"death": "q.health == 1"
						}
					],
					"blend_transition": 0.2
				},
				"death": {
					"animations": ["death"]
				}
			}
		}
	}
}
