Crashfix: pokemon_sprite() no longer exists. master veekun-promotions/2011041101 veekun-promotions/2011041102 veekun-promotions/2011041201 veekun-promotions/2011041501 veekun-promotions/2011041601
authorEevee <git@veekun.com>
Sun, 6 Mar 2011 00:00:47 +0000 (16:00 -0800)
committerEevee <git@veekun.com>
Sun, 6 Mar 2011 00:00:47 +0000 (16:00 -0800)
splinext/gts/templates/gts/list.mako

index 4f8878a..25ccf76 100644 (file)
@@ -8,8 +8,7 @@
     % if savefile.structure.ivs.is_egg:
     ${h.pokedex.pokedex_img("heartgold-soulsilver/egg.png", class_='icon')}
     % else:
     % if savefile.structure.ivs.is_egg:
     ${h.pokedex.pokedex_img("heartgold-soulsilver/egg.png", class_='icon')}
     % else:
-    ${h.pokedex.pokemon_sprite(savefile.species,
-        form=savefile.structure.alternate_form,
+    ${h.pokedex.pokemon_image(savefile.species_form,
         prefix='heartgold-soulsilver/' + ('shiny/' if savefile.is_shiny else ''),
         class_='icon')}
     % endif
         prefix='heartgold-soulsilver/' + ('shiny/' if savefile.is_shiny else ''),
         class_='icon')}
     % endif