 
         # Practice battle
         when '/kcsapi/api_req_practice/battle', '/kcsapi/api_req_practice/midnight_battle'
-          flag = true
+          shouldRender = true
           # If practice
           if path == '/kcsapi/api_req_practice/battle'
             sortieHp.dmg[i] = enemyHp.dmg[i] = combinedHp.dmg[i] = sortieHp.atk[i] = enemyHp.atk[i] = combinedHp.atk[i] = 0 for i in [0..5]

      sortieHp.now[i] = _ships[shipId].api_nowhp
      sortieHp.max[i] = _ships[shipId].api_maxhp

simulateKouku = (api_kouku, planeCount) ->
  if api_kouku.api_stage2?
    planeCount.sortie[0] -= api_kouku.api_stage2.api_f_lostcount
    planeCount.enemy[0] -= api_kouku.api_stage2.api_e_lostcount


simulateBattle = (sortieHp, enemyHp, combinedHp, isCombined, isWater, body, leastHp, planeCount, sortieInfo, combinedInfo, mvpPos) ->
  # First air battle

  if body.api_kouku?


        # Return to port
        when '/kcsapi/api_port/port'
          shouldRender = true
          goBack = Object.clone initData
          combinedFlag = body.api_combined_flag
          combinedFlag ?= 0
