From 829902fc184f0b55906247dbc847e2858c4950f3 Mon Sep 17 00:00:00 2001 From: zurgeg <46549042+zurgeg@users.noreply.github.com> Date: Sat, 9 Apr 2022 10:20:40 -0400 Subject: [PATCH] Music, Dex and C-Gear skins will not work if there are multiple. Add ZUKAN, CGEAR, and MUSICAL to the list of things to return random files for --- other/dlc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other/dlc.py b/other/dlc.py index 6be8d7bb..de0ea82f 100644 --- a/other/dlc.py +++ b/other/dlc.py @@ -200,7 +200,7 @@ def download_list(dlc_path, post): attr2 = post.get("attr2", None) attr3 = post.get("attr3", None) - if post["gamecd"].startswith("IRA") and attr1.startswith("MYSTERY"): + if post["gamecd"].startswith("IRA") and (attr1.startswith("MYSTERY") or attr1.startswith("CGEAR") or attr1.startswith("ZUKAN") or attr1.startswith("MUSICAL")): # Pokemon BW Mystery Gifts, until we have a better solution for that ret = filter_list(list_data, attr1, attr2, attr3) ret = filter_list_g5_mystery_gift(ret, post["rhgamecd"])