<%inherit file="/base.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.pokedex_img("heartgold-soulsilver/{0}{1}.png".format( 'shiny/' if savefile.is_shiny else '', savefile.structure.national_id), class_='icon')} % endif
% if savefile.structure.ivs.is_nicknamed: “${savefile.structure.nickname}” % else: ## XXX pokemon name ${savefile.structure.nickname} % endif % if savefile.structure.gender == 'male': ♂ % elif savefile.structure.gender == 'female': ♀ % else: ∅ % endif % if savefile.structure.alternate_form: ~ ${savefile.structure.alternate_form} % endif
${savefile.structure.personality}
${u"0x{0:08x}".format(savefile.structure.personality)}

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

% if savefile.structure.date_egg_received == savefile.structure.date_met: Born and hatched on ${savefile.structure.date_egg_received} % elif savefile.structure.date_egg_received: Born on ${savefile.structure.date_egg_received}; hatched on ${savefile.structure.date_met}) % else: [${savefile.structure.dppt_pokeball} ${savefile.structure.hgss_pokeball}] Caught on ${savefile.structure.date_met} at level ${savefile.structure.met_at_level} % endif at place number ${savefile.structure.dp_met_location_id} or maybe ${savefile.structure.dp_egg_location_id} orrrr ${savefile.structure.pt_met_location_id} or???? ${savefile.structure.pt_egg_location_id} ${h.pokedex.pokedex_img("versions/{0}.png".format(savefile.structure.original_version))} ps was a ${savefile.structure.encounter_type} % if savefile.structure.fateful_encounter: also fateful % endif

Stats

Experience
${savefile.structure.exp}
Happiness
${savefile.structure.happiness}
Held item
${savefile.structure.held_item_id}
Ability
${savefile.structure.ability_id}
Pokérus
${savefile.structure.pokerus}
Markings
    % 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
Shiny leaves
% if savefile.structure.shining_leaves.crown: ${h.pokedex.pokedex_img('chrome/leaf-crown.png', alt='Leaf Crown', title='Leaf Crown')} % else:
    % for leaf_n in range(1, 6):
  • % if savefile.structure.shining_leaves['leaf' + str(leaf_n)]: ${h.pokedex.pokedex_img('chrome/shiny-leaf.png', alt='Shiny Leaf', title='Shiny Leaf')} % endif
  • % endfor
% endif
Ribbons
    % for region, ribbon_container in ('hoenn', savefile.structure.hoenn_ribbons), \ ('sinnoh', savefile.structure.sinnoh_ribbons), \ ('sinnoh', savefile.structure.sinnoh_contest_ribbons): % for ribbon in reversed(ribbon_container.__attrs__): % if ribbon_container[ribbon]:
  • ${h.pokedex.pokedex_img("ribbons/{0}/{1}.png".format(region, ribbon.replace(u'_', u'-')), alt=ribbon.replace(u'_', u' ').title(), title=ribbon.replace(u'_', u' ').title())}
  • % endif % endfor % endfor
Stat Gene Exp
HP ${savefile.structure.ivs.iv_hp} ${savefile.structure.effort_hp}
Attack ${savefile.structure.ivs.iv_attack} ${savefile.structure.effort_attack}
Defense ${savefile.structure.ivs.iv_defense} ${savefile.structure.effort_defense}
Special Attack ${savefile.structure.ivs.iv_special_attack} ${savefile.structure.effort_special_attack}
Special Defense ${savefile.structure.ivs.iv_special_defense} ${savefile.structure.effort_special_defense}
Speed ${savefile.structure.ivs.iv_speed} ${savefile.structure.effort_speed}
% for i in range(1, 5): % endfor
move_id pp pp_ups
${savefile.structure['move' + str(i) + '_id']} ${savefile.structure['move' + str(i) + '_pp']} ${savefile.structure['move' + str(i) + '_pp_ups']}
% for contest_stat in ('beauty', 'cool', 'cute', 'smart', 'tough'): % endfor
${contest_stat} ${savefile.structure['contest_' + contest_stat]}
% endfor