Hello There, Guest! Login Register


Tangela h.a
#1
Rainbow 
NOT TESTED
i have no time to test it so just do it yourself
=========================================================================
my 2nd script
1st slot sync
2nd false swipe
3rd,4th,5th OR 6th surf
goodluck and happy moaning
REPORT ANY BUG/GLITCH/ERROR AND ETC...
ame = "Tangela h.a"
author = "FalseVoice"
description = "sync and falseswipe requires surf in your team"

function onPathAction()

if isOutside() and (hasItem("Arcanine Mount") or hasItem("Bicycle")) and not isMounted() and not isSurfing() then
       return useItem("Arcanine Mount") or useItem("Bicycle")

   if isPokemonUsable(1) then
       if getMapName() == "Pokecenter Fuchsia City" then
        moveToMap("Fuchsia City")
       elseif getMapName() == "Fuchsia City" then
           moveToMap("Route 15")
       elseif getMapName() == "Route 15" then    
           moveToWater()
    end
   else
       if getMapName() == "Route 15" then
           moveToMap("Fuchsia City")
       elseif getMapName() == "Fuchsia City" then
           moveToMap("Pokecenter Fuchsia City")
       elseif getMapName() == "Pokecenter Fuchsia City" then
           usePokecenter()
       end
   end
end

  function onBattleAction()
   
   if isWildBattle() and ( isOpponentShiny() or getOpponentName() == "Tangela") then

       if getActivePokemonNumber() == 1 then
           return sendPokemon(2)
       elseif ( getActivePokemonNumber() == 2 ) and ( getOpponentHealth() > 1 ) then
           return weakAttack() or sendAnyPokemon()
       elseif ( getOpponentHealth() == 1 ) then
           return useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball") or sendAnyPokemon()
       end
   end      
       
      return run() or sendAnyPokemon()

end  

function onPause()    
  endtime = os.time()
  log("==============================PAUSE STATS==============================")
  log("Tangela: " .. tangela_count)
  log("TangelaHA: " .. tangelaha_count .. " Remaining PP: " .. getRemainingPowerPoints(1,"False Swipe"))
  log(string.format("Bot running time: %.2f", os.difftime(endtime,startime)/3600 ).. " hours")
  log(string.format("Bot running time: %.2f", os.difftime(endtime,startime)/60 ).. " minutes")
  log("====================================================================")
end

function onBattleMessage(message)
  if stringContains(message, "Wild") and stringContains(message, "tangela") then
      tangela_count = tangela_count + 1
  end
  if stringContains(message, "Regenarator") then
      synchronize = true
      tangelaha_count = tangelaha_count + 1
  end
end
 
Reply
#2
i try to use but don't work and is not only the pokecenter right wrong :c
 
Reply
#3
(2017-04-21, 08:06:49)Septem i try to use but don't work and is not only the pokecenter right wrong :c

ok i will try to fix it
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)