     total += (request  for request of @requests).length
     total == 0
 
-  checkReplacements: ->
+  checkForReplacements: ->
     @performFaints()
     if @isOver()
       @endBattle()

    @query("endTurn")
    for pokemon in @getActivePokemon()
      pokemon.turnsActive += 1
    @checkReplacements()

  attach: (klass, options = {}) ->
    options = _.clone(options)

      pokemon.team.switchIn(pokemon)

    # Pokemon may have fainted upon switch-in; we need to check.
    @checkForReplacements()

  # Executed by @continueTurn
  performMove: (pokemon, move) ->
