Skip to content

Commit

Permalink
Update ladder names (#2282)
Browse files Browse the repository at this point in the history
* Update VGC names

* Remove deprecated metagames

* Update ladder.php

* Update users.php

* Update pokemonshowdown.com/users.php

---------

Co-authored-by: Kris Johnson <[email protected]>
  • Loading branch information
Glazelf and KrisXV authored Sep 30, 2024
1 parent 9825f5e commit 2cc0569
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 21 deletions.
49 changes: 33 additions & 16 deletions pokemonshowdown.com/ladder.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,27 @@
'gen9pu' => 'PU',
'gen9lc' => 'Little Cup',
'gen9monotype' => 'Monotype',
'gen9bssregh' => 'Battle Stadium Singles Regulation H',
'gen9anythinggoes' => 'Anything Goes',
'gen9zu' => 'ZU',
'gen9zu' => 'ZeroUsed',
'gen91v1' => '1v1',
'gen9battlestadiumsingles' => 'Battle Stadium Singles',
'gen9cap' => 'CAP',
'gen9randomdoublesbattle' => 'Random Doubles Battle',
'gen9doublesou' => 'Doubles OU',
'gen9vgc2023regulationc' => 'VGC 2023 Regulation C',
'gen9vgc2024regh' => 'VGC 2024 Regulation H',
'gen9almostanyability' => 'Almost Any Ability',
'gen9balancedhackmons' => 'Balanced Hackmons',
'gen9godlygift' => 'Godly Gift',
'gen9inheritance' => 'Inheritance',
'gen9mixandmega' => 'Mix and Mega',
'gen9almostanyability' => 'Almost Any Ability',
'gen9partnersincrime' => 'Partners in Crime',
'gen9sharedpower' => 'Shared Power',
'gen9stabmons' => 'STABmons',
'gen9nfe' => 'NFE',
'gen9godlygift' => 'Godly Gift',
'gen8cap' => 'CAP',
'gen9nationaldex' => 'National Dex OU',
'gen9nationaldexubers' => 'National Dex Ubers',
'gen9nationaldexuu' => 'National Dex UU',
'gen9nationaldexmonotype' => 'National Dex Monotype',
'gen9nationaldexdoubles' => 'National Dex Doubles',
);

