diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-02-14 23:12:08 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-02-14 23:12:08 -0500 |
commit | 006cf8cebfb4e2d2dcfc537b6d3ccaaa14e28cfc (patch) | |
tree | 35f635cf9d4ac311ea1b3a06316f4e84a98fcaf0 | |
parent | 8d548aef82436ab20b1fe6dd6f6e39d1cbca6119 (diff) | |
download | pokeviewer-006cf8cebfb4e2d2dcfc537b6d3ccaaa14e28cfc.tar.gz pokeviewer-006cf8cebfb4e2d2dcfc537b6d3ccaaa14e28cfc.tar.bz2 pokeviewer-006cf8cebfb4e2d2dcfc537b6d3ccaaa14e28cfc.zip |
Fixed FRLG sprite path for species 152-156
-rw-r--r-- | app/models/pokeviewer/revision.rb | 2 |
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" |