 makeItem 'Focus Band', ->
   this::editDamage = (damage, move) ->
     if damage >= @pokemon.currentHP && @battle.rng.randInt(0, 9, "focus band") == 0
-      @battle.message "#{@pokemon.name} hung on using its #{@name}!"
+      @battle.message "#{@pokemon.name} hung on using its #{@_name}!"
       @pokemon.useItem()
       return @pokemon.currentHP - 1
     return damage

  this::editDamage = (damage, move) ->
    maxHP = @pokemon.stat('hp')
    if @pokemon.currentHP == maxHP && damage >= maxHP
      @battle.message "#{@pokemon.name} hung on using its #{@name}!"
      @pokemon.useItem()
      return maxHP - 1
    return damage

    # TODO: Does Shell Bell display a message if the Pokemon is at full HP?
    return  if damage == 0
    user.damage -Math.floor(damage / 8)
    @battle.message "#{user.name} restored some of its HP using its #{@_name}!"

makeTypeResistBerry 'Shuca Berry', 'Ground'
makeTypeBoostItem 'Silk Scarf', 'Normal'
