       deckId = parseInt(postBody.api_deck_id) - 1
       nowHp = []
       colorNo = body.api_color_no
+      enemyFormation = 0
     when '/kcsapi/api_req_map/next'
       currentCell = body.api_no
       battled = false
       colorNo = body.api_color_no
+      enemyFormation = 0
     when '/kcsapi/api_port/port'
       # Initialize all info
       deckId = -1

            deckShipId: Object.clone _decks[deckId].api_ship
            deckHp: nowHp.slice 0, 6
            enemyShipId: Object.clone enemyShipId
            enemyHp: nowHp.slice 6, 12
        window.dispatchEvent event

battled = false
nowHp = []
enemyShipId = []
# Formation: 0 - 単縦陣, 1 - 複縦陣, 2 - 輪形陣, 3 - 梯形陣, 4 - 単横陣,
# 5 - 第一警戒航行序列, 6 - 第二警戒航行序列, 7 - 第三警戒航行序列, 8 - 第四警戒航行序列
enemyFormation = 0
colorNo = -1

koukuAttack = (nowHp, kouku) ->
