Fix and Lint Suggestions

This commit is contained in:
xsn34kzx 2025-08-06 22:41:11 -04:00
parent 4490e4e9bf
commit f2a12bed28
5 changed files with 9 additions and 7 deletions

View File

@ -44,7 +44,10 @@ import { Variant } from "#sprites/variant";
* }
* ```
*/
const overrides = {} satisfies Partial<InstanceType<OverridesType>>;
const overrides = {
STARTER_SPECIES_OVERRIDE: SpeciesId.TYPHLOSION,
MOVESET_OVERRIDE: [MoveId.EXPLOSION],
} satisfies Partial<InstanceType<OverridesType>>;
/**
* If you need to add Overrides values for local testing do that inside {@linkcode overrides}

View File

@ -36,7 +36,6 @@ export class PartyHealPhase extends BattlePhase {
move.ppUsed = 0;
}
pokemon.updateInfo(true);
}
}
const healSong = globalScene.playSoundWithoutBgm("heal");
globalScene.time.delayedCall(fixedInt(healSong.totalDuration * 1000), () => {

View File

@ -30,7 +30,7 @@ describe("Challenges - Limited Catch", () => {
.enemySpecies(SpeciesId.VOLTORB)
.enemyAbility(AbilityId.BALL_FETCH)
.enemyMoveset(MoveId.SPLASH)
.startingModifier([{ name: "MASTER_BALL", count: 1 }])
.startingModifier([{ name: "MASTER_BALL", count: 1 }]);
});
it("should allow wild Pokémon to be caught on X1 waves", async () => {

View File

@ -29,7 +29,7 @@ describe("Challenges - No Support", () => {
.battleStyle("single")
.enemySpecies(SpeciesId.VOLTORB)
.enemyAbility(AbilityId.BALL_FETCH)
.enemyMoveset(MoveId.SPLASH)
.enemyMoveset(MoveId.SPLASH);
});
it('should disable the shop in "No Shop"', async () => {
@ -74,7 +74,7 @@ describe("Challenges - No Support", () => {
game.move.use(MoveId.SPLASH);
await game.doKillOpponents();
await game.toNextWave();
expect(playerPokemon).not.toHaveFullHp();
game.move.use(MoveId.SPLASH);

View File

@ -34,7 +34,7 @@ describe("Challenges - Permanent Faint", () => {
.battleStyle("single")
.enemySpecies(SpeciesId.VOLTORB)
.enemyAbility(AbilityId.BALL_FETCH)
.enemyMoveset(MoveId.SPLASH)
.enemyMoveset(MoveId.SPLASH);
});
it("should render Revival Blessing unusable by players only", async () => {
@ -44,7 +44,7 @@ describe("Challenges - Permanent Faint", () => {
const player = game.field.getPlayerPokemon();
const revBlessing = player.getMoveset()[0];
expect(revBlessing.isUsable()).toBe(false);
game.move.select(MoveId.REVIVAL_BLESSING);
await game.toEndOfTurn();