PROShine
Sinnoh Route 212 North Leveler - Printable Version

+- PROShine (https://proshine-bot.com)
+-- Forum: PROShine (https://proshine-bot.com/forum-5.html)
+--- Forum: Scripts (https://proshine-bot.com/forum-13.html)
+--- Thread: Sinnoh Route 212 North Leveler (/thread-3515.html)



Sinnoh Route 212 North Leveler - Matr1x - 2019-04-23

Simple and efficient script to level your Pokemons at Sinnoh Route 212 North.
Since there are not many sinnoh script i decided to make this. More sinnoh scripts are coming! You can also request down below Smile.
Note: This script uses mount feature. Replace the "Your Mount Name" text with the name of your mount and it should use that mount whilst botting.


name = "Leveling: Sinnoh Route 212 South"
author = "Matr1x"
description = [[This script will train the first pokémon of your team.
It will also try to capture shinies by throwing pokéballs.]]

function onPathAction()
       if isOutside() and hasItem('Your Mount Name') and not isSurfing() and not isMounted() then
        log('Using Your Mount Name......')
        return useItem('Your Mount Name')
    end

    if isPokemonUsable(1) then
        if getMapName() == "Hearthome Pokecenter" then
            moveToCell(7, 15)
        elseif getMapName() == "Hearthome City" then
            moveToCell(10, 45)
        elseif getMapName() == "Hearthome City Stop House 2" then
            moveToCell(3, 12)
        elseif getMapName() == "Route 212 North" then
               return moveToGrass()
           end
    else
        if getMapName() == "Route 212 North" then
            moveToRectangle(16, 84, 16, 88)
        elseif getMapName() == "Hearthome City Stop House 2" then
            moveToCell(3, 12)
        elseif getMapName() == "Hearthome City" then
            moveToCell(10, 45)
        elseif getMapName() == "Hearthome Pokecenter" then
            usePokecenter()
        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
Happy Botting. Wink