From 728ee530fc34b022a4cc17ce2f2a866d75858eb9 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Fri, 9 Feb 2024 15:48:20 -0500 Subject: [PATCH] Invert arena trap side target condition --- src/data/arena-tag.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/arena-tag.ts b/src/data/arena-tag.ts index 30cc1da7d14..f611a0e9bac 100644 --- a/src/data/arena-tag.ts +++ b/src/data/arena-tag.ts @@ -144,7 +144,7 @@ export class ArenaTrapTag extends ArenaTag { apply(arena: Arena, args: any[]): boolean { const pokemon = args[0] as Pokemon; - if (this.sourceId === pokemon.id || (this.side === ArenaTagSide.PLAYER) === pokemon.isPlayer()) + if (this.sourceId === pokemon.id || (this.side === ArenaTagSide.PLAYER) !== pokemon.isPlayer()) return false; return this.activateTrap(pokemon);