{
"version": 3,
"sources": ["../../../../../data/mods/vaporemons/rulesets.ts"],
"sourcesContent": ["export const Rulesets: {[k: string]: ModdedFormatData} = {\n\tteampreview: {\n\t\teffectType: 'Rule',\n\t\tname: 'Team Preview',\n\t\tdesc: \"Allows each player to see the Pokémon on their opponent's team before they choose their lead Pokémon\",\n\t\tonBegin() {\n\t\t\tif (this.ruleTable.has(`teratypepreview`)) {\n\t\t\t\tthis.add('rule', 'Tera Type Preview: Tera Types are shown at Team Preview');\n\t\t\t}\n\t\t},\n\t\tonTeamPreview() {\n\t\t\tthis.add('clearpoke');\n\t\t\tfor (const pokemon of this.getAllPokemon()) {\n\t\t\t\tconst details = pokemon.details.replace(', shiny', '')\n\t\t\t\t\t.replace(/(Greninja|Gourgeist|Pumpkaboo|Xerneas|Silvally|Urshifu|Dudunsparce|Revavroom)(-[a-zA-Z?-]+)?/g, '$1-*')\n\t\t\t\t\t.replace(/(Zacian|Zamazenta)(?!-Crowned)/g, '$1-*'); // Hacked-in Crowned formes will be revealed\n\t\t\t\tthis.add('poke', pokemon.side.id, details, '');\n\t\t\t}\n\t\t\tthis.makeRequest('teampreview');\n\t\t\tif (this.ruleTable.has(`teratypepreview`)) {\n\t\t\t\tfor (const side of this.sides) {\n\t\t\t\t\tlet buf = ``;\n\t\t\t\t\tfor (const pokemon of side.pokemon) {\n\t\t\t\t\t\tbuf += buf ? ` / ` : `raw|${side.name}'s Tera Types:
`;\n\t\t\t\t\t\tbuf += ``;\n\t\t\t\t\t}\n\t\t\t\t\tthis.add(`${buf}`);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t},\n\tvaporemonsmod: {\n\t\teffectType: 'Rule',\n\t\tname: 'VaporeMons Mod',\n\t\tdesc: 'At the start of a battle, gives each player a link to the VaporeMons thread so they can use it to get information about new additions to the metagame.',\n\t\tonBegin() {\n\t\t\tthis.add('-message', `Welcome to VaporeMons!`);\n\t\t\tthis.add('-message', `This is a [Gen 9] OU-based format where a bunch of new moves, items, abilities, and non-stat adjustments to Pokemon were added to the game!`);\n\t\t\tthis.add('-message', `You can find our thread and metagame resources here:`);\n\t\t\tthis.add('-message', `https://www.smogon.com/forums/threads/vaporemons-slate-1-discussion-phase.3722917/`);\n\t\t},\n\t},\n};\n"],
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,WAA4C;AAAA,EACxD,aAAa;AAAA,IACZ,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,MAAM;AAAA,IACN,UAAU;AACT,UAAI,KAAK,UAAU,IAAI,iBAAiB,GAAG;AAC1C,aAAK,IAAI,QAAQ,yDAAyD;AAAA,MAC3E;AAAA,IACD;AAAA,IACA,gBAAgB;AACf,WAAK,IAAI,WAAW;AACpB,iBAAW,WAAW,KAAK,cAAc,GAAG;AAC3C,cAAM,UAAU,QAAQ,QAAQ,QAAQ,WAAW,EAAE,EACnD,QAAQ,iGAAiG,MAAM,EAC/G,QAAQ,mCAAmC,MAAM;AACnD,aAAK,IAAI,QAAQ,QAAQ,KAAK,IAAI,SAAS,EAAE;AAAA,MAC9C;AACA,WAAK,YAAY,aAAa;AAC9B,UAAI,KAAK,UAAU,IAAI,iBAAiB,GAAG;AAC1C,mBAAW,QAAQ,KAAK,OAAO;AAC9B,cAAI,MAAM;AACV,qBAAW,WAAW,KAAK,SAAS;AACnC,mBAAO,MAAM,QAAQ,OAAO,KAAK;AACjC,mBAAO,oBAAoB,QAAQ,QAAQ,uBAAuB,QAAQ;AAAA,UAC3E;AACA,eAAK,IAAI,GAAG,KAAK;AAAA,QAClB;AAAA,MACD;AAAA,IACD;AAAA,EACD;AAAA,EACA,eAAe;AAAA,IACd,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,MAAM;AAAA,IACN,UAAU;AACT,WAAK,IAAI,YAAY,wBAAwB;AAC7C,WAAK,IAAI,YAAY,6IAA6I;AAClK,WAAK,IAAI,YAAY,sDAAsD;AAC3E,WAAK,IAAI,YAAY,oFAAoF;AAAA,IAC1G;AAAA,EACD;AACD;",
"names": []
}