Added Smogon tiering system, made team invisible clause, sorted all pokemon

This commit is contained in:
Deukhoofd committed 2016-02-04 23:30:39 +01:00
1 parent d7316d5799
commit 398d23a0d6
23 files changed
+6735 -5135

No files matched your search

@@ -185,6 +185,9 @@ class @BattleView extends Backbone.View
$this.popover(options)
pokemonPopover: ($this, pokemon) =>
if @isIllusioned(pokemon)
pokemon = pokemon.getTeam().attributes.pokemon.at(pokemon.getTeam().attributes.pokemon.length - 1)
displayName = pokemon.get('species')
displayName += " @ #{pokemon.get('item')}" if pokemon.has('item')
displayName += "<br>"