Skip to content

Commit

Permalink
Remove SPLASH_ONLY Leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
xsn34kzx committed Sep 13, 2024
1 parent 83e6940 commit d4663f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/overrides.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ import { type ModifierOverride } from "./modifier/modifier-type";
* }
* ```
*/
const overrides = {} satisfies Partial<InstanceType<typeof DefaultOverrides>>;
const overrides = {
MOVESET_OVERRIDE: [ Moves.GUARD_SWAP, Moves.POWER_SWAP, Moves.HEART_SWAP ],
OPP_MOVESET_OVERRIDE: Moves.SHELL_SMASH,
} satisfies Partial<InstanceType<typeof DefaultOverrides>>;

/**
* If you need to add Overrides values for local testing do that inside {@linkcode overrides}
Expand Down
3 changes: 1 addition & 2 deletions src/test/moves/heart_swap.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { Moves } from "#enums/moves";
import { BATTLE_STATS } from "#enums/stat";
import { Abilities } from "#enums/abilities";
import { MoveEndPhase } from "#app/phases/move-end-phase";
import { SPLASH_ONLY } from "../utils/testUtils";

describe("Moves - Heart Swap", () => {
let phaserGame: Phaser.Game;
Expand All @@ -29,7 +28,7 @@ describe("Moves - Heart Swap", () => {
game.override
.battleType("single")
.enemyAbility(Abilities.BALL_FETCH)
.enemyMoveset(SPLASH_ONLY)
.enemyMoveset(Moves.SPLASH)
.enemySpecies(Species.INDEEDEE)
.enemyLevel(200)
.moveset([ Moves.HEART_SWAP ])
Expand Down

0 comments on commit d4663f7

Please sign in to comment.