Initial Modpack Upload

This commit is contained in:
Rbanh committed 2023-08-14 21:45:09 -04:00
1 parent 268b0650aa
commit 3d8b956ee4
1429 files changed
+820128

No files matched your search

+315
View File
@@ -0,0 +1,315 @@
"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var scripts_exports = {};
__export(scripts_exports, {
Scripts: () => Scripts
});
module.exports = __toCommonJS(scripts_exports);
const Scripts = {
gen: 9,
inherit: "gen9",
nextTurn() {
this.turn++;
this.lastSuccessfulMoveThisTurn = null;
for (const pokemon of this.getAllPokemon()) {
pokemon.m.trademarkUsedThisTurn = false;
pokemon.switchFlag = false;
pokemon.forceSwitchFlag = false;
}
const dynamaxEnding = [];
for (const pokemon of this.getAllActive()) {
if (pokemon.volatiles["dynamax"]?.turns === 3) {
dynamaxEnding.push(pokemon);
}
}
if (dynamaxEnding.length > 1) {
this.updateSpeed();
this.speedSort(dynamaxEnding);
}
for (const pokemon of dynamaxEnding) {
pokemon.removeVolatile("dynamax");
}
if (this.gen === 1) {
for (const pokemon of this.getAllActive()) {
if (pokemon.volatiles["partialtrappinglock"]) {
const target = pokemon.volatiles["partialtrappinglock"].locked;
if (target.hp <= 0 || !target.volatiles["partiallytrapped"]) {
delete pokemon.volatiles["partialtrappinglock"];
}
}
if (pokemon.volatiles["partiallytrapped"]) {
const source = pokemon.volatiles["partiallytrapped"].source;
if (source.hp <= 0 || !source.volatiles["partialtrappinglock"]) {
delete pokemon.volatiles["partiallytrapped"];
}
}
}
}
const trappedBySide = [];
const stalenessBySide = [];
for (const side of this.sides) {
let sideTrapped = true;
let sideStaleness;
for (const pokemon of side.active) {
if (!pokemon)
continue;
pokemon.moveThisTurn = "";
pokemon.newlySwitched = false;
pokemon.moveLastTurnResult = pokemon.moveThisTurnResult;
pokemon.moveThisTurnResult = void 0;
if (this.turn !== 1) {
pokemon.usedItemThisTurn = false;
pokemon.statsRaisedThisTurn = false;
pokemon.statsLoweredThisTurn = false;
pokemon.hurtThisTurn = null;
}
pokemon.maybeDisabled = false;
for (const moveSlot of pokemon.moveSlots) {
moveSlot.disabled = false;
moveSlot.disabledSource = "";
}
this.runEvent("DisableMove", pokemon);
for (const moveSlot of pokemon.moveSlots) {
this.singleEvent("DisableMove", this.dex.getActiveMove(moveSlot.id), null, pokemon);
}
if (pokemon.getLastAttackedBy() && this.gen >= 7)
pokemon.knownType = true;
for (let i = pokemon.attackedBy.length - 1; i >= 0; i--) {
const attack = pokemon.attackedBy[i];
if (attack.source.isActive) {
attack.thisTurn = false;
} else {
pokemon.attackedBy.splice(pokemon.attackedBy.indexOf(attack), 1);
}
}
if (this.gen >= 7 && !pokemon.terastallized) {
const seenPokemon = pokemon.illusion || pokemon;
const realTypeString = seenPokemon.getTypes(true).join("/");
if (realTypeString !== seenPokemon.apparentType) {
this.add("-start", pokemon, "typechange", realTypeString, "[silent]");
seenPokemon.apparentType = realTypeString;
if (pokemon.addedType) {
this.add("-start", pokemon, "typeadd", pokemon.addedType, "[silent]");
}
}
}
pokemon.trapped = pokemon.maybeTrapped = false;
this.runEvent("TrapPokemon", pokemon);
if (!pokemon.knownType || this.dex.getImmunity("trapped", pokemon)) {
this.runEvent("MaybeTrapPokemon", pokemon);
}
if (this.gen > 2) {
for (const source of pokemon.foes()) {
const species = (source.illusion || source).species;
if (!species.abilities)
continue;
for (const abilitySlot in species.abilities) {
const abilityName = species.abilities[abilitySlot];
if (abilityName === source.ability) {
continue;
}
const ruleTable = this.ruleTable;
if ((ruleTable.has("+hackmons") || !ruleTable.has("obtainableabilities")) && !this.format.team) {
continue;
} else if (abilitySlot === "H" && species.unreleasedHidden) {
continue;
}
const ability = this.dex.abilities.get(abilityName);
if (ruleTable.has("-ability:" + ability.id))
continue;
if (pokemon.knownType && !this.dex.getImmunity("trapped", pokemon))
continue;
this.singleEvent("FoeMaybeTrapPokemon", ability, {}, pokemon, source);
}
}
}
if (pokemon.fainted)
continue;
sideTrapped = sideTrapped && pokemon.trapped;
const staleness = pokemon.volatileStaleness || pokemon.staleness;
if (staleness)
sideStaleness = sideStaleness === "external" ? sideStaleness : staleness;
pokemon.activeTurns++;
}
trappedBySide.push(sideTrapped);
stalenessBySide.push(sideStaleness);
side.faintedLastTurn = side.faintedThisTurn;
side.faintedThisTurn = null;
}
if (this.maybeTriggerEndlessBattleClause(trappedBySide, stalenessBySide))
return;
if (this.gameType === "triples" && this.sides.every((side) => side.pokemonLeft === 1)) {
const actives = this.getAllActive();
if (actives.length > 1 && !actives[0].isAdjacent(actives[1])) {
this.swapPosition(actives[0], 1, "[silent]");
this.swapPosition(actives[1], 1, "[silent]");
this.add("-center");
}
}
this.add("turn", this.turn);
if (this.gameType === "multi") {
for (const side of this.sides) {
if (side.canDynamaxNow()) {
if (this.turn === 1) {
this.addSplit(side.id, ["-candynamax", side.id]);
} else {
this.add("-candynamax", side.id);
}
}
}
}
if (this.gen === 2)
this.quickClawRoll = this.randomChance(60, 256);
if (this.gen === 3)
this.quickClawRoll = this.randomChance(1, 5);
if (this.ruleTable.has("crazyhouserule")) {
for (const side of this.sides) {
let buf = `raw|${side.name}'s team:<br />`;
for (const pokemon of side.pokemon) {
if (!buf.endsWith("<br />"))
buf += "/</span>&#8203;";
if (pokemon.fainted) {
buf += `<span style="white-space:nowrap;"><span style="opacity:.3"><psicon pokemon="${pokemon.species.id}" /></span>`;
} else {
buf += `<span style="white-space:nowrap"><psicon pokemon="${pokemon.species.id}" />`;
}
}
this.add(`${buf}</span>`);
}
}
this.makeRequest("move");
},
pokemon: {
getAbility() {
const move = this.battle.dex.moves.get(this.battle.toID(this.ability));
if (!move.exists)
return Object.getPrototypeOf(this).getAbility.call(this);
return {
id: move.id,
name: move.name,
// Does not need activation message with this
fullname: "ability: " + move.name,
onStart(pokemon) {
if (pokemon.m.trademarkUsedThisTurn) {
this.add("cant", pokemon, "ability: " + move.name);
this.add("-hint", "Each Pokemon can use a trademark only once per turn to prevent infinite loops.");
} else {
pokemon.m.trademarkUsedThisTurn = true;
const trademark = this.dex.getActiveMove(move.id);
trademark.accuracy = true;
this.actions.useMove(trademark, pokemon);
}
},
toString() {
return move.name;
}
};
},
transformInto(pokemon, effect) {
const species = pokemon.species;
if (pokemon.fainted || this.illusion || pokemon.illusion || pokemon.volatiles["substitute"] && this.battle.gen >= 5 || pokemon.transformed && this.battle.gen >= 2 || this.transformed && this.battle.gen >= 5 || species.name === "Eternatus-Eternamax") {
return false;
}
if (this.battle.dex.currentMod === "gen1stadium" && (species.name === "Ditto" || this.species.name === "Ditto" && pokemon.moves.includes("transform"))) {
return false;
}
if (!this.setSpecies(species, effect, true))
return false;
this.transformed = true;
this.weighthg = pokemon.weighthg;
const types = pokemon.getTypes(true, true);
this.setType(pokemon.volatiles["roost"] ? pokemon.volatiles["roost"].typeWas : types, true);
this.addedType = pokemon.addedType;
this.knownType = this.isAlly(pokemon) && pokemon.knownType;
this.apparentType = pokemon.apparentType;
let statName;
for (statName in this.storedStats) {
this.storedStats[statName] = pokemon.storedStats[statName];
if (this.modifiedStats)
this.modifiedStats[statName] = pokemon.modifiedStats[statName];
}
this.moveSlots = [];
this.set.ivs = this.battle.gen >= 5 ? this.set.ivs : pokemon.set.ivs;
this.hpType = this.battle.gen >= 5 ? this.hpType : pokemon.hpType;
this.hpPower = this.battle.gen >= 5 ? this.hpPower : pokemon.hpPower;
this.timesAttacked = pokemon.timesAttacked;
for (const moveSlot of pokemon.moveSlots) {
let moveName = moveSlot.move;
if (moveSlot.id === "hiddenpower") {
moveName = "Hidden Power " + this.hpType;
}
this.moveSlots.push({
move: moveName,
id: moveSlot.id,
pp: moveSlot.maxpp === 1 ? 1 : 5,
maxpp: this.battle.gen >= 5 ? moveSlot.maxpp === 1 ? 1 : 5 : moveSlot.maxpp,
target: moveSlot.target,
disabled: false,
used: false,
virtual: true
});
}
let boostName;
for (boostName in pokemon.boosts) {
this.boosts[boostName] = pokemon.boosts[boostName];
}
if (this.battle.gen >= 6) {
const volatilesToCopy = ["focusenergy", "gmaxchistrike", "laserfocus"];
for (const volatile of volatilesToCopy) {
if (pokemon.volatiles[volatile]) {
this.addVolatile(volatile);
if (volatile === "gmaxchistrike")
this.volatiles[volatile].layers = pokemon.volatiles[volatile].layers;
} else {
this.removeVolatile(volatile);
}
}
}
if (effect) {
this.battle.add("-transform", this, pokemon, "[from] " + effect.fullname);
} else {
this.battle.add("-transform", this, pokemon);
}
if (this.terastallized) {
this.knownType = true;
this.apparentType = this.terastallized;
}
if (this.battle.gen > 2)
this.setAbility(pokemon.getAbility(), this, true, true);
if (this.battle.gen === 4) {
if (this.species.num === 487) {
if (this.species.name === "Giratina" && this.item === "griseousorb") {
this.formeChange("Giratina-Origin");
} else if (this.species.name === "Giratina-Origin" && this.item !== "griseousorb") {
this.formeChange("Giratina");
}
}
if (this.species.num === 493) {
const item = this.getItem();
const targetForme = item?.onPlate ? "Arceus-" + item.onPlate : "Arceus";
if (this.species.name !== targetForme) {
this.formeChange(targetForme);
}
}
}
return true;
}
}
};
//# sourceMappingURL=scripts.js.map
@@ -0,0 +1,7 @@
{
"version": 3,
"sources": ["../../../../../data/mods/trademarked/scripts.ts"],
"sourcesContent": ["export const Scripts: ModdedBattleScriptsData = {\r\n\tgen: 9,\r\n\tinherit: 'gen9',\r\n\tnextTurn() {\r\n\t\tthis.turn++;\r\n\t\tthis.lastSuccessfulMoveThisTurn = null;\r\n\r\n\t\tfor (const pokemon of this.getAllPokemon()) {\r\n\t\t\tpokemon.m.trademarkUsedThisTurn = false;\r\n\t\t\t// Somehow things went terribly wrong and I don't know what happened\r\n\t\t\tpokemon.switchFlag = false;\r\n\t\t\tpokemon.forceSwitchFlag = false;\r\n\t\t}\r\n\r\n\t\tconst dynamaxEnding: Pokemon[] = [];\r\n\t\tfor (const pokemon of this.getAllActive()) {\r\n\t\t\tif (pokemon.volatiles['dynamax']?.turns === 3) {\r\n\t\t\t\tdynamaxEnding.push(pokemon);\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (dynamaxEnding.length > 1) {\r\n\t\t\tthis.updateSpeed();\r\n\t\t\tthis.speedSort(dynamaxEnding);\r\n\t\t}\r\n\t\tfor (const pokemon of dynamaxEnding) {\r\n\t\t\tpokemon.removeVolatile('dynamax');\r\n\t\t}\r\n\r\n\t\t// Gen 1 partial trapping ends when either Pokemon or a switch in faints to residual damage\r\n\t\tif (this.gen === 1) {\r\n\t\t\tfor (const pokemon of this.getAllActive()) {\r\n\t\t\t\tif (pokemon.volatiles['partialtrappinglock']) {\r\n\t\t\t\t\tconst target = pokemon.volatiles['partialtrappinglock'].locked;\r\n\t\t\t\t\tif (target.hp <= 0 || !target.volatiles['partiallytrapped']) {\r\n\t\t\t\t\t\tdelete pokemon.volatiles['partialtrappinglock'];\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tif (pokemon.volatiles['partiallytrapped']) {\r\n\t\t\t\t\tconst source = pokemon.volatiles['partiallytrapped'].source;\r\n\t\t\t\t\tif (source.hp <= 0 || !source.volatiles['partialtrappinglock']) {\r\n\t\t\t\t\t\tdelete pokemon.volatiles['partiallytrapped'];\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tconst trappedBySide: boolean[] = [];\r\n\t\tconst stalenessBySide: ('internal' | 'external' | undefined)[] = [];\r\n\t\tfor (const side of this.sides) {\r\n\t\t\tlet sideTrapped = true;\r\n\t\t\tlet sideStaleness: 'internal' | 'external' | undefined;\r\n\t\t\tfor (const pokemon of side.active) {\r\n\t\t\t\tif (!pokemon) continue;\r\n\t\t\t\tpokemon.moveThisTurn = '';\r\n\t\t\t\tpokemon.newlySwitched = false;\r\n\t\t\t\tpokemon.moveLastTurnResult = pokemon.moveThisTurnResult;\r\n\t\t\t\tpokemon.moveThisTurnResult = undefined;\r\n\t\t\t\tif (this.turn !== 1) {\r\n\t\t\t\t\tpokemon.usedItemThisTurn = false;\r\n\t\t\t\t\tpokemon.statsRaisedThisTurn = false;\r\n\t\t\t\t\tpokemon.statsLoweredThisTurn = false;\r\n\t\t\t\t\t// It shouldn't be possible in a normal battle for a Pokemon to be damaged before turn 1's move selection\r\n\t\t\t\t\t// However, this could be potentially relevant in certain OMs\r\n\t\t\t\t\tpokemon.hurtThisTurn = null;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tpokemon.maybeDisabled = false;\r\n\t\t\t\tfor (const moveSlot of pokemon.moveSlots) {\r\n\t\t\t\t\tmoveSlot.disabled = false;\r\n\t\t\t\t\tmoveSlot.disabledSource = '';\r\n\t\t\t\t}\r\n\t\t\t\tthis.runEvent('DisableMove', pokemon);\r\n\t\t\t\tfor (const moveSlot of pokemon.moveSlots) {\r\n\t\t\t\t\tthis.singleEvent('DisableMove', this.dex.getActiveMove(moveSlot.id), null, pokemon);\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// If it was an illusion, it's not any more\r\n\t\t\t\tif (pokemon.getLastAttackedBy() && this.gen >= 7) pokemon.knownType = true;\r\n\r\n\t\t\t\tfor (let i = pokemon.attackedBy.length - 1; i >= 0; i--) {\r\n\t\t\t\t\tconst attack = pokemon.attackedBy[i];\r\n\t\t\t\t\tif (attack.source.isActive) {\r\n\t\t\t\t\t\tattack.thisTurn = false;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tpokemon.attackedBy.splice(pokemon.attackedBy.indexOf(attack), 1);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (this.gen >= 7 && !pokemon.terastallized) {\r\n\t\t\t\t\t// In Gen 7, the real type of every Pokemon is visible to all players via the bottom screen while making choices\r\n\t\t\t\t\tconst seenPokemon = pokemon.illusion || pokemon;\r\n\t\t\t\t\tconst realTypeString = seenPokemon.getTypes(true).join('/');\r\n\t\t\t\t\tif (realTypeString !== seenPokemon.apparentType) {\r\n\t\t\t\t\t\tthis.add('-start', pokemon, 'typechange', realTypeString, '[silent]');\r\n\t\t\t\t\t\tseenPokemon.apparentType = realTypeString;\r\n\t\t\t\t\t\tif (pokemon.addedType) {\r\n\t\t\t\t\t\t\t// The typechange message removes the added type, so put it back\r\n\t\t\t\t\t\t\tthis.add('-start', pokemon, 'typeadd', pokemon.addedType, '[silent]');\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tpokemon.trapped = pokemon.maybeTrapped = false;\r\n\t\t\t\tthis.runEvent('TrapPokemon', pokemon);\r\n\t\t\t\tif (!pokemon.knownType || this.dex.getImmunity('trapped', pokemon)) {\r\n\t\t\t\t\tthis.runEvent('MaybeTrapPokemon', pokemon);\r\n\t\t\t\t}\r\n\t\t\t\t// canceling switches would leak information\r\n\t\t\t\t// if a foe might have a trapping ability\r\n\t\t\t\tif (this.gen > 2) {\r\n\t\t\t\t\tfor (const source of pokemon.foes()) {\r\n\t\t\t\t\t\tconst species = (source.illusion || source).species;\r\n\t\t\t\t\t\tif (!species.abilities) continue;\r\n\t\t\t\t\t\tfor (const abilitySlot in species.abilities) {Line truncated
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,UAAmC;AAAA,EAC/C,KAAK;AAAA,EACL,SAAS;AAAA,EACT,WAAW;AACV,SAAK;AACL,SAAK,6BAA6B;AAElC,eAAW,WAAW,KAAK,cAAc,GAAG;AAC3C,cAAQ,EAAE,wBAAwB;AAElC,cAAQ,aAAa;AACrB,cAAQ,kBAAkB;AAAA,IAC3B;AAEA,UAAM,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