about summary refs log tree commit diff stats
path: root/app
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-02-14 23:12:08 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-02-14 23:12:08 -0500
commit006cf8cebfb4e2d2dcfc537b6d3ccaaa14e28cfc (patch)
tree35f635cf9d4ac311ea1b3a06316f4e84a98fcaf0 /app
parent8d548aef82436ab20b1fe6dd6f6e39d1cbca6119 (diff)
downloadpokeviewer-006cf8cebfb4e2d2dcfc537b6d3ccaaa14e28cfc.tar.gz
pokeviewer-006cf8cebfb4e2d2dcfc537b6d3ccaaa14e28cfc.tar.bz2
pokeviewer-006cf8cebfb4e2d2dcfc537b6d3ccaaa14e28cfc.zip
Fixed FRLG sprite path for species 152-156
Diffstat (limited to 'app')
-rw-r--r--app/models/pokeviewer/revision.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/pokeviewer/revision.rb b/app/models/pokeviewer/revision.rb index e5ad1dd..05d2838 100644 --- a/app/models/pokeviewer/revision.rb +++ b/app/models/pokeviewer/revision.rb
@@ -171,7 +171,7 @@ module Pokeviewer
171 171
172 game = "ruby-sapphire" 172 game = "ruby-sapphire"
173 unless pokemon.trainer.nil? 173 unless pokemon.trainer.nil?
174 if (pokemon.trainer.firered? or pokemon.trainer.leafgreen?) and (species_id <= 156 or species_id == 216 or species_id == 386) 174 if (pokemon.trainer.firered? or pokemon.trainer.leafgreen?) and (species_id <= 151 or species_id == 216 or species_id == 386)
175 game = "firered-leafgreen" 175 game = "firered-leafgreen"
176 elsif pokemon.trainer.emerald? 176 elsif pokemon.trainer.emerald?
177 game = "emerald" 177 game = "emerald"