From dfe320e712f98b88226656b859fd6b287f4015c6 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Tue, 16 Apr 2024 15:22:19 -0400 Subject: [PATCH] Minor changes to biome paths --- src/data/biomes.ts | 6 +++--- src/data/move.ts | 6 +++--- src/phases.ts | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/data/biomes.ts b/src/data/biomes.ts index a917593a3fa..e440321c73f 100644 --- a/src/data/biomes.ts +++ b/src/data/biomes.ts @@ -44,7 +44,7 @@ export const biomeLinks: BiomeLinks = { [Biome.SEA]: [ Biome.SEABED, Biome.ICE_CAVE ], [Biome.SWAMP]: [ Biome.GRAVEYARD, Biome.TALL_GRASS ], [Biome.BEACH]: [ Biome.SEA, [ Biome.ISLAND, 4 ] ], - [Biome.LAKE]: [ Biome.BEACH, Biome.SWAMP ], + [Biome.LAKE]: [ Biome.BEACH, Biome.SWAMP, Biome.CONSTRUCTION_SITE ], [Biome.SEABED]: [ Biome.CAVE, [ Biome.VOLCANO, 4 ] ], [Biome.MOUNTAIN]: [ Biome.VOLCANO, [ Biome.WASTELAND, 3 ] ], [Biome.BADLANDS]: [ Biome.DESERT, Biome.MOUNTAIN ], @@ -66,9 +66,9 @@ export const biomeLinks: BiomeLinks = { [Biome.FAIRY_CAVE]: [ Biome.ICE_CAVE, [ Biome.SPACE, 3 ] ], [Biome.TEMPLE]: [ Biome.SWAMP, [ Biome.RUINS, 3 ] ], [Biome.METROPOLIS]: Biome.SLUM, - [Biome.SNOWY_FOREST]: Biome.LAKE, + [Biome.SNOWY_FOREST]: [ Biome.FOREST, Biome.LAKE, Biome.MOUNTAIN ], [Biome.ISLAND]: Biome.SEA, - [Biome.LABORATORY]: Biome.METROPOLIS + [Biome.LABORATORY]: Biome.CONSTRUCTION_SITE }; export const biomeDepths: BiomeDepths = {}; diff --git a/src/data/move.ts b/src/data/move.ts index 988951a6e78..42c7f5ed322 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -3496,7 +3496,7 @@ export function getMoveTargets(user: Pokemon, move: Moves): MoveTargetSet { } export const allMoves: Move[] = [ - new SelfStatusMove(Moves.NONE, Type.NORMAL, MoveCategory.STATUS, -1, "", -1, 0, 1), + new SelfStatusMove(Moves.NONE, Type.NORMAL, MoveCategory.STATUS, -1, -1, 0, 1), ]; export function initMoves() { @@ -5305,7 +5305,7 @@ export function initMoves() { .attr(StatChangeAttr, BattleStat.DEF, -1), new AttackMove(Moves.POWER_TRIP, Type.DARK, MoveCategory.PHYSICAL, 20, 100, 10, -1, 0, 7) .attr(StatChangeCountPowerAttr), - new AttackMove(Moves.BURN_UP, "Burn Up", Type.FIRE, MoveCategory.SPECIAL, 130, 100, 5, -1, 0, 7) + new AttackMove(Moves.BURN_UP, Type.FIRE, MoveCategory.SPECIAL, 130, 100, 5, -1, 0, 7) .condition((user) => { const userTypes = user.getTypes(true); return userTypes.includes(Type.FIRE); @@ -5998,7 +5998,7 @@ export function initMoves() { .attr(HitHealAttr) .slicingMove() .triageMove(), - new AttackMove(Moves.DOUBLE_SHOCK, "Double Shock", Type.ELECTRIC, MoveCategory.PHYSICAL, 120, 100, 5, -1, 0, 9) + new AttackMove(Moves.DOUBLE_SHOCK, Type.ELECTRIC, MoveCategory.PHYSICAL, 120, 100, 5, -1, 0, 9) .condition((user) => { const userTypes = user.getTypes(true); return userTypes.includes(Type.ELECTRIC); diff --git a/src/phases.ts b/src/phases.ts index 08e4f1d6999..6a1716a8fc6 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -4256,7 +4256,7 @@ export class SelectModifierPhase extends BattlePhase { return getPlayerModifierTypeOptions(modifierCount, this.scene.getParty(), this.scene.lockModifierTiers ? this.modifierTiers : undefined); } - addModifier(modifier: Modifier): Promise { + addModifier(modifier: Modifier): Promise { return this.scene.addModifier(modifier, false, true); } }