Hello There, Guest! Login Register


Binacle Catching
#1
name = "Catching Binacle - Mt. Coronet B1F"
author = "Chris24"
description = "Catching Binacle"

function onPathAction()
   if isPokemonUsable(1) and isPokemonUsable(2) then
       if getMapName() == "Celestic Pokecenter" then
           moveToMap("Celestic Town")
       elseif getMapName() == "Celestic Town" then
            moveToMap("Route 211")
        elseif getMapName() == "Route 211" then
           moveToMap("Mt. Coronet Center")
       elseif getMapName() == "Mt. Coronet Center" then
           moveToMap("Mt. Coronet B1F")
       elseif getMapName() == "Mt. Coronet B1F" then
           moveToWater()
           end
   else
       if getMapName() == "Mt. Coronet B1F" then
       moveToMap("Mt. Coronet Center")
       elseif getMapName() == "Mt. Coronet Center" then
            moveToMap ("Route 211")
        elseif getMapName() == "Route 211" then
           moveToMap("Celestic Town")
       elseif getMapName() == "Celestic Town" then
           moveToMap("Celestic Pokecenter")
       elseif getMapName() == "Celestic Pokecenter" then
           usePokecenter()
       end
   end
end


function onBattleAction()
    if isWildBattle() and isOpponentShiny() or (not isAlreadyCaught()) or getOpponentName() == "Binacle" 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    
   return run() or sendUsablePokemon() or sendAnyPokemon()
end

Can anyone help please, the bot dont go (move to water) it got stucked
 
Reply
#2
Do you have a Pokemon with surf?
 
Reply
#3
yes i have a pokemon with surf and still guet stuck
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)