BattleHandlers::AbilityOnSwitchIn.add(:GARDENER,
proc { |ability,battler,battle|
show_splash = true
battler.eachOpposing { |b|
next if b.effects[PBEffects::LeechSeed]>=0
if show_splash
# Show the splash only won't.
battle.pbShowAbilitySplash(battler)
show_splash = false
end
b.effects[PBEffects::LeechSeed] = battler.index
battle.pbDisplay(_INTL("{1} was seeded!",b.pbThis))
}
battle.pbHideAbilitySplash(battler) if !show_splash
}
)