diff --git a/src/data/battler-tags.ts b/src/data/battler-tags.ts index 570c4065064..1580ff1757b 100644 --- a/src/data/battler-tags.ts +++ b/src/data/battler-tags.ts @@ -2590,7 +2590,7 @@ export class ImprisonTag extends MoveRestrictionBattlerTag { } /** - * Battler Tag that applies the effects of Syrup Bomb to the target Pokemon + * Battler Tag that applies the effects of Syrup Bomb to the target Pokemon. * For three turns, starting from the turn of hit, at the end of each turn, the target Pokemon's speed will decrease by 1. * The tag can also expire by taking the target Pokemon off the field. */ @@ -2600,7 +2600,7 @@ export class SyrupBombTag extends BattlerTag { } /** - * Adds the Syrup Bomb battler tag to the target Pokemon + * Adds the Syrup Bomb battler tag to the target Pokemon. * In addition, this also contains a check for a pre-existing Syrup Bomb tag on the target Pokemon to determine whether the tag should be applied or not * @param {Pokemon} pokemon the target Pokemon */ diff --git a/src/enums/battler-tag-type.ts b/src/enums/battler-tag-type.ts index 6c6c08b4362..209d36316f9 100644 --- a/src/enums/battler-tag-type.ts +++ b/src/enums/battler-tag-type.ts @@ -85,5 +85,5 @@ export enum BattlerTagType { TORMENT = "TORMENT", TAUNT = "TAUNT", IMPRISON = "IMPRISON", - SYRUP_BOMB = "SYRUP_BOMB" + SYRUP_BOMB = "SYRUP_BOMB", } diff --git a/src/test/moves/syrup_bomb.test.ts b/src/test/moves/syrup_bomb.test.ts index 82e458d291e..68199ae7ed5 100644 --- a/src/test/moves/syrup_bomb.test.ts +++ b/src/test/moves/syrup_bomb.test.ts @@ -6,7 +6,7 @@ import { BattlerTagType } from "#enums/battler-tag-type"; import { Stat } from "#enums/stat"; import GameManager from "#test/utils/gameManager"; import Phaser from "phaser"; -import { afterEach, beforeAll, beforeEach, describe, expect, test, vi } from "vitest"; +import { afterEach, beforeAll, beforeEach, describe, expect, it, vi } from "vitest"; describe("Moves - SYRUP BOMB", () => { let phaserGame: Phaser.Game; @@ -36,8 +36,8 @@ describe("Moves - SYRUP BOMB", () => { //Bulbapedia Reference: https://bulbapedia.bulbagarden.net/wiki/syrup_bomb_(move) - test("decreases the target Pokemon's speed stat once per turn for 3 turns", - async() => { + it("decreases the target Pokemon's speed stat once per turn for 3 turns", + async () => { await game.startBattle([Species.MAGIKARP]); const targetPokemon = game.scene.getEnemyPokemon()!; @@ -60,8 +60,8 @@ describe("Moves - SYRUP BOMB", () => { } ); - test("does not affect Pokemon with the ability Bulletproof", - async() => { + it("does not affect Pokemon with the ability Bulletproof", + async () => { game.override.enemyAbility(Abilities.BULLETPROOF); await game.startBattle([Species.MAGIKARP]); @@ -69,7 +69,7 @@ describe("Moves - SYRUP BOMB", () => { game.move.select(Moves.SYRUP_BOMB); await game.toNextTurn(); - expect(targetPokemon.getMaxHp()).toBe(targetPokemon.hp); + expect(targetPokemon.isFullHp()).toBe(true); expect(targetPokemon.getTag(BattlerTagType.SYRUP_BOMB)).toBeUndefined(); expect(targetPokemon.getStatStage(Stat.SPD)).toBe(0); }