Skip to content

Recognize Champions VGC as doubles in teambuilder#2695

Open
Abkwreu wants to merge 1 commit into
smogon:masterfrom
Abkwreu:champions-vgc-teambuilder-fix
Open

Recognize Champions VGC as doubles in teambuilder#2695
Abkwreu wants to merge 1 commit into
smogon:masterfrom
Abkwreu:champions-vgc-teambuilder-fix

Conversation

@Abkwreu

@Abkwreu Abkwreu commented Jun 2, 2026

Copy link
Copy Markdown

No description provided.

@Abkwreu Abkwreu force-pushed the champions-vgc-teambuilder-fix branch from 1d7ea12 to 6e0da38 Compare June 2, 2026 22:54
this.dex = Dex.mod('champions' as ID);
format = format.slice(9) as ID;
if (format.startsWith('vgc')) this.isDoubles = true;
if (format.startsWith('vgc') || format.startsWith('bss')) format = 'ubers' as ID;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line should just not have the VGC check. The next if statement already is supposed to set the appropriate format and the isDoubles flag.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this check doesnt exist then the format will show CAP pokemon, so idk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants