From 4faaed87c58152694cf2efacba2d4a2ff8e44943 Mon Sep 17 00:00:00 2001 From: andrebastosdias Date: Sat, 7 Feb 2026 17:16:09 +0000 Subject: [PATCH 1/2] Simplify Mummy and Lingering Aroma --- sim/pokemon.ts | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/sim/pokemon.ts b/sim/pokemon.ts index 418bdc3bd2..519d6ff6b1 100644 --- a/sim/pokemon.ts +++ b/sim/pokemon.ts @@ -1900,18 +1900,13 @@ export class Pokemon { this.ability = ability.id; this.abilityState = this.battle.initEffectState({ id: ability.id, target: this }); if (sourceEffect && !isFromFormeChange && !isTransform) { - switch (sourceEffect.id) { - case 'mummy': - case 'lingeringaroma': - this.battle.add('-activate', source, sourceEffect.fullname, this, '[ability] ' + oldAbility.name); - break; - default: - if (source) { - this.battle.add('-ability', this, ability.name, oldAbility.name, `[from] ${sourceEffect.fullname}`, `[of] ${source}`); - } else { - this.battle.add('-ability', this, ability.name, oldAbility.name, `[from] ${sourceEffect.fullname}`); - } - break; + if (sourceEffect.effectType === 'Ability' && this !== this.battle.effectState.target) { + this.battle.add('-activate', source, sourceEffect.fullname); + } + if (source) { + this.battle.add('-ability', this, ability.name, oldAbility.name, `[from] ${sourceEffect.fullname}`, `[of] ${source}`); + } else { + this.battle.add('-ability', this, ability.name, oldAbility.name, `[from] ${sourceEffect.fullname}`); } } if (ability.id && this.battle.gen > 3 && From dfdaaf26b364a93f841bad4ab9c1355de346798d Mon Sep 17 00:00:00 2001 From: andrebastosdias Date: Sun, 8 Feb 2026 18:41:23 +0000 Subject: [PATCH 2/2] Fix text --- data/text/abilities.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/text/abilities.ts b/data/text/abilities.ts index 49a91d02da..70af9a5c2e 100644 --- a/data/text/abilities.ts +++ b/data/text/abilities.ts @@ -902,7 +902,7 @@ export const AbilitiesText: { [id: IDEntry]: AbilityText } = { desc: "Pokemon making contact with this Pokemon have their Ability changed to Lingering Aroma. Does not affect Pokemon with the As One, Battle Bond, Comatose, Disguise, Gulp Missile, Ice Face, Lingering Aroma, Multitype, Power Construct, RKS System, Schooling, Shields Down, Stance Change, or Zen Mode Abilities.", }, - changeAbility: " A lingering aroma clings to [TARGET]!", + changeAbility: " A lingering aroma clings to [POKEMON]!", }, liquidooze: { name: "Liquid Ooze", @@ -1093,7 +1093,7 @@ export const AbilitiesText: { [id: IDEntry]: AbilityText } = { desc: "Pokemon making contact with this Pokemon have their Ability changed to Mummy. Does not affect Pokemon with the Multitype or Mummy Abilities.", }, - changeAbility: " [TARGET]'s Ability became Mummy!", + changeAbility: " [POKEMON]'s Ability became Mummy!", }, myceliummight: { name: "Mycelium Might",