Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
torranx committed Sep 25, 2024
1 parent 56a2d4b commit 735f09d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/test/abilities/gulp_missile.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ describe("Abilities - Gulp Missile", () => {
});

it("deals 1/4 of the attacker's maximum HP when hit by a damaging attack", async () => {
game.override.enemyMoveset([Moves.TACKLE]);
game.override.enemyMoveset(Moves.TACKLE);
await game.classicMode.startBattle([Species.CRAMORANT]);

const enemy = game.scene.getEnemyPokemon()!;
Expand All @@ -116,7 +116,7 @@ describe("Abilities - Gulp Missile", () => {
});

it("does not have any effect when hit by non-damaging attack", async () => {
game.override.enemyMoveset([Moves.TAIL_WHIP]);
game.override.enemyMoveset(Moves.TAIL_WHIP);
await game.classicMode.startBattle([Species.CRAMORANT]);

const cramorant = game.scene.getPlayerPokemon()!;
Expand All @@ -135,7 +135,7 @@ describe("Abilities - Gulp Missile", () => {
});

it("lowers attacker's DEF stat stage by 1 when hit in Gulping form", async () => {
game.override.enemyMoveset([Moves.TACKLE]);
game.override.enemyMoveset(Moves.TACKLE);
await game.classicMode.startBattle([Species.CRAMORANT]);

const cramorant = game.scene.getPlayerPokemon()!;
Expand All @@ -159,7 +159,7 @@ describe("Abilities - Gulp Missile", () => {
});

it("paralyzes the enemy when hit in Gorging form", async () => {
game.override.enemyMoveset([Moves.TACKLE]);
game.override.enemyMoveset(Moves.TACKLE);
await game.classicMode.startBattle([Species.CRAMORANT]);

const cramorant = game.scene.getPlayerPokemon()!;
Expand All @@ -183,7 +183,7 @@ describe("Abilities - Gulp Missile", () => {
});

it("does not activate the ability when underwater", async () => {
game.override.enemyMoveset([Moves.SURF]);
game.override.enemyMoveset(Moves.SURF);
await game.classicMode.startBattle([Species.CRAMORANT]);

const cramorant = game.scene.getPlayerPokemon()!;
Expand All @@ -196,7 +196,7 @@ describe("Abilities - Gulp Missile", () => {
});

it("prevents effect damage but inflicts secondary effect on attacker with Magic Guard", async () => {
game.override.enemyMoveset([Moves.TACKLE]).enemyAbility(Abilities.MAGIC_GUARD);
game.override.enemyMoveset(Moves.TACKLE).enemyAbility(Abilities.MAGIC_GUARD);
await game.classicMode.startBattle([Species.CRAMORANT]);

const cramorant = game.scene.getPlayerPokemon()!;
Expand All @@ -220,7 +220,7 @@ describe("Abilities - Gulp Missile", () => {
});

it("activates on faint", async () => {
game.override.enemyMoveset(Array(4).fill(Moves.THUNDERBOLT));
game.override.enemyMoveset(Moves.THUNDERBOLT);
await game.classicMode.startBattle([Species.CRAMORANT]);

const cramorant = game.scene.getPlayerPokemon()!;
Expand All @@ -236,7 +236,7 @@ describe("Abilities - Gulp Missile", () => {


it("cannot be suppressed", async () => {
game.override.enemyMoveset([Moves.GASTRO_ACID]);
game.override.enemyMoveset(Moves.GASTRO_ACID);
await game.classicMode.startBattle([Species.CRAMORANT]);

const cramorant = game.scene.getPlayerPokemon()!;
Expand All @@ -256,7 +256,7 @@ describe("Abilities - Gulp Missile", () => {
});

it("cannot be swapped with another ability", async () => {
game.override.enemyMoveset([Moves.SKILL_SWAP]);
game.override.enemyMoveset(Moves.SKILL_SWAP);
await game.classicMode.startBattle([Species.CRAMORANT]);

const cramorant = game.scene.getPlayerPokemon()!;
Expand Down

0 comments on commit 735f09d

Please sign in to comment.