about summary refs log tree commit diff stats
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-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"