This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
const words = []; | |
for (const line of fs.readFileSync(process.argv[2], 'utf8').trim().split('\n')) { | |
const word = line.trim(); | |
words[word.length - 2] = words[word.length - 2] || []; | |
words[word.length - 2].push(word); | |
} | |
for (let n = 5; n <= 5; n++) { |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(AA|AB)_ AAS/ABS | |
(AA|AC)_ AAH/ACH | |
(AA|AC)___ AAHED/ACHED | |
(AA|AC)____ AAHING/ACHING | |
(AA|AD)_ AAS/ADS | |
(AA|AG)_ AAS/AGS | |
(AA|AH)_ AAS/AHS | |
(AA|AI)_ AAL/AIL AAS/AIS | |
(AA|AI)__ AALS/AILS | |
(AA|AL)_ AAL/ALL AAS/ALS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
const spreads = {}; | |
const IV = 30; | |
const POWER = 70; | |
const HP = { | |
Bug: {ivs: {atk: 30, def: 30, spd: 30}, dvs: {atk: 13, def: 13}}, | |
Dark: {ivs: {}, dvs: {}}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SIDE LYING TWIST | |
SUPINE WINDOW WIPERS | |
HIP MOBILITY DRILL | |
HALF KNEELING WALL TRUNK ROTATION | |
SINGLE LEG SIT-BACKS | |
QUICK-REBOUNDING CALF RAISE | |
ALTERNATE FORWARD LUNGE | |
SIDE LUNGE | |
STAR BALANCE TAP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import type {Battle, Side, Pokemon} from "."; | |
function encodeBattle(battle: Battle) { | |
const buf: any[] = []; | |
for (const side of battle.sides) { | |
encodeSide(side, buf); | |
} | |
buf.push(battle.turn); | |
buf.push(battle.lastDamage); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% | W | L | T | |
---|---|---|---|---|
0 | 49663 | 50117 | 220 | |
1 | 49170 | 50643 | 187 | |
2 | 48757 | 51056 | 187 | |
3 | 48208 | 51580 | 212 | |
4 | 48027 | 51772 | 201 | |
5 | 47450 | 52344 | 206 | |
6 | 46766 | 53052 | 182 | |
7 | 46154 | 53657 | 189 | |
8 | 45990 | 53827 | 183 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Generations} from '@pkmn/data'; | |
import {TeamGenerators} from '@pkmn/randoms'; | |
import {Battle, Dex, ID, PRNG, PRNGSeed, Teams, extractChannelMessages} from '@pkmn/sim'; | |
import {RandomPlayer} from './random-player'; | |
Teams.setGeneratorFactory(TeamGenerators as any); | |
const gens = new Generations(Dex as any); | |
const gen = gens.get(process.argv[2] ?? 1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sProtectSuccessRates | |
FF FF | |
FF 7F | |
FF 3F | |
FF 1F | |
sMovesForbiddenToCopy | |
76 00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
'use strict'; | |
// !!!!!!!!!!!!!!!!!!!!! | |
// ! ADD ACCOUNTS HERE ! | |
// !!!!!!!!!!!!!!!!!!!!! | |
const ACCOUNTS = { | |
// 'username': 'password', | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.smogon.com/forums/posts/7387215/ | |
"tvalks - tvalks": kangaskhan / amoonguss / landorustherian / sylveon / thundurus / volcanion (https://pokepast.es/3fc46c821a0d91ba) | |
"Hyper Off DeoSharp + M Kangas (Vig Sigs) - Hyper Off DeoSharp + M Kangas (Vig Sigs)": kangaskhan / bisharp / deoxysattack / ferrothorn / keldeo / talonflame (https://pokepast.es/503edddac332e900) | |
"Whimsicott Offense - Whimsicott Offense": gengar / landorustherian / terrakion / thundurus / volcanion / whimsicott (https://pokepast.es/6ad59814a1a9c29e) | |
"Sample Version MGar + Conk - Sample Version MGar + Conk": gengar / conkeldurr / ferrothorn / landorustherian / thundurus / volcanion (https://pokepast.es/0f4f5d81c9be04ea) | |
"XY Mence Ferro Sand - XY Mence Ferro Sand": ferrothorn / cresselia / excadrill / salamence / tyranitar / volcanion (https://pokepast.es/faba5ead7e0df1d2) | |
"Sample Rain - Sample Rain": politoed / kingdra / ludicolo / swampert / talonflame / thundurus (https://pokepast.es/83cd068200ed836a) | |
"Sample MGarde + 2 Redirects - |
NewerOlder