{
	"format_version": "1.10.0",
	"animation_controllers": {
		"controller.animation.manalabs_zombie.doc_zombie.death": {
			"initial_state": "default",
			"states": {
				"default": {
					"transitions": [
						{
							"death": "q.health == 1"
						}
					],
					"blend_transition": 0.2
				},
				"death": {
					"animations": ["death", "rocket_fall", "no_thruster_flames"]
				}
			}
		},
		"controller.animation.manalabs_zombie.doc_zombie.movement": {
			"states": {
				"default": {
					"transitions": [
						{
							"run": "q.ground_speed > 1.5 && !q.property('manalabs_zombie:hovering')"
						},
						{
							"walk": "q.ground_speed > 0.01 && !q.property('manalabs_zombie:hovering')"
						}
					],
					"blend_transition": 0.2
				},
				"walk": {
					"animations": ["walk"],
					"transitions": [
						{
							"run": "q.ground_speed > 1.5"
						},
						{
							"default": "q.ground_speed < 0.01 || q.property('manalabs_zombie:hovering')"
						}
					],
					"blend_transition": 0.2
				},
				"run": {
					"animations": ["run"],
					"transitions": [
						{
							"default": "q.ground_speed < 0.01 || q.property('manalabs_zombie:hovering')"
						},
						{
							"walk": "q.ground_speed > 0.01 && q.ground_speed < 1.5"
						}
					],
					"blend_transition": 0.2
				}
			}
		},
		"controller.animation.manalabs_zombie.doc_zombie.knockback_attack": {
			"initial_state": "default",
			"states": {
				"default": {
					"on_entry": ["v.choose_knockback_attack = math.random(0, 100);"],
					"transitions": [
						{
							"attack_stomp_right": "q.is_roaring && v.choose_knockback_attack > 50"
						},
						{
							"attack_stomp_left": "q.is_roaring"
						}
					],
					"blend_transition": 0.2
				},
				"attack_stomp_right": {
					"animations": ["attack_stomp_right"],
					"transitions": [
						{
							"aggro": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.2
				},
				"attack_stomp_left": {
					"animations": ["attack_stomp_left"],
					"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.doc_zombie.summon_attack": {
			"initial_state": "default",
			"states": {
				"default": {
					"transitions": [
						{
							"attack_drone_spawn": "q.is_casting"
						}
					],
					"blend_transition": 0.2
				},
				"attack_drone_spawn": {
					"animations": ["attack_drone_spawn"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.2
				}
			}
		},
		"controller.animation.manalabs_zombie.doc_zombie.hovering": {
			"initial_state": "default",
			"states": {
				"default": {
					"transitions": [
						{
							"rocket_jump": "q.property('manalabs_zombie:hovering')"
						}
					],
					"blend_transition": 0.2
				},
				"rocket_jump": {
					"animations": ["rocket_jump"],
					"transitions": [
						{
							"rocket_hover": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.2
				},
				"rocket_hover": {
					"animations": ["rocket_hover"],
					"transitions": [
						{
							"rocket_fall": "!q.property('manalabs_zombie:hovering')"
						}
					],
					"blend_transition": 0.2
				},
				"rocket_fall": {
					"animations": ["rocket_fall"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.2
				}
			}
		},
		"controller.animation.manalabs_zombie.doc_zombie.random_idle": {
			"initial_state": "default",
			"states": {
				"default": {
					"on_entry": [
						"v.idle_delay = math.random(10, 30) + q.life_time;",
						"v.choose_idle = math.random(0, 100);"
					],
					"transitions": [
						{
							"claw_spin": "(v.idle_delay - q.life_time) < 0 && v.choose_idle > 80"
						},
						{
							"flamethrower_check": "(v.idle_delay - q.life_time) < 0 && v.choose_idle > 40"
						},
						{
							"potion_check": "(v.idle_delay - q.life_time) < 0"
						}
					],
					"blend_transition": 0.2
				},
				"claw_spin": {
					"animations": ["claw_spin"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.2
				},
				"flamethrower_check": {
					"animations": ["flamethrower_check"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.2
				},
				"potion_check": {
					"animations": ["potion_check"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.2
				}
			}
		},
		"controller.animation.manalabs_zombie.doc_zombie.shooting_attack": {
			"initial_state": "default",
			"states": {
				"default": {
					"animations": ["no_potion"],
					"transitions": [
						{
							"attack_flamethrower": "query.facing_target_to_range_attack && q.is_charged && q.variant == 0"
						},
						{
							"attack_potion": "query.facing_target_to_range_attack && q.is_charged && q.variant == 1"
						},
						{
							"attack_syringe": "query.facing_target_to_range_attack && q.is_charged && q.variant == 2"
						}
					],
					"blend_transition": 0.2
				},
				"attack_flamethrower": {
					"animations": ["attack_flamethrower", "no_potion"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.2
				},
				"attack_potion": {
					"animations": ["attack_potion"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.2
				},
				"attack_syringe": {
					"animations": ["attack_syringe", "no_potion"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.2
				}
			}
		},
		"controller.animation.manalabs_zombie.doc_zombie.rotate": {
			"initial_state": "default",
			"states": {
				"default": {
					"transitions": [
						{
							"turn_left": "(q.body_x_rotation + 30) < query.target_x_rotation"
						},
						{
							"turn_right": "(q.body_x_rotation - 30) > query.target_x_rotation"
						}
					],
					"blend_transition": 0.2
				},
				"turn_left": {
					"animations": ["turn_left"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.2
				},
				"turn_right": {
					"animations": ["turn_right"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.2
				}
			}
		},
		"controller.animation.manalabs_zombie.doc_zombie.hurt": {
			"initial_state": "default",
			"states": {
				"default": {
					"on_entry": ["v.choose_hurt = math.random(0, 100);"],
					"transitions": [
						{
							"hit": "q.hurt_time > 0 && v.choose_hurt > 10"
						},
						{
							"hit_heavy": "q.hurt_time > 0"
						}
					],
					"blend_transition": 0.2
				},
				"hit": {
					"animations": ["hit"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.2
				},
				"hit_heavy": {
					"animations": ["hit_heavy"],
					"transitions": [
						{
							"default": "q.all_animations_finished"
						}
					],
					"blend_transition": 0.2
				}
			}
		}
	}
}
