     func playerDeter() {
         badGuys?.particleBirthRate *= 0.999
         
-        for enemy in enemyList {
+        for enemy in enemyArray {
             if enemy!.intersects(badGuys!) {
                 badGuys?.particleBirthRate *= 0.999
             }

        enemy.yScale = 0.6
        self.addChild(enemy)
        
        enemyList.append(enemy)
        
        // Spawn more enemies
        enemy.run((SKAction.sequence([moveEnemy, waitRandom,SKAction.removeFromParent()])), completion: {

    var health: Double = 1.0
    var textureArray: [SKTexture?]? = nil
    
    // MARK: Make enemy deteriorate.
    func deteriorate() {
        // If health will pass 1.0, 0.667, 0.334, or 0.0
        if (Int(health*3) > Int(health*2.7)) {
