diff --git a/public/locales b/public/locales index 73baa3b8d9c..b96c39ed499 160000 --- a/public/locales +++ b/public/locales @@ -1 +1 @@ -Subproject commit 73baa3b8d9c486fd6263f601182ed97938fb6597 +Subproject commit b96c39ed499c1d94b9edc362656667c8329ff5c4 diff --git a/src/data/positional-tags/positional-tag-manager.ts b/src/data/positional-tags/positional-tag-manager.ts index 2de800b11f0..e896beb75ae 100644 --- a/src/data/positional-tags/positional-tag-manager.ts +++ b/src/data/positional-tags/positional-tag-manager.ts @@ -39,7 +39,7 @@ export class PositionalTagManager { const leftoverTags: PositionalTag[] = []; for (const tag of this.tags) { // Check for silent removal, immediately removing tags that. - if (!tag.shouldDisappear()) { + if (tag.shouldDisappear()) { continue; } diff --git a/test/moves/delayed_attack.test.ts b/test/moves/delayed_attack.test.ts index a6000d02977..6e2c70a725f 100644 --- a/test/moves/delayed_attack.test.ts +++ b/test/moves/delayed_attack.test.ts @@ -320,6 +320,7 @@ describe("Moves - Delayed Attacks", () => { game.doSwitchPokemon(1); const typeMock = vi.spyOn(game.field.getPlayerPokemon(), "getMoveType"); + const powerMock = vi.spyOn(allMoves[MoveId.DOOM_DESIRE], "calculateBattlePower"); await game.toNextTurn(); @@ -333,6 +334,7 @@ describe("Moves - Delayed Attacks", () => { }), ); expect(typeMock).toHaveLastReturnedWith(PokemonType.STEEL); + expect(powerMock).toHaveLastReturnedWith(150); }); it.todo("should not apply the user's held items when dealing damage if the user is inactive", async () => {