Update CompoundWordNames for gen 7-9
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run

This commit is contained in:
Guangcong Luo 2025-05-18 17:47:35 -07:00
parent f54a9ed5e1
commit a87a05fc7f
2 changed files with 142 additions and 4 deletions

View File

@ -2374,35 +2374,100 @@ export const Aliases: import('../sim/dex').AliasesTable = {
volk: "Volkraken",
};
/** This is what lets you type "tb"/"tbold"/"bolt" to find "thunderbolt" in the
* teambuilder (and PSdex) search. */
export const CompoundWordNames = [
// species
'Aegi-slash',
'Alaka-zam',
'Alomo-mola',
'Annihil-ape',
'Archalu-don',
'Arcti-bax',
'Arcto-vish',
'Arcto-zolt',
'Artic-uno',
'Arma-rouge',
'Arti-c-uno',
'Bascu-legion',
'Belli-bolt',
'Bramble-ghast',
'Bre-loom',
'Bron-zong',
'Bulba-saur',
'Capsa-kid',
'Cele-bi',
'Cerul-edge',
'Centi-skorch',
'Chande-lure',
'Char-cadet',
'Chari-zard',
'Cinder-ace',
'Corvi-knight',
'Corvi-squire',
'Decidu-eye',
'Don-dozo',
'Don-phan',
'Draco-vish',
'Draco-zolt',
'Draga-pult',
'Drago-nite',
'Dug-trio',
'Dus-clops',
'Dudun-sparce',
'Dun-sparce',
'Electa-buzz',
'Ex-eggutor',
'Exca-drill',
'Fari-giraf',
'Ferro-thorn',
'Frigi-bax',
'Fros-moth',
'Gar-chomp',
'Garga-nacl',
'Gimmi-ghoul',
'Gol-duck',
'Gour-geist',
'Gre-ninja',
'Grimm-snarl',
'Hari-yama',
'Haw-lucha',
'Hitmon-chan',
'Hitmon-lee',
'Hitmon-top',
'Houn-doom',
'Hound-stone',
'Hydr-apple',
'Hy-dreigon',
'Infer-n-ape',
'Ivy-saur',
'Jum-pluff',
'Kilo-wattrel',
'Klin-klang',
'Korai-don',
'Luv-disc',
'Ma-gearna',
'Magne-zone',
'Mag-mortar',
'Mamo-swine',
'Medi-cham',
'Mirai-don',
'Mol-tres',
'Nido-king',
'Nido-queen',
'Nido-rina',
'Nido-rino',
'Obsta-goon',
'Oger-pon',
'Orth-worm',
'Over-qwil',
'Pan-pour',
'Pan-sage',
'Pan-sear',
'Pecha-runt',
'Poltcha-geist',
'Poltea-geist',
'Prime-ape',
'Psy-duck',
'Reg-ice',
'Regi-drago',
'Regi-eleki',
@ -2410,49 +2475,123 @@ export const CompoundWordNames = [
'Regi-rock',
'Regi-steel',
'Rhy-don',
'Ribom-bee',
'Rilla-boom',
'Sala-mence',
'Sand-shrew',
'Sand-slash',
'Saws-buck',
'Sco-villain',
'Sea-king',
'Seismi-toad',
'Simi-pour',
'Simi-sage',
'Simi-sear',
'Skele-dirge',
'Slow-bro',
'Slow-king',
'Star-mie',
'Tad-bulb',
'Talon-flame',
'Tenta-cool',
'Tenta-cruel',
'Toeds-cool',
'Toeds-cruel',
'Toxa-pex',
'Tyrani-tar',
'Ursa-luna',
'Veno-moth',
'Venu-saur',
'Vika-volt',
'Vile-plume',
'Wug-trio',
'Wyr-deer',
'Zap-dos',
// moves
'Accele-rock',
'Acid Down-pour',
'Acu-pressure',
'Aroma-therapy',
'Boom-burst',
'Bleak-wind Storm',
'Break-neck Blitz',
'Bull-doze',
'Catastro-pika',
'Cease-less Edge',
'Crab-hammer',
'Chloro-blast',
'Clangorous Soul-blaze',
'Cork-screw Crash',
'Dis-charge',
'Dyna-max Cannon',
'Earth-quake',
'Eterna-beam',
'Extra-sensory',
'Extreme Evo-boost',
'Flame-thrower',
'Giga-volt Havoc',
'Head-butt',
'Head-long Rush',
'High Horse-power',
'Hyper-space Fury',
'Hyper-space Hole',
'Inferno Over-drive',
'Malicious Moon-sault',
'Max Air-stream',
'Max Flutter-by',
'Max Hail-storm',
'Max Mind-storm',
'Max Over-growth',
'Max Rock-fall',
'Max Star-fall',
'Max Steel-spike',
'Max Wyrm-wind',
'Moon-blast',
'Moon-geist Beam',
'Moon-light',
'Never-Ending Night-mare',
'Over-heat',
'Out-rage',
'Octa-zooka',
'Octo-lock',
'Pay-back',
'Polter-geist',
'Psy-blade',
'Psy-shock',
'Psy-shield Bash',
'Psy-wave',
'Roto-tiller',
'Roll-out',
'Safe-guard',
'Sand-storm',
'Sand-sear Storm',
'Sky Upper-cut',
'Smoke-screen',
'Snow-scape',
'Splintered Storm-shards',
'Spring-tide Storm',
'Stock-pile',
'Steam-roller',
'Stoked Spark-surfer',
'Sub-zero Slammer',
'Sun-steel Strike',
'Super-power',
'Super-sonic',
'Super-sonic Sky-strike',
'Stoked Spark-surfer',
'Synchro-noise',
'Tail-wind',
'Tele-kinesis',
'Tele-port',
'Tea-time',
'Tera Star-storm',
'Thunder-clap',
'Thunder-bolt',
'Trail-blaze',
'Twi-needle',
'Up-roar',
'Veno-shock',
'Whirl-pool',
'Whirl-wind',
'Wild-bolt Storm',
];

View File

@ -175,8 +175,7 @@ describe('Dex data', () => {
Dex.data.Abilities[targetid]?.name || Dex.data.Items[targetid]?.name;
assert(actualName, `CompoundWordNames entry "${name}" must be a pokemon/move/ability/item`);
assert.equal(actualName.replace(/-/g, ''), name.replace(/-/g, ''), `CompoundWordNames entry "${name}" should be the same as its target name (ignoring hyphens)`);
assert(name.includes('-'), `CompoundWordNames entry "${name}" should have at least one hyphen (to mark a word boundary)`);
assert(name.split('-').length <= 3, `CompoundWordNames entry "${name}" should have at most two hyphens (more aren't supported)`);
assert(name.split('-').length > actualName.split('-').length, `CompoundWordNames entry "${name}" should have at least one more hyphen than "${actualName}" (to mark a word boundary)`);
}
});