21 lines
723 B
Plaintext
21 lines
723 B
Plaintext
|
.forme-sprite-box
|
||
|
- var url = window.PokemonSprite(pokemon)
|
||
|
img.forme-sprite(src=url, alt="")
|
||
|
.species-types
|
||
|
.shiny-switch.selected_shininess(class=(pokemon.get("shiny") ? "selected" : ""))
|
||
|
.top
|
||
|
.bottom
|
||
|
each type in pokemon.getForme().types
|
||
|
img(src=window.TypeSprite(type), alt=type)
|
||
|
.happiness-switch.selected_happiness
|
||
|
|
||
|
- var formes = pokemon.getSelectableFormes()
|
||
|
if formes.length > 1
|
||
|
.teambuilder_row
|
||
|
.teambuilder_col Forme:
|
||
|
select.teambuilder_col.selected-forme
|
||
|
each forme in formes
|
||
|
- var displayedForme = forme[0].toUpperCase() + forme.substr(1)
|
||
|
- var selected = (forme === pokemon.get('forme'))
|
||
|
option(value=forme, selected=selected)= displayedForme
|