From 34830f2e96e4213e8acb10ea457244c7523aeb5a Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 30 Sep 2017 23:27:42 -0400 Subject: Emerald animated sprites only loop on demand MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was a little annoying that the animated sprites for Pokémon in Emerald would infinitely loop without much delay between the loops, so the GIFs were edited such that they only play once, and some JavaScript was added such that mousing over the sprite makes it play again. --- app/views/pokeviewer/pokemon/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views') diff --git a/app/views/pokeviewer/pokemon/show.html.haml b/app/views/pokeviewer/pokemon/show.html.haml index 9e892a7..4485932 100644 --- a/app/views/pokeviewer/pokemon/show.html.haml +++ b/app/views/pokeviewer/pokemon/show.html.haml @@ -1,4 +1,4 @@ -.pokemon +.pokemon{ class: "in-#{@pokemon.trainer.game}" } .pokemon-basics .pokemon-species-id= "No. #{@pokemon.species_id}" .pokemon-species-name= @pokemon.species.name -- cgit 1.4.1