diff options
Diffstat (limited to 'app/jobs')
-rw-r--r-- | app/jobs/pokeviewer/extract_save_data_job.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/jobs/pokeviewer/extract_save_data_job.rb b/app/jobs/pokeviewer/extract_save_data_job.rb index f94ce74..e9e0231 100644 --- a/app/jobs/pokeviewer/extract_save_data_job.rb +++ b/app/jobs/pokeviewer/extract_save_data_job.rb | |||
@@ -96,6 +96,7 @@ module Pokeviewer | |||
96 | r.nature = Pokemon.nature.values[param["nature"]] | 96 | r.nature = Pokemon.nature.values[param["nature"]] |
97 | r.gender = param["gender"] | 97 | r.gender = param["gender"] |
98 | r.second_ability = param["secondAbility"] | 98 | r.second_ability = param["secondAbility"] |
99 | r.pokeball = Pokemon.pokeball.values[param["pokeball"] - 1] | ||
99 | 100 | ||
100 | # Handle Unown form | 101 | # Handle Unown form |
101 | if r.species_id == 201 | 102 | if r.species_id == 201 |