Hello There, Guest! Login Register


Love Island with Synch switcher
#1
name = "LOVE Island universal Catcher"
author = "Hetcolt007"

function onStart()
   counter=0;

   if isPrivateMessageEnabled() then
       log("Private messages disabled.")
       return disablePrivateMessage()
   end
end

function onStart()
 shinyCounter = 0
 DratiniCounter = 0
 AzurillCounter = 0
 RaltsCounter = 0
 TogepiCounter = 0
 HappinyCounter = 0
 CleffaCounter = 0
 MunchlaxCounter = 0
 log("Start botting.")
end


function onPause()
 log("Pause.")
 log("Dratini Counter: " .. DratiniCounter)
 log("Azurill Counter: " .. AzurillCounter)
 log("Ralts Counter: " .. RaltsCounter)
 log("Togepi Caught: " .. TogepiCounter)
 log("Happiny Caught: " .. HappinyCounter)
 log("Cleffa Caught: " .. CleffaCounter)
 log("Munchlax Caught: " .. MunchlaxCounter)
 log("Shinies Caught: " .. shinyCounter)
end


function onResume()
 log("Resumed.")
end


function onBattleMessage(wild)
 if wild == "A Wild SHINY " then
     shinyCounter = shinyCounter + 1
 elseif wild == "A Wild [FF9900]Dratini[-] Attacks!" then
     DratiniCounter = DratiniCounter + 1
 elseif wild == "A Wild [FF9900]Azurill[-] Attacks!" then
     AzurillCounter = AzurillCounter + 1
 elseif wild == "A Wild [FF9900]Ralts[-] Attacks!" then
     RaltsCounter = RaltsCounter + 1
 elseif wild == "A Wild [FF9900]Togepi[-] Attacks!" then
     TogepiCounter = TogepiCounter + 1
 elseif wild == "A Wild [FF9900]Happiny[-] Attacks!" then
     HappinyCounter = HappinyCounter + 1
 elseif wild == "A Wild [FF9900]Cleffa[-] Attacks!" then
     CleffaCounter = CleffaCounter + 1
 elseif wild == "A Wild [FF9900]Munchlax[-] Attacks!" then
    MunchlaxCounter = CleffaCounter + 1
   end
end

function onPathAction()


   if getRemainingPowerPoints(3, "False Swipe") >= 1 then
       
       if not isNight() and getPokemonNature(1) ~= "Modest" then
           return swapPokemon(2, 1)
       elseif not isNight() and getPokemonNature(1) == "Modest" then

          if getMapName() == "Pokecenter Love Island" then
           moveToMap("Love Island")
          elseif getMapName() == "Love Island" then
           moveToRectangle(66, 32, 68, 32)

          end

          if isNight() and getPokemonNature(1) ~= "Adamant" then
           return swapPokemon(2, 1)
          elseif isNight() and getPokemonNature(1) == "Adamant" then

          if getMapName() == "Pokecenter Love Island" then
           moveToMap("Love Island")
          elseif getMapName() == "Love Island" then     
           moveToRectangle(62, 34, 64, 34)
          end

   end
 
   else
       
          if getMapName() == "Love Island" then
           moveToMap("Pokecenter Love Island")
          elseif getMapName() == "Pokecenter Love Island" then
           usePokecenter()
          end
   end
end

function onBattleAction()
    if isWildBattle() and ( isOpponentShiny() or getOpponentName() == "Dratini" or
                                                 getOpponentName() == "Azurill" or
                                                 getOpponentName() == "Ralts" or
                                                 getOpponentName() == "Cleffa" or
                                                 getOpponentName() == "Munchlax" or
                                                 getOpponentName() == "Happiny" or
                                                 getOpponentName() == "Togepi" ) then
        if getActivePokemonNumber() == 1 then
            return sendPokemon(3) or run()
        elseif ( getActivePokemonNumber() == 3 ) and ( getOpponentHealth() > 1 ) then
            return weakAttack() or run()
        elseif ( getActivePokemonNumber() == 3 ) and ( getOpponentHealth() == 1 ) then

            return useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball")    
        
        end
    end

    if (getActivePokemonNumber() >= 1 and getOpponentName() == "Wynaut") then
        return attack()
        else return run()
    end
end
end

your Synch pokes at place 1 and 2, on place 3 the false Swipe poke

at night he goes for           Dratini / Azurill [ADAMANT]
at day he goes for              Ralts / Togepi / Cleffa / Happiny / Munchlax [MODEST]
 
Reply
#2
Don't seem to get this to work. The bot is just stuck in PC and keeps healing.
 
Reply
#3
This works fine during the day, but does not work at night. It just keeps trying to heal. I haven't figured out a way to edit it to make it work.
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)