[gd_resource type="AnimationNodeStateMachine" load_steps=19 format=3 uid="uid://ddr1ltkievtku"]

[ext_resource type="AnimationNodeBlendSpace2D" uid="uid://cy73mgvdr54rh" path="res://animations/human/human_walking_blend.tres" id="1_wk1fq"]

[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_8th2p"]
animation = &"grabbing_left"

[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_s1koi"]
animation = &"grabbing_right"

[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_11i5t"]
animation = &"grabbing_up"

[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_7cwjq"]
animation = &"grabbing_down"

[sub_resource type="AnimationNodeBlendSpace2D" id="AnimationNodeBlendSpace2D_8okss"]
blend_point_0/node = SubResource("AnimationNodeAnimation_8th2p")
blend_point_0/pos = Vector2(-1, 0)
blend_point_1/node = SubResource("AnimationNodeAnimation_s1koi")
blend_point_1/pos = Vector2(1, 0)
blend_point_2/node = SubResource("AnimationNodeAnimation_11i5t")
blend_point_2/pos = Vector2(0, -1)
blend_point_3/node = SubResource("AnimationNodeAnimation_7cwjq")
blend_point_3/pos = Vector2(0, 1)

[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_u7tkr"]
animation = &"idle_left"

[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_qbdxx"]
animation = &"idle_right"

[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_m4jlv"]
animation = &"idle_up"

[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_20jnf"]
animation = &"idle_down"

[sub_resource type="AnimationNodeBlendSpace2D" id="AnimationNodeBlendSpace2D_epue7"]
blend_point_0/node = SubResource("AnimationNodeAnimation_u7tkr")
blend_point_0/pos = Vector2(-1, 0)
blend_point_1/node = SubResource("AnimationNodeAnimation_qbdxx")
blend_point_1/pos = Vector2(1, 0)
blend_point_2/node = SubResource("AnimationNodeAnimation_m4jlv")
blend_point_2/pos = Vector2(0, -1)
blend_point_3/node = SubResource("AnimationNodeAnimation_20jnf")
blend_point_3/pos = Vector2(0, 1)
blend_mode = 2

[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_qfvli"]
advance_mode = 2
advance_expression = "velocity"

[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_8rhh4"]
advance_mode = 2
advance_expression = "!velocity"

[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_b5dux"]
advance_mode = 2
advance_expression = "velocity"

[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_8q1xr"]
advance_mode = 2
advance_expression = "!velocity"

[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_on1es"]
advance_mode = 2
advance_expression = "wants_to_grab"

[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_pxk2l"]
advance_mode = 2
advance_expression = "wants_to_grab"

[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_t6jft"]
break_loop_at_end = true
switch_mode = 2
advance_mode = 2

[resource]
states/End/position = Vector2(946, 81.8025)
states/Start/position = Vector2(161.333, 82)
states/grabing/node = SubResource("AnimationNodeBlendSpace2D_8okss")
states/grabing/position = Vector2(667.667, 81.7696)
states/idling/node = SubResource("AnimationNodeBlendSpace2D_epue7")
states/idling/position = Vector2(383.148, 81.5555)
states/walking/node = ExtResource("1_wk1fq")
states/walking/position = Vector2(382.556, -106.667)
transitions = ["Start", "walking", SubResource("AnimationNodeStateMachineTransition_qfvli"), "walking", "idling", SubResource("AnimationNodeStateMachineTransition_8rhh4"), "idling", "walking", SubResource("AnimationNodeStateMachineTransition_b5dux"), "Start", "idling", SubResource("AnimationNodeStateMachineTransition_8q1xr"), "idling", "grabing", SubResource("AnimationNodeStateMachineTransition_on1es"), "walking", "grabing", SubResource("AnimationNodeStateMachineTransition_pxk2l"), "grabing", "idling", SubResource("AnimationNodeStateMachineTransition_t6jft")]
graph_offset = Vector2(1, -190)