$format = $formatid;
Expand Down Expand Up @@ -114,23 +121,33 @@
</ul>
<ul class="laddernav">
<li><a data-target="push" class="button nav-first" href="/ladder/gen91v1">1v1</a></li>
<li><a data-target="push" class="button" href="/ladder/gen9anythinggoes">Anything Goes</a></li-->
<li><a data-target="push" class="button" href="/ladder/gen9zu">ZU</a></li-->
<li><a data-target="push" class="button" href="/ladder/gen9battlestadiumsingles">Battle Stadium Singles</a></li>
<li><a data-target="push" class="button" href="/ladder/gen9anythinggoes">Anything Goes</a></li>
<li><a data-target="push" class="button" href="/ladder/gen9zu">ZeroUsed</a></li>
<li><a data-target="push" class="button" href="/ladder/gen9bssregh">Battle Stadium Singles Regulation H</a></li>
<li><a data-target="push" class="button nav-last" href="/ladder/gen9cap">CAP</a></li>
</ul>
<ul class="laddernav">
<li><a data-target="push" class="button nav-first" href="/ladder/gen9randomdoublesbattle">Random Doubles Battle</a></li>
<li><a data-target="push" class="button" href="/ladder/gen9doublesou">Doubles OU</a></li>
<li><a data-target="push" class="button nav-last" href="/ladder/gen9vgc2023regulationc">VGC 2023 Regulation C</a></li>
<li><a data-target="push" class="button" href="/ladder/gen9vgc2024regh">VGC 2024 Regulation H</a></li>
<li><a data-target="push" class="button nav-last" href="/ladder/gen9vgc2024reghbo3">VGC 2024 Regulation H (Bo3)</a></li>
</ul>
<ul class="laddernav">
<li><a data-target="push" class="button" href="/ladder/gen9almostanyability">Almost Any Ability</a></li>
<li><a data-target="push" class="button nav-first" href="/ladder/gen9balancedhackmons">Balanced Hackmons</a></li>
<li><a data-target="push" class="button" href="/ladder/gen9mixandmega">Mix and Mega</a></li>
<li><a data-target="push" class="button nav-first" href="/ladder/gen9almostanyability">Almost Any Ability</a></li>
<li><a data-target="push" class="button" href="/ladder/gen9balancedhackmons">Balanced Hackmons</a></li>
<li><a data-target="push" class="button" href="/ladder/gen9godlygift">Godly Gift</a></li>
<li><a data-target="push" class="button" href="/ladder/gen9stabmons">STABmons</a></li>
<li><a data-target="push" class="button nav-last" href="/ladder/gen9nfe">NFE</a></li>
<li><a data-target="push" class="button" href="/ladder/gen9inheritance">Inheritance</a></li>
<li><a data-target="push" class="button" href="/ladder/gen9mixandmega">Mix and Mega</a></li>
<li><a data-target="push" class="button" href="/ladder/gen9partnersincrime">Partners in Crime</a></li>
<li><a data-target="push" class="button" href="/ladder/gen9sharedpower">Shared Power</a></li>
<li><a data-target="push" class="button nav-last" href="/ladder/gen9stabmons">STABmons</a></li>
</ul>
<ul class="laddernav">
<li><a data-target="push" class="button nav-first" href="/ladder/gen9nationaldex">National Dex OU</a></li>
<li><a data-target="push" class="button" href="/ladder/gen9nationaldexubers">National Dex Ubers</a></li>
<li><a data-target="push" class="button" href="/ladder/gen9nationaldexuu">National Dex UU</a></li>
<li><a data-target="push" class="button" href="/ladder/gen9nationaldexmonotype">National Dex Monotype</a></li>
<li><a data-target="push" class="button nav-last" href="/ladder/gen9nationaldexdoubles">National Dex Doubles</a></li>
</ul>
<h1>
Find user
Expand Down
17 changes: 12 additions & 5 deletions pokemonshowdown.com/users.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,24 @@
'gen9pu' => 'PU',
'gen9lc' => 'Little Cup',
'gen9monotype' => 'Monotype',
'gen9battlestadiumsingles' => 'Battle Stadium Singles',
'gen9bssregh' => 'Battle Stadium Singles Regulation H',
'gen9cap' => 'CAP',
'gen9randomdoublesbattle' => 'Random Doubles Battle',
'gen9doublesou' => 'Doubles OU',
'gen9vgc2023' => 'VGC 2023',
'gen9vgc2024regh' => 'VGC 2024 Regulation H',
'gen9almostanyability' => 'Almost Any Ability',
'gen9balancedhackmons' => 'Balanced Hackmons',
'gen9godlygift' => 'Godly Gift',
'gen9inheritance' => 'Inheritance',
'gen9mixandmega' => 'Mix and Mega',
'gen9almostanyability' => 'Almost Any Ability',
'gen9partnersincrime' => 'Partners in Crime',
'gen9sharedpower' => 'Shared Power',
'gen9stabmons' => 'STABmons',
'gen9nfe' => 'NFE',
'gen9godlygift' => 'Godly Gift',
'gen9nationaldex' => 'National Dex OU',
'gen9nationaldexubers' => 'National Dex Ubers',
'gen9nationaldexuu' => 'National Dex UU',
'gen9nationaldexmonotype' => 'National Dex Monotype',
'gen9nationaldexdoubles' => 'National Dex Doubles',
'gen8randombattle' => '[Gen 8] Random Battle',
'gen8ou' => '[Gen 8] OU',
'gen7randombattle' => '[Gen 7] Random Battle',
Expand Down

0 comments on commit 2cc0569

Please sign in to comment.