 	
 	override func update(deltaTime seconds: TimeInterval) {
 		if actions.isEmpty {
-			actions = GKRandomSource().arrayByShufflingObjects(in: kokoActionImages) as! [String]
+			actions = GKRandomSource().arrayByShufflingObjects(in: actionImages[characterNode.name!]!) as! [String]
 		}
 		characterNode.texture = SKTexture(imageNamed: actions.popLast()!)
 		characterNode.run(SKAction.sequence([

	}
	
	override func didEnter(from previousState: GKState?) {
		let imageName = GKRandomSource().arrayByShufflingObjects(in: kokoActionImages).first as! String
		characterNode.texture = SKTexture(imageNamed: imageName)
	}
}

	
	override init(characterNode: SKSpriteNode) {
		super.init(characterNode: characterNode)
		self.walkAction = SKAction.init(named: walk[characterNode.name!]!)!
	}

	override func update(deltaTime seconds: TimeInterval) {
