 updateJson = (jsonId, jsonContent) ->
   if jsonContent?
     enemyInformation[jsonId] = jsonContent
-    fs.writeFileSync enemyPath, JSON.stringify(enemyInfo), 'utf8'
+    fs.writeFileSync enemyPath, JSON.stringify(enemyInformation), 'utf8'
   null
 
 currentState = [0, 0]

            jsonContent.totalTyku = getTyku jsonContent.ship, body.api_eSlot
            jsonContent.hp = Object.clone maxHp
            jsonContent.hp.splice 0, 6
          if body.api_kouku.api_stage3?
            afterHp = koukuAttack afterHp, body.api_kouku.api_stage3
          if body.api_opening_atack?

    handleResponse: (e) ->
      {method, path, body, postBody} = e.detail
      {afterHp, nowHp, maxHp, damageHp, shipName, shipLv, enemyInfo, getShip, beforeAttack, enemyState} = @state
      enemyState = [0, 0]
      flag = false
      switch path
        when '/kcsapi/api_req_map/start'
