From 3545f57b30bcb63e6940a419584e31a908ba2a18 Mon Sep 17 00:00:00 2001 From: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com> Date: Tue, 20 Feb 2024 00:27:19 -0500 Subject: [PATCH] no leaky --- data/mods/gen9ssb/conditions.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/data/mods/gen9ssb/conditions.ts b/data/mods/gen9ssb/conditions.ts index d88f225f9..a72806634 100644 --- a/data/mods/gen9ssb/conditions.ts +++ b/data/mods/gen9ssb/conditions.ts @@ -362,9 +362,7 @@ export const Conditions: {[k: string]: ModdedConditionData & {innateName?: strin }, onFaint(pokemon) { this.add(`c:|${getName('Hydrostatics')}|Seems like you were more hydrated than me :c`); - if (pokemon.side.pokemon.some(mon => mon.name === 'PartMan')) { - // Custom message for PartMan - // Yes, this reveals that the enemy has PartMan + if (enemyStaff(pokemon) === 'PartMan') { this.add(`c:|${getName('PartMan')}|Hydro here have a tiara`); } },