yellow copyright diff

This commit is contained in:
bryanthaboi
2026-08-10 14:27:00 -04:00
parent aa45f05c63
commit 9d73ff4110
8 changed files with 114 additions and 19 deletions
+19
View File
@@ -130,6 +130,12 @@ TITLE_GRAPHICS = [
("gamefreakInc", "gfx/title/gamefreak_inc.png", False),
]
# Yellow only (pokeyellow gfx/font.asm NineTile): final "9" of (c)1995-1999
# on the title copyright line and intro/credits copyright card.
OPTIONAL_TITLE_GRAPHICS = [
("nine", "gfx/title/nine.png", False),
]
def extract_title(pokered, assets_dir):
"""Convert the title-screen graphics to assets/generated/title/.
@@ -150,6 +156,19 @@ def extract_title(pokered, assets_dir):
"height": size[1],
"source": src_rel,
}
for key, src_rel, matte in OPTIONAL_TITLE_GRAPHICS:
src = os.path.join(pokered, src_rel)
if not os.path.isfile(src):
continue
base = os.path.basename(src_rel)
size = convert_png(src, os.path.join(assets_dir, "title", base),
transparent_matte=matte)
out[key] = {
"path": f"assets/generated/title/{base}",
"width": size[0],
"height": size[1],
"source": src_rel,
}
return out