Merge pull request #521 from C-Garza/add-animated-sprites

This commit is contained in:
Alessandro Pezzè 2020-08-15 14:54:52 +02:00 committed by GitHub
commit 2d19a8c955
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 64 additions and 1 deletions

View file

@ -1348,6 +1348,7 @@ def _build_pokemons():
def csv_record_to_objects(info):
file_name_png = "%s.png" % info[0]
file_name_gif = "%s.gif" % info[0]
file_name_svg = "%s.svg" % info[0]
poke_sprites = "pokemon/{0}"
dream_world = "other/dream-world/{0}"
@ -1775,6 +1776,68 @@ def _build_pokemons():
)
)
),
"animated": {
"front_default": file_path_or_none(
poke_sprites.format(
gen_v.format(
"black-white/animated/" + file_name_gif
)
)
),
"front_female": file_path_or_none(
poke_sprites.format(
gen_v.format(
"black-white/animated/female/" + file_name_gif
)
)
),
"front_shiny": file_path_or_none(
poke_sprites.format(
gen_v.format(
"black-white/animated/shiny/" + file_name_gif
)
)
),
"front_shiny_female": file_path_or_none(
poke_sprites.format(
gen_v.format(
"black-white/animated/shiny/female/"
+ file_name_gif
)
)
),
"back_default": file_path_or_none(
poke_sprites.format(
gen_v.format(
"black-white/animated/back/" + file_name_gif
)
)
),
"back_female": file_path_or_none(
poke_sprites.format(
gen_v.format(
"black-white/animated/back/female/"
+ file_name_gif
)
)
),
"back_shiny": file_path_or_none(
poke_sprites.format(
gen_v.format(
"black-white/animated/back/shiny/"
+ file_name_gif
)
)
),
"back_shiny_female": file_path_or_none(
poke_sprites.format(
gen_v.format(
"black-white/animated/back/shiny/female/"
+ file_name_gif
)
)
),
},
}
},
"generation-vi": {

@ -1 +1 @@
Subproject commit b6ef8894693afb8592059eadbdc69b947982b575
Subproject commit 6c9d4efd1662ad363a5b2b64b64d048a7f394013