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

// walking

lwalk
{
	trigger
	{
		!state walking
		!state attking
		!state roaring
		!state dying
		!state doroar
		!state doattk
		!state dowipe
		!state wiping
		state dowalk
	}
	trigger
	{
		!state dying
		!state endwalk
		-anim rwalk2
	}
	trigger
	{
		!state dying
		state endrun
	}
	start
	{
		-anim run1
		-anim run2
		-anim run3
		-state endrun
		-state running
		-state dowalk
		-state endwalk
		+state walking
		-state waiting
	}
	foot l_front_foot_NULL
}
lwalk2
{
	trigger
	{
		!state dying
		-anim lwalk
	}
	foot l_back_foot_NULL
}
rwalk
{
	trigger
	{
		!state dying
		!state endwalk
		-anim lwalk2
	}
	foot r_front_foot_NULL
}
rwalk2
{
	trigger
	{
		!state dying
		-anim rwalk
	}
	foot r_back_foot_NULL
}

lwlkstop
{
	trigger
	{
		!state dying
		state endwalk
		-anim rwalk2
	}
	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 l_front_foot_NULL
}

rwlkstop
{
	trigger
	{
		!state dying
		state endwalk
		-anim lwalk2
	}
	end
	{
		-state walking
		-state endwalk
		+state waiting
	}
	foot r_front_foot_NULL
}

// running

run1
{
	trigger
	{
		!state running
		!state attking
		!state dying
		!state wiping
		state dorun
	}
	trigger
	{
		!state endrun
		!state doattk
		!state attking
		-anim run3
	}
	start
	{
		-anim lwalk
		-anim lwalk2
		-anim rwalk
		-anim rwalk2
		-anim lwlkstop
		-anim rwlkstop
		-anim stopattk
		-anim attk
		-anim attkstop
		-anim roar
		-state waiting
		-state attking
		-state roaring
		-state walking
		-state dorun
		+state running
	}
	foot l_back_foot_NULL
}

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

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

stopattk
{
	trigger
	{
		!state running
		!state attking
		!state dying
		!state wiping
		state doattk
	}
	trigger
	{
		!state attking
		!state dying
		state doattk
		-anim run3
	}
	start
	{
		+state attking
		-state doattk
		-state waiting
		-anim lwalk
		-anim lwalk2
		-anim rwalk
		-anim rwalk2
		-anim lwlkstop
		-anim rwlkstop
		-anim run1
		-anim run2
		-anim run3
		-state walking
		-state running
	}
	end
	{
		callback roar
	}
	foot l_back_foot_NULL
}

attk
{
	trigger
	{
		!state endattk
		!state dying
		-anim stopattk
	}
	trigger
	{
		!state endattk
		!state dying
		-anim attk
	}
	end
	{
		callback roar
	}
	foot l_back_foot_NULL
}

attkstop
{
	trigger
	{
		state endattk
		!state dying
		-anim stopattk
	}
	trigger
	{
		!state dying
		state endattk
		-anim attk
	}
	end
	{
		-state endattk
		-state attking
		+state waiting
		callback roar
	}
	foot l_back_foot_NULL
}

roar
{
	trigger
	{
		!state walking
		!state attking
		!state roaring
		!state dying
		state doroar
	}
	start
	{
		+state roaring
		-state doroar
		-state waiting
	}
	end
	{
		-state roaring
		+state waiting
	}
}

shtbdy1
{
	trigger
	{
		!state attking
		!state dying
		state shot
	}
	start
	{
		-anim lwalk
		-anim lwalk2
		-anim rwalk
		-anim rwalk2
		-anim lwlkstop
		-anim rwlkstop
		-anim stopattk
		-anim attk
		-anim attkstop
		-anim roar
		-anim run1
		-anim run2
		-anim run3
		-anim crap1
		-anim crap2
		+state dying
		-state shot
		-state waiting
	}
	foot r_front_foot_NULL
}

ddbdy
{
	trigger
	{
		-anim shtbdy1
	}
	foot r_front_foot_NULL
}

shtstnd
{
	trigger
	{
		!state dying
		state attking
		state shot
	}
	start
	{
		-anim lwalk
		-anim lwalk2
		-anim rwalk
		-anim rwalk2
		-anim lwlkstop
		-anim rwlkstop
		-anim stopattk
		-anim attk
		-anim attkstop
		-anim roar
		-anim run1
		-anim run2
		-anim run3
		-anim crap1
		-anim crap2
		+state dying
		-state shot
		-state waiting
	}
	foot movement_NULL
}

ddstnd
{
	trigger
	{
		-anim shtstnd
	}
	foot movement_NULL
}

wipe1
{
	trigger
	{
		!state shot
		!state dying
		!state doattk
		state waiting
		state dowipe
	}
	start
	{
		+state wiping
		-state waiting
		-state dowipe
	}
	end
	{
		callback drop
	}
}

wipe2
{
	trigger
	{
		-anim wipe1
	}
	end
	{
		-state wiping
		+state waiting
	}
}

norun stop
norun ddbdy
norun ddstnd
