stop
{
	trigger
	{
		!state started
	}
	start
	{
		+state started
		+state waiting
	}
}

// walking

walk1
{
	trigger
	{
		!state walking
		!state feeding
		!state sniffing
		!state dying
		!state dosniff
		!state dofeed
		state dowalk
	}
	trigger
	{
		!state dying
		!state endwalk
		-anim walk3
	}
	start
	{
		-anim run1
		-anim run2
		-anim run3
		-state dowalk
		-state endwalk
		+state walking
		-state waiting
	}
	foot r_back_foot_NULL
}

walk2
{
	trigger
	{
		!state dying
		!state endwalk
		-anim walk1
	}
	foot movement_NULL
}

walk3
{
	trigger
	{
		!state dying
		!state endwalk
		-anim walk2
	}
	foot r_front_foot_NULL
}

lwlkstop
{
	trigger
	{
		!state dying
		state endwalk
		-anim walk1
	}
	trigger
	{
		!state dying
		state endwalk
		-anim walk2
	}
	trigger
	{
		!state dying
		state endrun
	}
	start
	{
		-anim run1
		-anim run2
		-anim run3
		-state endrun
		-state running
		+state walking
	}
	end
	{
		-state walking
		-state endwalk
		+state waiting
	}
	foot r_back_foot_NULL
}

rwlkstop
{
	trigger
	{
		!state dying
		state endwalk
		-anim walk3
	}
	end
	{
		-state walking
		-state endwalk
		+state waiting
	}
	foot movement_NULL
}

// running

run1
{
	trigger
	{
		!state running
		!state dying
		state dorun
	}
	trigger
	{
		!state endrun
		-anim run3
	}
	start
	{
		-anim walk1
		-anim walk2
		-anim walk3
		-anim lwlkstop
		-anim rwlkstop
		-anim stopfeed
		-anim feed
		-anim feedstop
		-anim sniff
		-state waiting
		-state sniffing
		-state feeding
		-state walking
		-state dorun
		+state running
	}
	foot r_back_foot_NULL
}

run2
{
	trigger
	{
		!state endrun
		!state dying
		-anim run1
	}
	foot movement_NULL
}

run3
{
	trigger
	{
		!state endrun
		!state dying
		-anim run2
	}
	foot r_front_foot_NULL
}

stopfeed
{
	trigger
	{
		!state walking
		!state feeding
		!state sniffing
		!state dying
		state dofeed
	}
	start
	{
		+state feeding
		-state dofeed
		-state waiting
	}
}

feed
{
	trigger
	{
		!state dying
		!state endfeed
		-anim stopfeed
	}
	trigger
	{
		!state dying
		!state endfeed
		-anim feed
	}
}

feedstop
{
	trigger
	{
		!state dying
		state endfeed
		-anim stopfeed
	}
	trigger
	{
		!state dying
		state endfeed
		-anim feed
	}
	end
	{
		-state endfeed
		-state feeding
		+state waiting
	}
}

sniff
{
	trigger
	{
		!state walking
		!state feeding
		!state sniffing
		!state dying
		state dosniff
	}
	start
	{
		+state sniffing
		-state dosniff
		-state waiting
	}
	end
	{
		-state sniffing
		+state waiting
	}
}

shtbdy1
{
	trigger
	{
		!state dying
		state bodyshot
	}
	start
	{
		-anim walk1
		-anim walk2
		-anim walk3
		-anim lwlkstop
		-anim rwlkstop
		-anim stopfeed
		-anim feed
		-anim feedstop
		-anim sniff
		-anim run1
		-anim run2
		-anim run3
		+state dying
		-state bodyshot
		-state waiting
	}
}

ddbdy
{
	trigger
	{
		-anim shtbdy1
	}
}

shthed1
{
	trigger
	{
		!state dying
		state headshot
	}
	start
	{
		-anim walk1
		-anim walk2
		-anim walk3
		-anim lwlkstop
		-anim rwlkstop
		-anim stopfeed
		-anim feed
		-anim feedstop
		-anim sniff
		-anim run1
		-anim run2
		-anim run3
		+state dying
		-state headshot
		-state waiting
	}
}

ddhed
{
	trigger
	{
		-anim shthed1
	}
}

norun stop
norun ddbdy
norun ddhed