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} * If you need to add Overrides values for local testing do that inside {@linkcode overrides}

View File

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

View File

@ -30,7 +30,7 @@ describe("Challenges - Limited Catch", () => {
.enemySpecies(SpeciesId.VOLTORB) .enemySpecies(SpeciesId.VOLTORB)
.enemyAbility(AbilityId.BALL_FETCH) .enemyAbility(AbilityId.BALL_FETCH)
.enemyMoveset(MoveId.SPLASH) .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 () => { 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") .battleStyle("single")
.enemySpecies(SpeciesId.VOLTORB) .enemySpecies(SpeciesId.VOLTORB)
.enemyAbility(AbilityId.BALL_FETCH) .enemyAbility(AbilityId.BALL_FETCH)
.enemyMoveset(MoveId.SPLASH) .enemyMoveset(MoveId.SPLASH);
}); });
it('should disable the shop in "No Shop"', async () => { it('should disable the shop in "No Shop"', async () => {

View File

@ -34,7 +34,7 @@ describe("Challenges - Permanent Faint", () => {
.battleStyle("single") .battleStyle("single")
.enemySpecies(SpeciesId.VOLTORB) .enemySpecies(SpeciesId.VOLTORB)
.enemyAbility(AbilityId.BALL_FETCH) .enemyAbility(AbilityId.BALL_FETCH)
.enemyMoveset(MoveId.SPLASH) .enemyMoveset(MoveId.SPLASH);
}); });
it("should render Revival Blessing unusable by players only", async () => { it("should render Revival Blessing unusable by players only", async () => {