     c = String.fromCharCode(event.charCode)
     if not player.word?
         player.word = pool_words.get(c)
-    if not player.word? and shoot_name?
-        if c == shoot_name.remain[0]
-            player.word = shoot_name
+    if not player.word? and inventory.name?
+        if c == inventory.name.remain[0]
+            player.word = inventory.name
     if c == player.word?.remain[0]
         player.word.shot()
     if player.word?.remain == ''

    $('#keep').html(inventory.show())
    $('#playground').empty()
    if player.word?
        if player.word.full == shoot_name?.full
            player.word.update()
        else
            player.word.move()

        @point = 0
        @die = false
        @word = null
        @game = null
        @longest = []


pool_words = new class PoolWord
