pokebedrock-showdown 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -2
- package/data/mods/gen9ssb/scripts.ts +4 -10
- package/dist/data/abilities.d.ts +1 -0
- package/dist/data/conditions.d.ts +1 -0
- package/dist/data/formats-data.d.ts +1 -0
- package/dist/data/mods/balls/formats-data.d.ts +1 -0
- package/dist/data/mods/balls/learnsets.d.ts +1 -0
- package/dist/data/mods/balls/moves.d.ts +1 -0
- package/dist/data/mods/balls/pokedex.d.ts +1 -0
- package/dist/data/mods/balls/rulesets.d.ts +1 -0
- package/dist/data/mods/balls/scripts.d.ts +1 -0
- package/dist/data/mods/ccapm2024/abilities.d.ts +1 -0
- package/dist/data/mods/ccapm2024/formats-data.d.ts +1 -0
- package/dist/data/mods/ccapm2024/learnsets.d.ts +1 -0
- package/dist/data/mods/ccapm2024/moves.d.ts +1 -0
- package/dist/data/mods/ccapm2024/pokedex.d.ts +1 -0
- package/dist/data/mods/ccapm2024/scripts.d.ts +1 -0
- package/dist/data/mods/fullpotential/abilities.d.ts +1 -0
- package/dist/data/mods/fullpotential/scripts.d.ts +1 -0
- package/dist/data/mods/gen1/conditions.d.ts +10 -0
- package/dist/data/mods/gen1/formats-data.d.ts +1 -0
- package/dist/data/mods/gen1/moves.d.ts +5 -0
- package/dist/data/mods/gen1/pokedex.d.ts +1 -0
- package/dist/data/mods/gen1/rulesets.d.ts +1 -0
- package/dist/data/mods/gen1/scripts.d.ts +6 -0
- package/dist/data/mods/gen1/typechart.d.ts +8 -0
- package/dist/data/mods/gen1jpn/conditions.d.ts +1 -0
- package/dist/data/mods/gen1jpn/moves.d.ts +4 -0
- package/dist/data/mods/gen1jpn/rulesets.d.ts +1 -0
- package/dist/data/mods/gen1jpn/scripts.d.ts +1 -0
- package/dist/data/mods/gen1stadium/conditions.d.ts +1 -0
- package/dist/data/mods/gen1stadium/formats-data.d.ts +1 -0
- package/dist/data/mods/gen1stadium/moves.d.ts +1 -0
- package/dist/data/mods/gen1stadium/rulesets.d.ts +1 -0
- package/dist/data/mods/gen1stadium/scripts.d.ts +4 -0
- package/dist/data/mods/gen2/conditions.d.ts +1 -0
- package/dist/data/mods/gen2/formats-data.d.ts +1 -0
- package/dist/data/mods/gen2/items.d.ts +1 -0
- package/dist/data/mods/gen2/learnsets.d.ts +1 -0
- package/dist/data/mods/gen2/moves.d.ts +4 -0
- package/dist/data/mods/gen2/pokedex.d.ts +1 -0
- package/dist/data/mods/gen2/rulesets.d.ts +1 -0
- package/dist/data/mods/gen2/scripts.d.ts +4 -0
- package/dist/data/mods/gen2/typechart.d.ts +1 -0
- package/dist/data/mods/gen2stadium2/conditions.d.ts +7 -0
- package/dist/data/mods/gen2stadium2/items.d.ts +1 -0
- package/dist/data/mods/gen2stadium2/moves.d.ts +1 -0
- package/dist/data/mods/gen2stadium2/rulesets.d.ts +1 -0
- package/dist/data/mods/gen2stadium2/scripts.d.ts +4 -0
- package/dist/data/mods/gen3/abilities.d.ts +1 -0
- package/dist/data/mods/gen3/conditions.d.ts +1 -0
- package/dist/data/mods/gen3/formats-data.d.ts +1 -0
- package/dist/data/mods/gen3/items.d.ts +1 -0
- package/dist/data/mods/gen3/moves.d.ts +4 -0
- package/dist/data/mods/gen3/rulesets.d.ts +1 -0
- package/dist/data/mods/gen3/scripts.d.ts +1 -0
- package/dist/data/mods/gen3colosseum/moves.d.ts +4 -0
- package/dist/data/mods/gen3colosseum/scripts.d.ts +1 -0
- package/dist/data/mods/gen3rs/formats-data.d.ts +1 -0
- package/dist/data/mods/gen3rs/items.d.ts +1 -0
- package/dist/data/mods/gen3rs/learnsets.d.ts +1 -0
- package/dist/data/mods/gen3rs/scripts.d.ts +1 -0
- package/dist/data/mods/gen4/abilities.d.ts +1 -0
- package/dist/data/mods/gen4/conditions.d.ts +1 -0
- package/dist/data/mods/gen4/formats-data.d.ts +1 -0
- package/dist/data/mods/gen4/items.d.ts +1 -0
- package/dist/data/mods/gen4/moves.d.ts +1 -0
- package/dist/data/mods/gen4/pokedex.d.ts +1 -0
- package/dist/data/mods/gen4/rulesets.d.ts +1 -0
- package/dist/data/mods/gen4/scripts.d.ts +1 -0
- package/dist/data/mods/gen4pt/formats-data.d.ts +1 -0
- package/dist/data/mods/gen4pt/learnsets.d.ts +1 -0
- package/dist/data/mods/gen4pt/scripts.d.ts +1 -0
- package/dist/data/mods/gen5/abilities.d.ts +1 -0
- package/dist/data/mods/gen5/conditions.d.ts +1 -0
- package/dist/data/mods/gen5/formats-data.d.ts +1 -0
- package/dist/data/mods/gen5/items.d.ts +1 -0
- package/dist/data/mods/gen5/moves.d.ts +1 -0
- package/dist/data/mods/gen5/pokedex.d.ts +1 -0
- package/dist/data/mods/gen5/rulesets.d.ts +1 -0
- package/dist/data/mods/gen5/scripts.d.ts +1 -0
- package/dist/data/mods/gen5/typechart.d.ts +1 -0
- package/dist/data/mods/gen5bw1/formats-data.d.ts +1 -0
- package/dist/data/mods/gen5bw1/items.d.ts +1 -0
- package/dist/data/mods/gen5bw1/learnsets.d.ts +1 -0
- package/dist/data/mods/gen5bw1/pokedex.d.ts +1 -0
- package/dist/data/mods/gen5bw1/scripts.d.ts +1 -0
- package/dist/data/mods/gen6/abilities.d.ts +1 -0
- package/dist/data/mods/gen6/conditions.d.ts +1 -0
- package/dist/data/mods/gen6/formats-data.d.ts +1 -0
- package/dist/data/mods/gen6/items.d.ts +1 -0
- package/dist/data/mods/gen6/learnsets.d.ts +1 -0
- package/dist/data/mods/gen6/moves.d.ts +1 -0
- package/dist/data/mods/gen6/pokedex.d.ts +1 -0
- package/dist/data/mods/gen6/scripts.d.ts +1 -0
- package/dist/data/mods/gen6/typechart.d.ts +1 -0
- package/dist/data/mods/gen6xy/formats-data.d.ts +1 -0
- package/dist/data/mods/gen6xy/items.d.ts +1 -0
- package/dist/data/mods/gen6xy/learnsets.d.ts +1 -0
- package/dist/data/mods/gen6xy/moves.d.ts +1 -0
- package/dist/data/mods/gen6xy/pokedex.d.ts +1 -0
- package/dist/data/mods/gen6xy/scripts.d.ts +1 -0
- package/dist/data/mods/gen7/abilities.d.ts +1 -0
- package/dist/data/mods/gen7/formats-data.d.ts +1 -0
- package/dist/data/mods/gen7/items.d.ts +1 -0
- package/dist/data/mods/gen7/moves.d.ts +1 -0
- package/dist/data/mods/gen7/pokedex.d.ts +1 -0
- package/dist/data/mods/gen7/rulesets.d.ts +1 -0
- package/dist/data/mods/gen7/scripts.d.ts +1 -0
- package/dist/data/mods/gen7letsgo/formats-data.d.ts +1 -0
- package/dist/data/mods/gen7letsgo/learnsets.d.ts +1 -0
- package/dist/data/mods/gen7letsgo/moves.d.ts +1 -0
- package/dist/data/mods/gen7letsgo/pokedex.d.ts +1 -0
- package/dist/data/mods/gen7letsgo/rulesets.d.ts +1 -0
- package/dist/data/mods/gen7letsgo/scripts.d.ts +1 -0
- package/dist/data/mods/gen7pokebilities/abilities.d.ts +1 -0
- package/dist/data/mods/gen7pokebilities/moves.d.ts +1 -0
- package/dist/data/mods/gen7pokebilities/scripts.d.ts +1 -0
- package/dist/data/mods/gen7sm/formats-data.d.ts +1 -0
- package/dist/data/mods/gen7sm/items.d.ts +1 -0
- package/dist/data/mods/gen7sm/learnsets.d.ts +1 -0
- package/dist/data/mods/gen7sm/moves.d.ts +1 -0
- package/dist/data/mods/gen7sm/pokedex.d.ts +1 -0
- package/dist/data/mods/gen7sm/scripts.d.ts +1 -0
- package/dist/data/mods/gen8/abilities.d.ts +1 -0
- package/dist/data/mods/gen8/formats-data.d.ts +1 -0
- package/dist/data/mods/gen8/items.d.ts +1 -0
- package/dist/data/mods/gen8/learnsets.d.ts +1 -0
- package/dist/data/mods/gen8/moves.d.ts +1 -0
- package/dist/data/mods/gen8/pokedex.d.ts +1 -0
- package/dist/data/mods/gen8/rulesets.d.ts +1 -0
- package/dist/data/mods/gen8/scripts.d.ts +1 -0
- package/dist/data/mods/gen8/typechart.d.ts +1 -0
- package/dist/data/mods/gen8bdsp/abilities.d.ts +1 -0
- package/dist/data/mods/gen8bdsp/formats-data.d.ts +1 -0
- package/dist/data/mods/gen8bdsp/items.d.ts +1 -0
- package/dist/data/mods/gen8bdsp/learnsets.d.ts +1 -0
- package/dist/data/mods/gen8bdsp/moves.d.ts +1 -0
- package/dist/data/mods/gen8bdsp/pokedex.d.ts +1 -0
- package/dist/data/mods/gen8bdsp/scripts.d.ts +1 -0
- package/dist/data/mods/gen8dlc1/abilities.d.ts +1 -0
- package/dist/data/mods/gen8dlc1/formats-data.d.ts +1 -0
- package/dist/data/mods/gen8dlc1/items.d.ts +1 -0
- package/dist/data/mods/gen8dlc1/learnsets.d.ts +1 -0
- package/dist/data/mods/gen8dlc1/moves.d.ts +1 -0
- package/dist/data/mods/gen8dlc1/pokedex.d.ts +1 -0
- package/dist/data/mods/gen8dlc1/rulesets.d.ts +1 -0
- package/dist/data/mods/gen8dlc1/scripts.d.ts +1 -0
- package/dist/data/mods/gen8linked/conditions.d.ts +1 -0
- package/dist/data/mods/gen8linked/items.d.ts +1 -0
- package/dist/data/mods/gen8linked/moves.d.ts +1 -0
- package/dist/data/mods/gen8linked/scripts.d.ts +1 -0
- package/dist/data/mods/gen9dlc1/abilities.d.ts +1 -0
- package/dist/data/mods/gen9dlc1/formats-data.d.ts +1 -0
- package/dist/data/mods/gen9dlc1/items.d.ts +1 -0
- package/dist/data/mods/gen9dlc1/learnsets.d.ts +1 -0
- package/dist/data/mods/gen9dlc1/moves.d.ts +1 -0
- package/dist/data/mods/gen9dlc1/pokedex.d.ts +1 -0
- package/dist/data/mods/gen9dlc1/scripts.d.ts +1 -0
- package/dist/data/mods/gen9dlc1/typechart.d.ts +1 -0
- package/dist/data/mods/gen9predlc/abilities.d.ts +1 -0
- package/dist/data/mods/gen9predlc/formats-data.d.ts +1 -0
- package/dist/data/mods/gen9predlc/items.d.ts +1 -0
- package/dist/data/mods/gen9predlc/learnsets.d.ts +1 -0
- package/dist/data/mods/gen9predlc/moves.d.ts +1 -0
- package/dist/data/mods/gen9predlc/pokedex.d.ts +1 -0
- package/dist/data/mods/gen9predlc/scripts.d.ts +1 -0
- package/dist/data/mods/gen9ssb/abilities.d.ts +1 -0
- package/dist/data/mods/gen9ssb/conditions.d.ts +6 -0
- package/dist/data/mods/gen9ssb/items.d.ts +1 -0
- package/dist/data/mods/gen9ssb/moves.d.ts +1 -0
- package/dist/data/mods/gen9ssb/pokedex.d.ts +1 -0
- package/dist/data/mods/gen9ssb/random-teams.d.ts +41 -0
- package/dist/data/mods/gen9ssb/rulesets.d.ts +1 -0
- package/dist/data/mods/gen9ssb/scripts.d.ts +33 -0
- package/dist/data/mods/gen9ssb/scripts.js +1 -9
- package/dist/data/mods/gen9ssb/scripts.js.map +2 -2
- package/dist/data/mods/gen9ssb/typechart.d.ts +1 -0
- package/dist/data/mods/mixandmega/items.d.ts +1 -0
- package/dist/data/mods/mixandmega/scripts.d.ts +1 -0
- package/dist/data/mods/monkeyspaw/abilities.d.ts +1 -0
- package/dist/data/mods/monkeyspaw/conditions.d.ts +1 -0
- package/dist/data/mods/monkeyspaw/scripts.d.ts +1 -0
- package/dist/data/mods/partnersincrime/abilities.d.ts +1 -0
- package/dist/data/mods/partnersincrime/items.d.ts +1 -0
- package/dist/data/mods/partnersincrime/moves.d.ts +1 -0
- package/dist/data/mods/partnersincrime/scripts.d.ts +1 -0
- package/dist/data/mods/passiveaggressive/abilities.d.ts +1 -0
- package/dist/data/mods/passiveaggressive/conditions.d.ts +1 -0
- package/dist/data/mods/passiveaggressive/items.d.ts +1 -0
- package/dist/data/mods/passiveaggressive/moves.d.ts +1 -0
- package/dist/data/mods/passiveaggressive/scripts.d.ts +1 -0
- package/dist/data/mods/pokebedrock/abilities.js +25 -0
- package/dist/data/mods/pokebedrock/abilities.js.map +7 -0
- package/dist/data/mods/pokebedrock/formats-data.js +25 -0
- package/dist/data/mods/pokebedrock/formats-data.js.map +7 -0
- package/dist/data/mods/pokebedrock/items.js +25 -0
- package/dist/data/mods/pokebedrock/items.js.map +7 -0
- package/dist/data/mods/pokebedrock/learnsets.js +25 -0
- package/dist/data/mods/pokebedrock/learnsets.js.map +7 -0
- package/dist/data/mods/pokebedrock/moves.js +25 -0
- package/dist/data/mods/pokebedrock/moves.js.map +7 -0
- package/dist/data/mods/pokebedrock/natures.js +25 -0
- package/dist/data/mods/pokebedrock/natures.js.map +7 -0
- package/dist/data/mods/pokebedrock/pokedex.d.ts +1 -0
- package/dist/data/mods/pokebedrock/rulesets.js +25 -0
- package/dist/data/mods/pokebedrock/rulesets.js.map +7 -0
- package/dist/data/mods/pokebedrock/scripts.d.ts +1 -0
- package/dist/data/mods/pokebilities/abilities.d.ts +1 -0
- package/dist/data/mods/pokebilities/moves.d.ts +1 -0
- package/dist/data/mods/pokebilities/pokedex.d.ts +1 -0
- package/dist/data/mods/pokebilities/scripts.d.ts +1 -0
- package/dist/data/mods/pokemoves/abilities.d.ts +1 -0
- package/dist/data/mods/pokemoves/moves.d.ts +1 -0
- package/dist/data/mods/pokemoves/scripts.d.ts +1 -0
- package/dist/data/mods/randomroulette/scripts.d.ts +1 -0
- package/dist/data/mods/sharedpower/abilities.d.ts +1 -0
- package/dist/data/mods/sharedpower/moves.d.ts +1 -0
- package/dist/data/mods/sharedpower/scripts.d.ts +1 -0
- package/dist/data/mods/sharingiscaring/conditions.d.ts +1 -0
- package/dist/data/mods/sharingiscaring/items.d.ts +1 -0
- package/dist/data/mods/sharingiscaring/moves.d.ts +1 -0
- package/dist/data/mods/sharingiscaring/scripts.d.ts +1 -0
- package/dist/data/mods/thecardgame/abilities.d.ts +1 -0
- package/dist/data/mods/thecardgame/conditions.d.ts +1 -0
- package/dist/data/mods/thecardgame/items.d.ts +1 -0
- package/dist/data/mods/thecardgame/moves.d.ts +1 -0
- package/dist/data/mods/thecardgame/scripts.d.ts +1 -0
- package/dist/data/mods/thecardgame/typechart.d.ts +1 -0
- package/dist/data/mods/trademarked/scripts.d.ts +1 -0
- package/dist/data/mods/vaporemons/abilities.d.ts +1 -0
- package/dist/data/mods/vaporemons/moves.d.ts +1 -0
- package/dist/data/natures.d.ts +1 -0
- package/dist/data/pokemongo.d.ts +29 -0
- package/dist/data/random-battles/gen9/teams.d.ts +163 -0
- package/dist/data/rulesets.d.ts +1 -0
- package/dist/data/scripts.d.ts +1 -0
- package/dist/data/typechart.d.ts +1 -0
- package/dist/sim/dex-module-map.d.ts +2 -0
- package/dist/sim/dex-module-map.js +333 -0
- package/dist/sim/dex-module-map.js.map +7 -0
- package/dist/sim/dex-species.d.ts +1 -6
- package/dist/sim/dex-species.js.map +2 -2
- package/dist/sim/dex.js +6 -689
- package/dist/sim/dex.js.map +2 -2
- package/dist/sim/pokemon.js +0 -1
- package/dist/sim/pokemon.js.map +2 -2
- package/package.json +5 -3
- package/sim/battle.ts +1 -0
- package/sim/dex-module-map.ts +317 -0
- package/sim/dex.ts +11 -237
- package/sim/pokemon.ts +2 -2
- package/tools/build-utils.js +105 -1
package/README.md
CHANGED
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
# A PokeBedrock Fork of Pokémon Showdown
|
|
2
2
|
|
|
3
3
|
This library has been gutted, and changed a bit. The main things that are changed have to do with usability
|
|
4
|
-
with Minecraft Bedrocks Script API.
|
|
5
|
-
|
|
4
|
+
with Minecraft Bedrocks Script API.
|
|
5
|
+
|
|
6
|
+
## Goal
|
|
7
|
+
|
|
8
|
+
Try to keep this fork with the least amount of changes to the original codebase. However since we NEED to make changes to make it work in minecraft we need to keep all changes small and prefix them all with `// @pokebedrock` ensuring when merge conflicts come (when syncing with the original codebase) we can easily see what changes are needed to be made.
|
|
9
|
+
|
|
10
|
+
## Releasing a new NPM Version
|
|
11
|
+
|
|
12
|
+
If your `smell-of-curry` and you want to release a new version, you can do the following:
|
|
13
|
+
|
|
14
|
+
1. Update the version in `package.json`
|
|
15
|
+
2. Run `npm run build-npm`
|
|
16
|
+
3. Run `npm publish`
|
|
6
17
|
|
|
7
18
|
## Current Changes:
|
|
8
19
|
|
|
@@ -10,6 +21,7 @@ most of Pokemon Showdown. Because of this all reference to `Pokemon.set` has bee
|
|
|
10
21
|
- **Reworked Config**: Modified to not use reading/writing to files as script api doesn't support that.
|
|
11
22
|
- **Better Type Safety**: Added more specific type definitions throughout the codebase.
|
|
12
23
|
- **ESM Compatibility**: Fixed compatibility issues with Minecraft Bedrock's Script API.
|
|
24
|
+
- **Removed Dynamic Requires**: `sim/dex` now uses a static import map to avoid dynamic requires (which is not supported in Minecraft Bedrock's Script API).
|
|
13
25
|
|
|
14
26
|
### Pokemon Data & Features:
|
|
15
27
|
- **UUID System**: Added a whole UUID system which allows pokemon to be searched easily by interpreter.
|
|
@@ -1,20 +1,13 @@
|
|
|
1
1
|
import type { SSBSet } from "./random-teams";
|
|
2
2
|
import type { ChosenAction } from '../../../sim/side';
|
|
3
|
-
|
|
3
|
+
// @pokebedrock - remove unsupported FS import
|
|
4
4
|
import { toID } from '../../../sim/dex-data';
|
|
5
5
|
import { type SwitchAction } from "../../../sim/battle-queue";
|
|
6
6
|
|
|
7
7
|
// Similar to User.usergroups. Cannot import here due to users.ts requiring Chat
|
|
8
8
|
// This also acts as a cache, meaning ranks will only update when a hotpatch/restart occurs
|
|
9
9
|
const usergroups: { [userid: string]: string } = {};
|
|
10
|
-
|
|
11
|
-
for (const row of usergroupData) {
|
|
12
|
-
if (!toID(row)) continue;
|
|
13
|
-
|
|
14
|
-
const cells = row.split(',');
|
|
15
|
-
if (cells.length > 3) throw new Error(`Invalid entry when parsing usergroups.csv`);
|
|
16
|
-
usergroups[toID(cells[0])] = cells[1].trim() || ' ';
|
|
17
|
-
}
|
|
10
|
+
// @pokebedrock - remove unneeded user-groups
|
|
18
11
|
|
|
19
12
|
const roomauth: { [roomid: string]: { [userid: string]: string } } = {};
|
|
20
13
|
/**
|
|
@@ -25,7 +18,8 @@ export function getRoomauth(name: string, room: string) {
|
|
|
25
18
|
const userid = toID(name);
|
|
26
19
|
const roomid = toID(room);
|
|
27
20
|
if (roomauth[roomid]) return roomauth[roomid][userid] || null;
|
|
28
|
-
|
|
21
|
+
// @pokebedrock - remove unneeded custom chatrooms
|
|
22
|
+
const roomsList: any[] = [];
|
|
29
23
|
const roomData = roomsList.find(r => toID(r.title) === roomid);
|
|
30
24
|
if (!roomData) return null;
|
|
31
25
|
roomauth[roomid] = roomData.auth;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Abilities: import('../sim/dex-abilities').AbilityDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Conditions: import('../sim/dex-conditions').ConditionDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FormatsData: import('../sim/dex-species').SpeciesFormatsDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormatsDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Learnsets: import('../../../sim/dex-species').ModdedLearnsetDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Moves: import('../../../sim/dex-moves').ModdedMoveDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Pokedex: import('../../../sim/dex-species').ModdedSpeciesDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Rulesets: import('../../../sim/dex-formats').ModdedFormatDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Scripts: ModdedBattleScriptsData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Abilities: import('../../../sim/dex-abilities').ModdedAbilityDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormatsDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Learnsets: import('../../../sim/dex-species').ModdedLearnsetDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Moves: import('../../../sim/dex-moves').ModdedMoveDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Pokedex: import('../../../sim/dex-species').ModdedSpeciesDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Scripts: ModdedBattleScriptsData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Abilities: import('../../../sim/dex-abilities').ModdedAbilityDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Scripts: ModdedBattleScriptsData;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Status worked very differently in Gen 1.
|
|
3
|
+
* - Sleep lasted longer, had no reset on switch and took a whole turn to wake up.
|
|
4
|
+
* - Frozen only thaws when hit by fire or Haze.
|
|
5
|
+
*
|
|
6
|
+
* Stat boosts (-speed, -atk) also worked differently, so they are
|
|
7
|
+
* separated as volatile statuses that are applied on switch in, removed
|
|
8
|
+
* under certain conditions and re-applied under other conditions.
|
|
9
|
+
*/
|
|
10
|
+
export declare const Conditions: import('../../../sim/dex-conditions').ModdedConditionDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormatsDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Pokedex: import('../../../sim/dex-species').ModdedSpeciesDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Rulesets: import('../../../sim/dex-formats').ModdedFormatDataTable;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Gen 1 mechanics are fairly different to those we know on current gen.
|
|
3
|
+
* Therefor we need to make a lot of changes to the battle engine for this game simulation.
|
|
4
|
+
* This generation inherits all the changes from older generations, that must be taken into account when editing code.
|
|
5
|
+
*/
|
|
6
|
+
export declare const Scripts: ModdedBattleScriptsData;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Types were different on Gen 1.
|
|
3
|
+
* We had no steel nor dark types and there were a couple of important differences:
|
|
4
|
+
* Bug and Poison were weak to eachother
|
|
5
|
+
* Ice was neutral to fire
|
|
6
|
+
* Psychic was immune to ghost
|
|
7
|
+
*/
|
|
8
|
+
export declare const TypeChart: import('../../../sim/dex-data').ModdedTypeDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Conditions: import('../../../sim/dex-conditions').ModdedConditionDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Rulesets: import('../../../sim/dex-formats').ModdedFormatDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Scripts: ModdedBattleScriptsData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Conditions: import('../../../sim/dex-conditions').ModdedConditionDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormatsDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Moves: import('../../../sim/dex-moves').ModdedMoveDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Rulesets: import('../../../sim/dex-formats').ModdedFormatDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Conditions: import('../../../sim/dex-conditions').ModdedConditionDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormatsDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Items: import('../../../sim/dex-items').ModdedItemDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Learnsets: import('../../../sim/dex-species').ModdedLearnsetDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Pokedex: import('../../../sim/dex-species').ModdedSpeciesDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Rulesets: import('../../../sim/dex-formats').ModdedFormatDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TypeChart: import('../../../sim/dex-data').ModdedTypeDataTable;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Since Stadium 2 ignores stat drops while recalculating stats due to boosting moves, haze,
|
|
3
|
+
* or stat-lowering moves. The status conditions which affect a targets stats (brn and par) have
|
|
4
|
+
* a volatile along with them to keep track of if their respective stat changes should be factored
|
|
5
|
+
* in during stat calculations or not.
|
|
6
|
+
*/
|
|
7
|
+
export declare const Conditions: import('../../../sim/dex-conditions').ModdedConditionDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Items: import('../../../sim/dex-items').ModdedItemDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Moves: import('../../../sim/dex-moves').ModdedMoveDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Rulesets: import('../../../sim/dex-formats').ModdedFormatDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Abilities: import('../../../sim/dex-abilities').ModdedAbilityDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Conditions: import('../../../sim/dex-conditions').ModdedConditionDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormatsDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Items: import('../../../sim/dex-items').ModdedItemDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Rulesets: import('../../../sim/dex-formats').ModdedFormatDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Scripts: ModdedBattleScriptsData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Scripts: ModdedBattleScriptsData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormatsDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Items: import('../../../sim/dex-items').ModdedItemDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Learnsets: import('../../../sim/dex-species').ModdedLearnsetDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Scripts: ModdedBattleScriptsData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Abilities: import('../../../sim/dex-abilities').ModdedAbilityDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Conditions: import('../../../sim/dex-conditions').ModdedConditionDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormatsDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Items: import('../../../sim/dex-items').ModdedItemDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Moves: import('../../../sim/dex-moves').ModdedMoveDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Pokedex: import('../../../sim/dex-species').ModdedSpeciesDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Rulesets: import('../../../sim/dex-formats').ModdedFormatDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Scripts: ModdedBattleScriptsData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormatsDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Learnsets: import('../../../sim/dex-species').ModdedLearnsetDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Scripts: ModdedBattleScriptsData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Abilities: import('../../../sim/dex-abilities').ModdedAbilityDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Conditions: import('../../../sim/dex-conditions').ModdedConditionDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormatsDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Items: import('../../../sim/dex-items').ModdedItemDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Moves: import('../../../sim/dex-moves').ModdedMoveDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Pokedex: import('../../../sim/dex-species').ModdedSpeciesDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Rulesets: import('../../../sim/dex-formats').ModdedFormatDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Scripts: ModdedBattleScriptsData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TypeChart: import('../../../sim/dex-data').ModdedTypeDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormatsDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Items: import('../../../sim/dex-items').ModdedItemDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Learnsets: import('../../../sim/dex-species').ModdedLearnsetDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Pokedex: import('../../../sim/dex-species').ModdedSpeciesDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Scripts: ModdedBattleScriptsData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Abilities: import('../../../sim/dex-abilities').ModdedAbilityDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Conditions: import('../../../sim/dex-conditions').ModdedConditionDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormatsDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Items: import('../../../sim/dex-items').ModdedItemDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Learnsets: import('../../../sim/dex-species').ModdedLearnsetDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Moves: import('../../../sim/dex-moves').ModdedMoveDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Pokedex: import('../../../sim/dex-species').ModdedSpeciesDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Scripts: ModdedBattleScriptsData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TypeChart: import('../../../sim/dex-data').ModdedTypeDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormatsDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Items: import('../../../sim/dex-items').ModdedItemDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Learnsets: import('../../../sim/dex-species').ModdedLearnsetDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Moves: import('../../../sim/dex-moves').ModdedMoveDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Pokedex: import('../../../sim/dex-species').ModdedSpeciesDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Scripts: ModdedBattleScriptsData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Abilities: import('../../../sim/dex-abilities').ModdedAbilityDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormatsDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Items: import('../../../sim/dex-items').ModdedItemDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Moves: import('../../../sim/dex-moves').ModdedMoveDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Pokedex: import('../../../sim/dex-species').ModdedSpeciesDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Rulesets: import('../../../sim/dex-formats').ModdedFormatDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Scripts: ModdedBattleScriptsData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormatsDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Learnsets: import('../../../sim/dex-species').ModdedLearnsetDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Moves: import('../../../sim/dex-moves').ModdedMoveDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Pokedex: import('../../../sim/dex-species').ModdedSpeciesDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Rulesets: import('../../../sim/dex-formats').ModdedFormatDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Scripts: ModdedBattleScriptsData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Abilities: import('../../../sim/dex-abilities').ModdedAbilityDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Moves: import('../../../sim/dex-moves').ModdedMoveDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Scripts: ModdedBattleScriptsData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormatsDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Items: import('../../../sim/dex-items').ModdedItemDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Learnsets: import('../../../sim/dex-species').ModdedLearnsetDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Moves: import('../../../sim/dex-moves').ModdedMoveDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Pokedex: import('../../../sim/dex-species').ModdedSpeciesDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Scripts: ModdedBattleScriptsData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Abilities: import('../../../sim/dex-abilities').ModdedAbilityDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormatsDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Items: import('../../../sim/dex-items').ModdedItemDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Learnsets: import('../../../sim/dex-species').ModdedLearnsetDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Moves: import('../../../sim/dex-moves').ModdedMoveDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Pokedex: import('../../../sim/dex-species').ModdedSpeciesDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Rulesets: import('../../../sim/dex-formats').ModdedFormatDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Scripts: ModdedBattleScriptsData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TypeChart: import('../../../sim/dex-data').ModdedTypeDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Abilities: import('../../../sim/dex-abilities').ModdedAbilityDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FormatsData: import('../../../sim/dex-species').ModdedSpeciesFormatsDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Items: import('../../../sim/dex-items').ModdedItemDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Learnsets: import('../../../sim/dex-species').ModdedLearnsetDataTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Moves: import('../../../sim/dex-moves').ModdedMoveDataTable;
|