 	
 	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([

let randomX = GKRandomDistribution(randomSource: GKARC4RandomSource(), lowestValue: -250, highestValue: 250)
let randomY = GKRandomDistribution(randomSource: GKARC4RandomSource(), lowestValue: -350, highestValue: -100)

let kokoActionImages = ["asisu", "hai", "koko_def", "koko_meshi", "koko_sensei", "koko_uta", "koko_zinb", "koko_zinbabue2", "kokomi_4", "kokotto", "naki_B1", "naki_B2", "orya", "ra_men", "sengen", "tettere_", "zinbabues"]


class CharacterState: GKState {

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

	override func update(deltaTime seconds: TimeInterval) {
