Hello There, Guest! Login Register


Squirtle farm - Vermilion
#1
name = "Squirtle farm: Vermilion City"
author = "MinQ"
description = [[This script will capture Squirtle only. You need suff pokemon, a pokemon with move SING at slot 2, a pokemon with FALSE SWIPE at slot 1.
It will also try to capture shinies by throwing pokéballs.
Start anywhere at Vermilion City.]]

function onPathAction()
if isPokemonUsable(1) then
if getMapName() == "Pokecenter Vermilion" then
moveToMap("Vermilion City")
elseif getMapName() == "Vermilion City" then
moveToWater()
end
else
if getMapName() == "Vermilion City" then
moveToMap("Pokecenter Vermilion")
elseif getMapName() == "Pokecenter Vermilion" then
usePokecenter()
end
end
end

function onBattleAction()
    if isWildBattle() and isOpponentShiny() then
        return useItem("Ultra Ball") or useItem("Great Ball") or useItem("Pokeball") or sendUsablePokemon() or 

sendAnyPokemon() or run()
    elseif isWildBattle() and getOpponentName() == "Squirtle" then
        if getActivePokemonNumber() == 1 and getOpponentHealth() > 1 then
            return useMove("False Swipe") or sendUsablePokemon() or sendAnyPokemon() or run()
        elseif (getActivePokemonNumber() == 2) and (getOpponentStatus() != "SLEEP") then
            return useMove("Sing") or sendUsablePokemon() or sendAnyPokemon() or run()
        elseif getOpponentHealth() == 1 then
            return useItem("Ultra Ball") or useItem("Great Ball") or useItem("Pokeball") or sendUsablePokemon() or 

sendAnyPokemon() or run()
        end
    else
        return run() or sendUsablePokemon() or attack() or sendAnyPokemon()
    end
end
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)