diff --git a/data/misc.json b/data/misc.json index d97a9bf8..d2c7e803 100644 --- a/data/misc.json +++ b/data/misc.json @@ -2856,6 +2856,17 @@ "files": { "gen-4": ["special-attribute/leaf-crown.png", "special-attribute/leaf-crown--shadow.png"] } + }, + { + "name": { + "eng": "Gigantamax Icon", + "jpn": "キョダイマックスのアイコン", + "jpn_ro": "Gyodaimakkusu no aikon" + }, + "origin_gen": 8, + "files": { + "gen-8": "special-attribute/gigantamax-icon.png" + } } ] } diff --git a/misc/special-attribute/gigantamax-icon.png b/misc/special-attribute/gigantamax-icon.png new file mode 100644 index 00000000..61b862df Binary files /dev/null and b/misc/special-attribute/gigantamax-icon.png differ diff --git a/scripts/gen_docs.py b/scripts/gen_docs.py index d58841ab..9e917d4e 100755 --- a/scripts/gen_docs.py +++ b/scripts/gen_docs.py @@ -456,7 +456,7 @@ def generate_misc_table(misc, meta, curr_page, json_file, version = '[unknown]', buffer.append(f'{name_eng_desc}') buffer.append(f'{name_jpn}') buffer.append(f'Gen {origin_gen}') - buffer.append('' + get_img_node(get_misc_url(base_url, v), None, f"Sprite for '{name_eng}'", 'm', 'ribbon-gen8' if gen_n == '8' else None) + '') + buffer.append('' + get_img_node(get_misc_url(base_url, v), None, f"Sprite for '{name_eng}'", 'm', 'ribbon-gen8' if (gen_n == '8' and misc_set in ['ribbon', 'mark']) else None) + '') buffer.append(f' 1 and row_n > 0 else ""}">{v}') if len(vs) > 1: if row_n == 0: