<%inherit file="/base.mako" /> <%namespace name="dexlib" file="/pokedex/lib.mako"/> <%def name="title()">Stored Pokémon % for savefile in c.savefiles:
% if savefile.structure.ivs.is_egg: ${h.pokedex.pokedex_img("heartgold-soulsilver/egg.png", class_='icon')} % else: ${h.pokedex.pokemon_image(savefile.species_form, prefix='heartgold-soulsilver/' + ('shiny/' if savefile.is_shiny else ''), class_='icon')} % endif
% if savefile.structure.ivs.is_nicknamed: “${savefile.structure.nickname}” % else: ${savefile.species.full_name} % endif % if savefile.structure.gender == 'male': ♂ % elif savefile.structure.gender == 'female': ♀ % else: ∅ % endif
${savefile.structure.personality}
${u"0x{0:08x}".format(savefile.structure.personality)}
## Met stuff

Original trainer: ${savefile.structure.original_trainer_name} ${u'♂' if savefile.structure.original_trainer_gender == 'male' else u'♀'} ${savefile.structure.original_country}, ID ${"%05d" % savefile.structure.original_trainer_id} / ${"%05d" % savefile.structure.original_trainer_secret_id}

${h.pokedex.pokedex_img("items/%s.png" % h.pokedex.filename_from_name(savefile.pokeball.name), alt=savefile.pokeball.name, title=savefile.pokeball.name)} % if savefile.structure.date_egg_received: Egg received on ${savefile.structure.date_egg_received} around ${savefile.egg_location.name}. Hatched on ${savefile.structure.date_met} around ${savefile.met_location.name} at level 1. % else: Encountered via ${savefile.structure.encounter_type} and caught on ${savefile.structure.date_met} around ${h.pokedex.pokedex_img("versions/{0}.png".format(savefile.structure.original_version))} ${savefile.met_location.name} at level ${savefile.structure.met_at_level}. % endif

## Ribbons ## Shiny leaves % if savefile.structure.shining_leaves.crown:

${h.pokedex.pokedex_img('chrome/leaf-crown.png', alt='Leaf Crown', title='Leaf Crown')}

% elif any(savefile.shiny_leaves): % endif <%! from pokedex import formulae %>\
  • Level ${savefile.level}: ${savefile.structure.exp} EXP
  • % if savefile.exp_to_next:
  •  ${savefile.exp_to_next} to level ${savefile.level + 1}
  • % endif
  • Has ${savefile.ability.name}
  • % if savefile.held_item: Holding ${h.pokedex.item_link(savefile.held_item)} % else: Holding nothing % endif
  •  ${savefile.structure.happiness} happiness
  • % if savefile.structure.fateful_encounter:
  • fateful encounter
  • % endif % if savefile.structure.pokerus:
  • PokéRUS! ${savefile.structure.pokerus}
  • % endif
    • % if savefile.structure.markings.heart:
    • % else:
    • % endif % if savefile.structure.markings.diamond:
    • % else:
    • % endif % if savefile.structure.markings.triangle:
    • % else:
    • % endif % if savefile.structure.markings.square:
    • % else:
    • % endif % if savefile.structure.markings.star:
    • % else:
    • % endif % if savefile.structure.markings.circle:
    • % else:
    • % endif
% for stat_info in savefile.stats: % endfor
Base Gene Exp Calc
${stat_info.stat.name} ${stat_info.base}
 ${stat_info.gene}
 ${stat_info.exp}
${stat_info.calc}
% for contest_stat in ('beauty', 'cool', 'cute', 'smart', 'tough'): % endfor
Contest stats
${h.pokedex.pokedex_img("chrome/contest/{0}.png".format(contest_stat))}
 ${savefile.structure['contest_' + contest_stat]}
Sheen
 ${savefile.structure.contest_sheen}
## Moves ${dexlib.move_table_columns()} ${dexlib.move_table_header()} % for move, pp in zip(savefile.moves, savefile.move_pp): % if move: ${dexlib.move_table_row(move, pp_override=pp)} % else: ${dexlib.move_table_blank_row()} % endif % endfor
% endfor