Hello There, Guest! Login Register


Att Speed EV route 112
#1
name = "Attack & Speed: Route 112"
author = "Chris24"
description = [[This script will EV Train in Attack and Speed
This will also catch shinys aswell.
Start between Mauville city Pokecenter or Route 112.]]


function onStart()
    if hasItem("Macho Brace") and getPokemonHeldItem(1) != "Macho Brace" then giveItemToPokemon("Macho Brace", 1)
    end
end

function onPathAction()
    if isPokemonUsable(1) then
        if getMapName() == "Pokecenter Mauville City" then
            moveToMap("Mauville City")
        elseif getMapName() == "Mauville City" then
            if not isMounted() then
                    useItem("Bicycle")
                        elseif isMounted() then            
            moveToMap("Route 111 South")    
        elseif getMapName() == "Route 111 South" then
   moveToMap("Route 112")
end
elseif getMapName() == "Route 112" then
            moveToGrass()
        end
    else
        if getMapName() == "Route 112" then
            moveToMap("Route 111 South") 
elseif getMapName() == "Route 111 South" then
   moveToMap("Mauville City")
        elseif getMapName() == "Mauville City" then
            moveToMap("Pokecenter Mauville City")
        elseif getMapName() == "Pokecenter Mauville City" then
            usePokecenter()
        end
    end
end

function onBattleAction()
    if isWildBattle() and isOpponentShiny() then
        if useItem("PokeBall") or useItem("Great Ball") or useItem("Ultra ball") then
            return
        end
    end
    if getActivePokemonNumber() == 1 and isOpponentEffortValue("Attack") or isOpponentEffortValue("Speed") then
        return attack() or sendUsablePokemon() or sendAnyPokemon()
    else
        return run() or attack() or sendUsablePokemon() or sendAnyPokemon()
    end
end
 
Reply
#2
description = [[This script will EV Train in Attack and Speed
This will also catch shinys aswell.
Start between Mauville city Pokecenter or Route 112.]]


function onStart()
    if hasItem("Macho Brace") and getPokemonHeldItem(1) != "Macho Brace" then giveItemToPokemon("Macho Brace", 1)
    end
end

function onPathAction()
    if isPokemonUsable(1) then
        if getMapName() == "Pokecenter Mauville City" then
            moveToMap("Mauville City")
        elseif getMapName() == "Mauville City" then
            moveToMap("Mauville City Stop House 3")
        elseif getMapName() == "Mauville City Stop House 3" then
            moveToMap("Route 111 South")    
        elseif getMapName() == "Route 111 South" then
                   if not isMounted() then
                    useItem("Bicycle")
                        elseif isMounted() then            
   moveToMap("Route 112")
end
elseif getMapName() == "Route 112" then
            moveToGrass()
        end
    else
        if getMapName() == "Route 112" then
            moveToMap("Route 111 South") 
elseif getMapName() == "Route 111 South" then
   moveToMap("Mauville City Stop House 3")
        elseif getMapName() == "Mauville City Stop House 3" then
            moveToMap("Mauville City")
        elseif getMapName() == "Mauville City" then    
            moveToMap("Pokecenter Mauville City")
        elseif getMapName() == "Pokecenter Mauville City" then
            usePokecenter()
        end
    end
end

function onBattleAction()
    if isWildBattle() and isOpponentShiny() then
        if useItem("PokeBall") or useItem("Great Ball") or useItem("Ultra ball") then
            return
        end
    end
    if getActivePokemonNumber() == 1 and isOpponentEffortValue("Attack") or isOpponentEffortValue("Speed") then
        return attack() or sendUsablePokemon() or sendAnyPokemon()
    else
        return run() or attack() or sendUsablePokemon() or sendAnyPokemon()
    end
end
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)