Hello There, Guest! Login Register

avoid some pokemon
Hello, I would like to know how to add in my script, that I leave combat when I touch a pokemon, for example if I am raising a poke with water skills and Quagsire leaves, that leaves the combat and looks for another pokemon or use a particular skill such as Crunch or Bite
if isWildBattle() and getOpponentName() == "Poke1" or getOpponentName() == "Poke2" or getOpponentName() == "Poke3") then -- Pokes you'd like to fight
return attack() or run() or sendAnyPokemon()
return run() or sendAnyPokemon()

Or if you want to use particular move instead of attack use 
useMove("Crunch") -- Replace with move name

Forum Jump:

Browsing: 1 Guest(s)