       koukuAttack sortieHp, enemyHp, body.api_kouku2.api_stage3
     if body.api_kouku2.api_stage3_combined?
       koukuAttack combinedHp, enemyHp, body.api_kouku2.api_stage3_combined
+    checkRepair sortieHp, combinedHp, sortieInfo, combinedInfo
   # Support battle
 
   if body.api_support_info?

          daySortieDmg = Object.clone sortieHp.dmg
          dayEnemyDmg = Object.clone enemyHp.dmg
          dayCombinedDmg = Object.clone combinedHp.dmg
          result = analogBattle sortieHp, enemyHp, combinedHp, false, false, body, 1, planeCount
          for i in [0..5]
            sortieHp.dmg[i] -= daySortieDmg[i]
            enemyHp.dmg[i] -= dayEnemyDmg[i]

      supportAttack enemyHp, body.api_support_info.api_support_hourai.api_damage
    else
      supportAttack enemyHp, body.api_support_info.api_damage
    checkRepair sortieHp, combinedHp, sortieInfo, combinedInfo
  # Opening battle

  if body.api_opening_atack?
