{
	"format_version": "1.19.0",
	"animation_controllers": {
		"controller.animation.p2.hold": {
			"states": {
				"default": {
					"transitions": [
						{"hold": "v.p2"}
					],
					"blend_transition": 0.2
				},
				"hold": {
					"animations": [
						{"p2_hold": "!v.is_first_person"},
						{"p2_hold_fp": "v.is_first_person"}
					],
					"transitions": [
						{"scope": "v.p2 && q.is_sneaking"},
						{"reload": "q.get_equipped_item_name == 'p-2_reloading'"},
						{"default": "!v.p2"},
						{"run": "v.p2 && q.is_sprinting"},
						{"melee":"v.attack_time"}
					],
					"blend_transition": 0.15
				},
				"walk": {
					"animations": [
					    {"p2_walk":"!v.is_first_person"},
					    {"p2_hold_fp":"v.is_first_person"}
					],
					"transitions": [
						{"scope": "v.p2 && q.is_sneaking"},
						{"reload": "q.get_equipped_item_name == 'p-2_reloading'"},
						{"default": "!v.p2"},
						{"run": "v.p2 && q.is_sprinting"},
						{"hold": "v.p2 && !q.is_moving"},
						{"melee":"v.attack_time"}
					],
					"blend_transition": 0.15
				},
				"scope": {
					"animations": [
						{"p2_aim": "!v.is_first_person"},
						{"p2_aim_fp": "v.is_first_person"}
					],
					"transitions": [
						{"hold": "v.p2 && !q.is_sneaking"},
						{"reload": "q.get_equipped_item_name == 'p-2_reloading'"},
						{"default": "!v.p2"}
					],
					"blend_transition": 0.15
				},
				"reload": {
					"animations": [
						{"p2_reload_full": "!v.is_first_person && q.mark_variant==0"},
						{"p2_reload_empty": "!v.is_first_person && q.mark_variant==1"},
						{"p2_reload_full_fp": "v.is_first_person && q.mark_variant==0"},
						{"p2_reload_empty_fp": "v.is_first_person && q.mark_variant==1"}
					],
					"transitions": [
						{"hold": "v.p2 &&  q.get_equipped_item_name != 'p-2_reloading'"},
						{"scope": "v.p2 && q.is_sneaking &&  q.get_equipped_item_name != 'p-2_reloading'"},
						{"default": "!v.p2"}
					],
					"blend_transition": 0.2
				},
				"run": {
					"animations": [
					    {"p2_run":"!v.is_first_person"},
					    {"p2_run_fp":"v.is_first_person"}
					],
					"transitions": [
						{"hold": "!q.is_sprinting && v.p2"},
						{"default": "!v.p2"},
						{"scope": "q.is_sneaking && v.p2"},
						{"reload": "q.get_equipped_item_name=='p-2_reloading'"},
						{"melee":"v.attack_time"}
					],
					"blend_transition": 0.15
				},
				"melee": {
					"animations": [
						{"p2_melee":"!v.is_first_person"},
						{"p2_melee_fp":"v.is_first_person"}
					],
					"transitions": [
						{"hold": "q.any_animation_finished"}
					],
					"blend_transition": 0.0
				}
			}
		}
	}
}