Hello There, Guest! Login Register


Route 16 - Leveling
#1
*Auto catch Murkrow and Slugma
*Auto use Bicycle
*Auto learn Move and forget (not in the list Below)
- Here for your first 3 Pokemons 
-- Copyright © 2018 Silv3r <silv3r@proshine-bot.com>
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
-- as published by Quyennv. See the LICENSE file for more details.

movesNotToForget = {"Earthquake", "Double-Edge", "Ice Fang", "Thunder Fang", "Fire Fang", "Play Rough", "Bite", "Covet", "Low Kick", "Quick Attack", "Ice Punch", "Thunder Punch", "Fire Punch", "Sky Uppercut", "Thunderbolt", "Thunder", "Thrash", "Horn Attack", "Poison Jab","Dark Pulse", "Flamethrower", "Sludge Bomb", "Crunch"}

name = "Leveling: Route 16 (near Celadon)"
author = "Silv3r"
description = [[This script will train the first pokémon of your team.
It will also try to capture shinies by throwing pokéballs.
Start anywhere between Celadon City and Route 16.]]

function onPathAction()
if not (isPokemonUsable(1)) and isPokemonUsable(2)   then
            swapPokemon(1,2)
    elseif isPokemonUsable(1)or isPokemonUsable(2) then
if getMapName() == "Pokecenter Celadon" then
moveToMap("Celadon City")
elseif getMapName() == "Celadon City" then
if isMounted() then
                talkToNpcOnCell(0,42)
            elseif not isMounted() then
                useItem("Bicycle")
                log("You are in bycycle")
else moveToCell(0,42)
            end
elseif getMapName() == "Route 16" then
moveToGrass()
end
else
if getMapName() == "Route 16" then
if isMounted() then
moveToMap("Celadon City")
            else
                useItem("Bicycle")
                log("You are in bycycle")
            end

elseif getMapName() == "Celadon City" then
moveToMap("Pokecenter Celadon")
elseif getMapName() == "Pokecenter Celadon" then
usePokecenter()
end
end
end

function onBattleAction()
if isWildBattle() and (isOpponentShiny() or getOpponentName() == "Slugma" or getOpponentName() == "Murkrow" or getOpponentName() == "Abra")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() or useAnyMove()
else
return run() or attack() or sendUsablePokemon() or sendAnyPokemon() or useAnyMove()
end
end
function onLearningMove(moveName, pokemonIndex)
    forgetAnyMoveExcept(movesNotToForget)
end
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)