Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
110 lines (92 sloc) 4.5 KB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Random Pok&eacute;mon Generator</title>
<link rel="stylesheet" type="text/css" href="style.css">
<meta name="description" content="This tool generates random Pok&eacute;mon by region, type, and more.">
<link rel="alternate" type="application/rss+xml" title="Random Pok&eacute;mon Generator Feed" href="http://feeds.feedburner.com/RandomPokemonGenerator">
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
<link rel="icon" type="image/png" href="favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="manifest.json">
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#FF4A4A">
<meta name="theme-color" content="#FFFFFF">
</head>
<body>
<header>
<h1>Random Pok&eacute;mon Generator</h1>
<h2>Now updated with Pok&eacute;mon Sword and Shield!</h2>
</header>
<form action="?" method="get" id="controls">
<fieldset>
<label>Generate <select name="n" id="n">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6" selected>6</option>
</select> Pok&eacute;mon.</label>
<select name="region" id="region">
<option value="all">All Regions</option>
<option value="kanto" title="Generation 1 (Red, Blue, and Yellow)">Kanto</option>
<option value="johto" title="Generation 2 (Gold, Silver, and Crystal)">Johto</option>
<option value="hoenn" title="Generation 3 (Ruby, Sapphire, and Emerald)">Hoenn</option>
<option value="sinnoh" title="Generation 4 (Diamond, Pearl)">Sinnoh</option>
<option value="sinnoh_pt" title="Generation 4 (Platinum)">Sinnoh (Plat.)</option>
<option value="unova" title="Generation 5 (Black and White)">Unova</option>
<option value="unova_b2w2" title="Generation 5 (Black 2 and White 2)">Unova (B2W2)</option>
<option value="kalos" title="Generation 6 (X and Y)">Kalos</option>
<option value="alola" title="Generation 7 (Sun and Moon)">Alola</option>
<option value="alola_usum" title="Generation 7 (Ultra Sun and Ultra Moon)">Alola (USUM)</option>
<option value="galar" title="Generation 8 (Sword and Shield)">Galar</option>
</select>
<select name="type" id="type">
<option value="all">All Types</option>
<option value="bug">Bug</option>
<option value="dark">Dark</option>
<option value="dragon">Dragon</option>
<option value="electric">Electric</option>
<option value="fairy">Fairy</option>
<option value="fighting">Fighting</option>
<option value="fire">Fire</option>
<option value="flying">Flying</option>
<option value="ghost">Ghost</option>
<option value="grass">Grass</option>
<option value="ground">Ground</option>
<option value="ice">Ice</option>
<option value="normal">Normal</option>
<option value="poison">Poison</option>
<option value="psychic">Psychic</option>
<option value="rock">Rock</option>
<option value="steel">Steel</option>
<option value="water">Water</option>
</select>
</fieldset>
<fieldset>
<label><input type="checkbox" id="ubers" name="ubers" value="true" checked><abbr title="Overpowered Pok&eacute;mon not used in standard play.">Ubers</abbr></label>
<label><input type="checkbox" id="nfes" name="nfes" value="true" checked><abbr title="Pok&eacute;mon that are Not Fully Evolved.">NFEs</abbr></label>
<label><input type="checkbox" id="sprites" name="sprites" value="true" checked>Sprites</label>
<label><input type="checkbox" id="natures" name="natures" value="true">Natures</label>
<label><input type="checkbox" id="forms" name="forms" value="true" checked><abbr title="Allow alternate forms, such as Mega Evolutions.">Forms</abbr></label>
<input id="go" value="Generate!" type="button" onclick="generateRandom()">
</fieldset>
</form>
<section id="results"></section>
<footer>
<p>
<a href="http://feeds.feedburner.com/RandomPokemonGenerator">RSS</a> |
<a href="https://github.com/nerdydrew/Random-Pokemon-Generator">GitHub</a> |
<a href="mailto:hi@callmedrew.com">Contact</a> |
Pok&eacute;mon is &copy; Nintendo. Website is &copy; <a href="https://callmedrew.com/">Drew Mitchell</a>.</p>
</footer>
<script src="config.js"></script>
<script src="https://cdn.polyfill.io/v2/polyfill.js?features=fetch,Promise,Array.prototype.includes"></script>
<script>
logToAnalytics();
</script>
<script src="random.js"></script>
</body>
</html>
You can’t perform that action at this time.