Hello There, Guest! Login Register


Kanto - Victory Road Kanto 3F Level Up
#1
PHP Code:
name "Victory Road Kanto 3F"
author "Gandalf"
description = [[Start anywhere between the exit of the Victory Road Kanto 3F and the Indigo Plateau Center.]]
movesNotToForget = {} --add moves here

function onPathAction()
 
  if isPokemonUsable(1then
       
if getMapName() == "Indigo Plateau Center" then
           moveToCell
(1028)
 
      elseif getMapName() == "Indigo Plateau" then
           moveToCell
(2131)
 
      elseif getMapName() == "Victory Road Kanto 3F" then
           moveToRectangle
(46154622)
 
      end
   
else
 
      if getMapName() == "Victory Road Kanto 3F" then
           moveToCell
(4613)
 
      elseif getMapName() == "Indigo Plateau" then
           moveToCell
(3212)
 
      elseif getMapName() == "Indigo Plateau Center" then
           talkToNpcOnCell
(422)
 
      end
   end
end

function onBattleAction()
 
  if isWildBattle() and (isOpponentShiny() or isAlreadyCaught() == falsethen
       
if useItem("Pokeball"then
           
return
 
      end
   end
   
if getActivePokemonNumber() == 1 then
       
return attack() or sendUsablePokemon() or run() or sendAnyPokemon()
 
  else
 
      return run() or attack() or sendUsablePokemon() or sendAnyPokemon()
 
  end
end
function onLearningMove(moveNamepokemonIndex)
 
  forgetAnyMoveExcept(movesNotToForget)
end 
This script will allow you to up the level of the first Pokemon on Victory Road Kanto 3F in Kanto, when the first Pokemon dies, the bot automatically goes to the Pokecenter and after healing the pokemon, returns to the farm level again. Also in the line "movesNotToForget" you can specify the movements that you would like to replace in the event that the bot raises the level and suggest that he learn new movements.
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)