Hello There, Guest! Login Register


Johto - Dragons Den Level up
#1
PHP Code:
name "Dragons Den"
author "Gandalf"
description = [[This script will train the first pokémon of your team.
Start anywhere between Blackthorn City and the Dragons Den.
You need a pokémon with surf.]]
movesNotToForget = {} --add moves here

function onPathAction()
    if 
isPokemonUsable(1then
        
if getMapName() == "Pokecenter Blackthorn" then
            moveToCell
(1020)
        elseif 
getMapName() == "Blackthorn City" then
            moveToCell
(275)
        elseif 
getMapName() == "Dragons Den Entrance" then
            moveToCell
(1414)
        elseif 
getMapName() == "Dragons Den" then
            moveToRectangle
(34294829)
        
end
    
else
        if 
getMapName() == "Dragons Den" then
            moveToCell
(4016)
        elseif 
getMapName() == "Dragons Den Entrance" then
            moveToCell
(1418)
        elseif 
getMapName() == "Blackthorn City" then
            moveToCell
(2939)
        elseif 
getMapName() == "Pokecenter Blackthorn" then
            talkToNpcOnCell
(1012)
        
end
    end
end

function onBattleAction()
    if 
isWildBattle() and isOpponentShiny() then
        
if useItem("Ultra Ball") or useItem("Great Ball") or 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 
This script will allow you to up the level of the first Pokemon on Dragons Den in Johto, 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)