- <h2>Stats</h2>
- <dl>
- <dt>Experience</dt>
- <dd>${savefile.structure.exp}</dd>
- <dt>Happiness</dt>
- <dd>${savefile.structure.happiness}</dd>
- <dt>Held item</dt>
- <dd>${savefile.structure.held_item_id}</dd>
- <dt>Ability</dt>
- <dd>${savefile.structure.ability_id}</dd>
- <dt>Pokérus</dt>
- <dd>${savefile.structure.pokerus}</dd>
- <dt>Markings</dt>
- <dd>
- <ul class="gts-pokemon-markings">
- % if savefile.structure.markings.heart:
- <li>♥</li>
- % else:
- <li>♡</li>
- % endif
- % if savefile.structure.markings.diamond:
- <li>◆</li>
- % else:
- <li>◇</li>
- % endif
- % if savefile.structure.markings.triangle:
- <li>▲</li>
- % else:
- <li>△</li>
- % endif
- % if savefile.structure.markings.square:
- <li>■</li>
- % else:
- <li>□</li>
- % endif
- % if savefile.structure.markings.star:
- <li>★</li>
- % else:
- <li>☆</li>
- % endif
- % if savefile.structure.markings.circle:
- <li>●</li>
+ ## Shiny leaves
+ % if savefile.structure.shining_leaves.crown:
+ <p>${h.pokedex.pokedex_img('chrome/leaf-crown.png', alt='Leaf Crown', title='Leaf Crown')}</p>
+ % elif any(savefile.shiny_leaves):
+ <ul class="gts-pokemon-leaves">
+ % for leaf in savefile.shiny_leaves:
+ <li>
+ % if leaf:
+ ${h.pokedex.pokedex_img('chrome/shiny-leaf.png', alt='Shiny Leaf', title='Shiny Leaf')}
+ % endif
+ </li>
+ % endfor
+ </ul>
+ % endif
+
+ <%! from pokedex import formulae %>\
+ <div class="dex-column-container gts-pokemon-columns">
+ <div class="dex-column">
+ <ul class="classic-list">
+ <li>Level ${savefile.level}: ${savefile.structure.exp} EXP</li>
+ % if savefile.exp_to_next:
+ <li>
+ <div class="gts-bar-container">
+ <div class="gts-bar" style="width: ${savefile.progress_to_next * 100}%;"> ${savefile.exp_to_next} to level ${savefile.level + 1}</div>
+ </div>
+ </li>
+ % endif
+ <li>Has <a href="${url(controller='dex', action='abilities', name=savefile.ability.name.lower())}">${savefile.ability.name}</a></li>
+ <li>
+ % if savefile.held_item:
+ Holding ${h.pokedex.item_link(savefile.held_item)}