 class @Attachment.Encore extends @VolatileAttachment
   name: "EncoreAttachment"
 
-  constructor: ->
-    super()
+  initialize: =>
     @turns = 3
     @turn = 0
-
-  initialize: =>
     @move = @pokemon.lastMove
 
   beginTurn: (battle) =>

class @Attachment.Screen extends @TeamAttachment
  name: "ScreenAttachment"

  constructor: (attributes={}) ->
    super(attributes)
    {user} = attributes
    @turns = (if user?.hasItem("Light Clay") then 8 else 5)


class @Attachment.Yawn extends @VolatileAttachment
  name: 'YawnAttachment'

  initialize: =>
    @turn = 0

  endTurn: =>
