   largeFlag: false
   secretary: -1
   shipId: -1
-## ## ## ## ## ## ## ##
+# Game listener
+### TODO Add event map level ###
 window.addEventListener 'game.response', async (e) ->
   {method, path, body, postBody} = e.detail
-  {_ships, _decks} = window
+  {_ships, _decks, _teitokuLv} = window
   switch path
+    # Create ship report
     when '/kcsapi/api_req_kousyou/createship'
       creating = true
       kdockId = parseInt(postBody.api_kdock_id) - 1

Promise = require 'bluebird'
async = Promise.coroutine
request = Promise.promisifyAll require 'request'
## ## CreateShip ## ##
creating = false
kdockId = -1
detail =

        largeFlag: (parseInt(postBody.api_large_flag) != 0)
        highspeed: parseInt(postBody.api_highspeed)
        secretary: _ships[secretaryIdx].api_ship_id
        teitokuLv: _teitokuLv
        shipId: -1
    when '/kcsapi/api_get_member/kdock'
      return unless creating
