Hello There, Guest! Login Register


Catch Happiny And Togepi with Synch and False Swipe2
#1
you need :1st slot synch and 2nd slot Flase Swipe
name = "Catch Happiny And Togepi"
author = "KArzo"
description = [[Catch Happiny And Togepi with Synch and False Swipe]]


function onstart()
pcVisits = 0
   shinyCounter = 0
   wildCounter = 0
   log("Start botting.")
end

function onPause()
   log("Shinies Caught: " .. shinyCounter)
   log("Pokemons encountered: " .. wildCounter)
   log("You have visited the PokeCenter ".. pcVisits .." times.")
   log("*********************************************************************************************")
end

function onResume()
   log("SESSION RESUMED")
end

function onPathAction()
   if isPrivateMessageEnabled() then log("Private messages disabled.") return disablePrivateMessage() end
   if isPokemonUsable(1)
     and (getRemainingPowerPoints(2, "False Swipe") == 0)
   then
      if getMapName() == "Love Island"  then    
           moveToMap("Pokecenter Love Island")
        elseif getMapName() == "Pokecenter Love Island" then
           usePokecenter()
    end
    elseif isPokemonUsable(1) then
       if getPokemonNature(1) == "Bold" then
            if getMapName () == "Pokecenter Love Island" then
              moveToMap ("Love Island")
            elseif getMapName () == "Love Island" then
                moveToRectangle(40, 31, 42, 32)
            end
        end
    end
end    

function onBattleAction()
  if isWildBattle() and ( isOpponentShiny() or not isAlreadyCaught() or getOpponentName() == "Happiny" or getOpponentName() == "Togepi") then
       if getActivePokemonNumber() == 1 then
           if sendPokemon(2) then return end
       end
        if getActivePokemonNumber() == 2 and getOpponentHealth() > 1 then
           if weakAttack() then return end
       end
        if useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball") then return end
   end
       if isWildBattle() and ( getOpponentName() == "Wynaut") then
           return useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball") or sendAnyPokemon()
   end    
   return run() or sendUsablePokemon() or sendAnyPokemon()
end

GOOD LUCK
 
Reply
#2
Thank You Big Grin ! 100% functional
 
Reply
#3
yw if anybody need a a script tell me i'll try to do it
 
Reply
#4
Can you try to configure so that when we encounter wild Wynaut it will attack it instead of throwing pokeballs? It saves the trouble of having to restock our pokeballs Big Grin
 
Reply
#5
mount?

[03:25:47] A Wild Doduo Attacks!
[03:25:52] You have run away from the wild Pokemon.
[03:25:58] A Wild Sunkern Attacks!
[03:26:03] You have run away from the wild Pokemon.
[03:26:08] Position updated: Love Island (36, 30) [OK, lag, distance=2]
[03:26:14] A Wild Togepi Attacks!
[03:26:24] No action executed: stopping the bot.
[03:26:24] Bot stopped
[03:27:15] System: You are now AFK!
[03:34:15] Disconnected from the server.
 
Reply
#6
(2017-01-08, 07:45:28)Pink Potato Can you try to configure so that when we encounter wild Wynaut it will attack it instead of throwing pokeballs? It saves the trouble of having to restock our pokeballs Big Grin
Finished version is in spoiler!

its reall basic
look at last few lines that changes catch to attack . for future ref. so you dont ask for a single line to be changed over the main post.

-- attack -- fucntion
if isWildBattle() and ( getOpponentName() == "Wynaut") then
return attack()

the line above will be change to catch in this demo
-- catch. with master ball then ultra

if isWildBattle() and ( getOpponentName() == "Wynaut") then
return useItem("Master Ball") or useItem("Ultra Ball") or useItem("Great Ball") or useItem("Pokeball)

Finished version gl
Show ContentKill Wynauts:
 
Reply
#7
one work script for togepi happiny and dratini in love island please.. with mount


first poke sync second false swipe 3nd sync

add the mount in this script please.
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)