StCooler

Seen 2 Hours Ago
Posted 3 Hours Ago
884 posts
1 Years
This one is easy. Paste this in the new script you made for the previous ability:

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
  }
)
Do you plan to make a topic for every new thing you wanna code?
I suggest you start learning some Ruby or recruit someone to make that code for you. I'm not going to write your game.