Hello There, Guest! Login Register


Sinnoh Script Request- Elekid Catching at Valley Windworks
#1
I noticed there aren't any scripts around for the Sinnoh Region so i was wondering if someone has one for Valley Windworks, which is east of Floaroma Town. Its one of two places Elekid appears so I was wondering if there is a Elekid catcher for such a thing. I tried editing a Ralts script from Hoenn but it doesn't work since you have to go from Floaroma Town- Route 205- Valley Windworks. Any help would be much appreciated.
 
Reply
#2
sync + hypnosis / sleep powder.

function onPathAction()
    if isPokemonUsable(2) and getRemainingPowerPoints(2,"Hypnosis") > 0 then
    if getMapName() == "Pokecenter Floaroma" then
        moveToMap("Floaroma Town")
    elseif getMapName() == "Floaroma Town" then
        moveToMap("Route 205")
    elseif getMapName() == "Route 205" then
        moveToMap("Valley Windworks")
    elseif getMapName() == "Valley Windworks" then
        moveToGrass()
        end
    else
    if getMapName() == "Valley Windworks" then
        moveToMap("Route 205")
    elseif getMapName() == "Route 205" then
        moveToMap("Floaroma Town")
    elseif getMapName() == "Floaroma Town" then
        moveToMap("Pokecenter Floaroma")
    elseif getMapName() == "Pokecenter Floaroma" then
        usePokecenter()
        end
    end
end

name = "Catcher in Valley Windworks"
author = "Script"
description = [[---------------------------------------------------------------------------------------------------
                        ######################################################
                        ############  - Utilice este Script bajo su propio   -  ############
                        ############  - Riesgo, Proshine-Bot no se hace  -  ############
                        ############  - Responsable por baneos o el mal - ############
                        ############  -            Uso de este Script                - ############
                        #####################################################
           ---------------------------------------------------------------------------------------------------
           ---------------------------------------------------------------------------------------------------
                        ######################################################
                        ############    - Use this Script under your own     -  ############
                        ############    - Risk, Proshine-Bot is not done    -  ############
                        ############    - Responsible for bans or evil         - ############
                        ############  -            Use of this Script                  - ############
                        #####################################################
           ---------------------------------------------------------------------------------------------------
Script loaded with success - created by Script - If there is some type of bug / error or other problem find me on proshine.com to solve it]]

function onBattleAction()
   if isWildBattle() and isOpponentShiny()  or getOpponentName() == "Elekid" then
       if getActivePokemonNumber() == 1 then
           return sendPokemon(2) or run()
       elseif ( getActivePokemonNumber() == 2 ) and ( getOpponentStatus() ~= "SLEEP" ) then
           -- If you want to use Sleep Powder, then replace Hypnosis with Sleep Powder
           return useMove("Hypnosis") or useItem("Pokeball") or sendUsablePokemon() or sendAnyPokemon()
       elseif ( getActivePokemonNumber() == 2 ) and ( getOpponentStatus() == "SLEEP" ) then
           return useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball") or sendUsablePokemon() or sendAnyPokemon()
   end
   end
   if getActivePokemonNumber() >= 1 then
       return run() or sendUsablePokemon()
   end
end


sync + false swipe

function onPathAction()
    if isPokemonUsable(2) and  getRemainingPowerPoints(2, "False Swipe") >= 1 then
    if getMapName() == "Pokecenter Floaroma" then
        moveToMap("Floaroma Town")
    elseif getMapName() == "Floaroma Town" then
        moveToMap("Route 205")
    elseif getMapName() == "Route 205" then
        moveToMap("Valley Windworks")
    elseif getMapName() == "Valley Windworks" then
        moveToGrass()
        end
    else
    if getMapName() == "Valley Windworks" then
        moveToMap("Route 205")
    elseif getMapName() == "Route 205" then
        moveToMap("Floaroma Town")
    elseif getMapName() == "Floaroma Town" then
        moveToMap("Pokecenter Floaroma")
    elseif getMapName() == "Pokecenter Floaroma" then
        usePokecenter()
        end
    end
end

name = "Catcher in Valley Windworks"
author = "Scripts"
description = [[---------------------------------------------------------------------------------------------------
                        ######################################################
                        ############  - Utilice este Script bajo su propio   -  ############
                        ############  - Riesgo, Proshine-Bot no se hace  -  ############
                        ############  - Responsable por baneos o el mal - ############
                        ############  -            Uso de este Script                - ############
                        #####################################################
           ---------------------------------------------------------------------------------------------------
           ---------------------------------------------------------------------------------------------------
                        ######################################################
                        ############    - Use this Script under your own     -  ############
                        ############    - Risk, Proshine-Bot is not done    -  ############
                        ############    - Responsible for bans or evil         - ############
                        ############  -            Use of this Script                  - ############
                        #####################################################
           ---------------------------------------------------------------------------------------------------
Script loaded with success - created by Script - If there is some type of bug / error or other problem find me on

proshine.com to solve it]]

function onBattleAction()
   if isWildBattle() and isOpponentShiny() or getOpponentName() == "Elekid" then
            if getActivePokemonNumber()==1 then
                return sendPokemon(2)
            elseif getActivePokemonNumber()==2 then
                if getOpponentHealth()==1 then
                    return useItem("Pokeball") or useItem("Great ball") or

useItem("Ultra ball")
                else
                    return weakAttack() or run() or sendUsablePokemon()
                end
        else
            return run() or sendUsablePokemon()
        end
    else
        return run()
   end
end


these scripts have not been tested, if you need to add a mount, use this code below "moveToMap" (I'll give you an example here)
        elseif isOutside() and hasItem("Green Bicycle") and not isSurfing() and not isMounted() then
          log("Getting on Mount")
          return useItem("Green Bicycle")

Example:
[size=small][font=Monaco, Consolas, Courier, monospace]    if getMapName() == "Pokecenter Floaroma" then[/font][/size]
        moveToMap("Floaroma Town")
        elseif isOutside() and hasItem("Green Bicycle") and not isSurfing() and not isMounted() then
          log("Getting on Mount")
          return useItem("Green Bicycle")

If you do not have the bicycle that appears there, you must change the data where it says "Green Bicycle" and add the data of your mount:

example
        elseif isOutside() and hasItem("Latias Mount") and not isSurfing() and not isMounted() then
          log("Getting on Mount")
          return useItem("Latias Mount")

or the mount that you have

(Sorry for my bad inglish)
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)