From d6082eedfc7db4e29865454cfdf6712dbfb851e7 Mon Sep 17 00:00:00 2001 From: Christopher Monsanto Date: Tue, 25 Aug 2026 16:05:29 -0400 Subject: [PATCH] Give the gen 4 CAP prevos a dp sprite The dex serves /dex/dp/pokemon/embirch/ and the sprite lookup logs a miss for it, which is not a dex bug: Embirch is an NFE from a gen 4 CAP process, so it belongs on a gen 4 page. It was drawn in BW's day, like the other twelve prevos the gen 4 CAPs were given after the fact. That is what GEN4_CAPS is already for. dp/ has no CAP art of its own -- gen 4 never drew any of it, and nothing in a gen 5 filename says a sprite is a CAP -- so the set names the eleven by hand and lifts them out of the gen 5 stills. Name the prevos there too, and the same rule draws them: fifteen files, the thirteen species plus the female slots on Flarelm and Protowatt, each trimmed the way its evolution is. Co-Authored-By: Claude Opus 5 (1M context) --- rules/oldgen.ts | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/rules/oldgen.ts b/rules/oldgen.ts index 7c9fdced..d385a819 100644 --- a/rules/oldgen.ts +++ b/rules/oldgen.ts @@ -58,13 +58,18 @@ export function forEachFront(files: Front[], spec: CmdSpec, ext: string): Artifa return files.map(f => rule(f.file, spec, `${f.name}.${ext}`)); } -// The CAPs that were playable while Diamond and Pearl were. They were only -// ever drawn in gen 5's style, so dp/ carries them from the gen 5 sources the -// way the legacy set did -- and has to name them, since nothing in a filename -// says a sprite is a CAP. +// The gen 4 CAP families: the eleven CAPs a gen 4 process produced, and the +// prevos later processes gave them. None of it was drawn in gen 4's style -- +// the CAPs were only ever drawn in gen 5's, and the prevos did not exist until +// BW -- so dp/ carries the lot from the gen 5 sources, as the legacy set did +// for the eleven. A prevo lands on a gen 4 dex page like its evolution does, +// which is why it is here too. The list is by hand, since nothing in a +// filename says a sprite is a CAP. export let GEN4_CAPS = [ - 'arghonaut', 'colossoil', 'cyclohm', 'fidgit', 'kitsunoh', 'krilowatt', - 'pyroak', 'revenankh', 'stratagem', 'syclant', 'voodoom', + 'arghonaut', 'breezi', 'colossoil', 'cyclohm', 'dorsoil', 'duohm', + 'embirch', 'fidgit', 'flarelm', 'kitsunoh', 'krilowatt', 'monohm', + 'nohface', 'privatyke', 'protowatt', 'pyroak', 'rebble', 'revenankh', + 'stratagem', 'syclant', 'syclar', 'tactite', 'voodoll', 'voodoom', ]; // Every front of the given species, formes and female slots included.