Hello There, Guest! Login Register


Kanto - Route 12 Leveler
#1
name = "Leveling: Route 12 (near Lavender and Vermillion)"
author = "Based off Matr1x's rework from Silv3r"
description = [[This script will train the first pokémon of your team, catch shinies, and heal at Lavendar Town.]]

function onPathAction()
   if isPokemonUsable(1) then
       if getMapName() == "Pokecenter Lavender" then
           moveToCell(9, 22)
       elseif getMapName() == "Lavender Town" then
           moveToCell(15, 25)
       elseif getMapName() == "Route 12" then
           moveToRectangle(4, 80, 7, 80)
       end
   else
       if getMapName() == "Route 12" then
           moveToCell(15, 0)
       elseif getMapName() == "Lavender Town" then
           moveToCell(9, 5)
       elseif getMapName() == "Pokecenter Lavender" 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

Simple leveler based off of Matr1x's rework. Levels at route 12 and heals at Lavender Town. Replace "Your Mount" with the mount you have.
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)