diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-09-24 11:23:27 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-09-24 11:23:27 -0400 |
commit | 2405727d7d62fce31102520167cde42ee688c198 (patch) | |
tree | fbbf85f42ca6f0c17573974ca9c265a0d5aaf060 /app/jobs | |
parent | 0df34b64734e686f399ad7081c9b4e4921f75d64 (diff) | |
download | pokeviewer-2405727d7d62fce31102520167cde42ee688c198.tar.gz pokeviewer-2405727d7d62fce31102520167cde42ee688c198.tar.bz2 pokeviewer-2405727d7d62fce31102520167cde42ee688c198.zip |
Started working on UI
This commit imports a lot of assets from veekun, as well as a font from http://www.victoryroad.net/showthread.php?t=1507
Diffstat (limited to 'app/jobs')
-rw-r--r-- | app/jobs/pokeviewer/extract_save_data_job.rb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/app/jobs/pokeviewer/extract_save_data_job.rb b/app/jobs/pokeviewer/extract_save_data_job.rb index 193bd73..e4f3ae2 100644 --- a/app/jobs/pokeviewer/extract_save_data_job.rb +++ b/app/jobs/pokeviewer/extract_save_data_job.rb | |||
@@ -27,8 +27,14 @@ module Pokeviewer | |||
27 | r.species_id = param["species"] | 27 | r.species_id = param["species"] |
28 | r.ot_name = param["otName"] | 28 | r.ot_name = param["otName"] |
29 | r.ot_number = param["otId"] | 29 | r.ot_number = param["otId"] |
30 | r.met_type = :normal | 30 | |
31 | r.met_level = param["metLevel"] | 31 | if param["metLevel"] == 0 |
32 | r.met_type = :hatched | ||
33 | else | ||
34 | r.met_type = :normal | ||
35 | r.met_level = param["metLevel"] | ||
36 | end | ||
37 | |||
32 | r.shiny = param["shiny"] | 38 | r.shiny = param["shiny"] |
33 | r.nature = Pokemon.nature.values[param["nature"]] | 39 | r.nature = Pokemon.nature.values[param["nature"]] |
34 | r.gender = param["gender"] | 40 | r.gender = param["gender"] |