The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 864 - File: showthread.php PHP 7.3.0 (Linux)
File Line Function
/showthread.php 864 errorHandler->error



Hello There, Guest! Login Register


Route 10 Level up Script V3
#1
name = "Leveling: Route 10"
author = "darkrai"
movesNotToForget = {} --add moves here

function onPathAction()
   if isPokemonUsable(1) then
       if getMapName() == "Pokecenter Route 10" then
           moveToCell(9, 22)
       elseif getMapName() == "Route 10" then
           moveToRectangle(13, 10, 20, 11)
       end
   else
       if getMapName() == "Route 10" then
           moveToCell(18,4)
       elseif getMapName() == "Pokecenter Route 10" then
           usePokecenter()
       end
   end
end

function onBattleAction()
   if isWildBattle() and (isOpponentShiny() or isAlreadyCaught() == false) then
       if 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
function onLearningMove(moveName, pokemonIndex)
   forgetAnyMoveExcept(movesNotToForget)
end
 
Reply
  


Messages In This Thread
Route 10 Level up Script V3 - by darkrai - 2018-12-01, 08:22:27

Forum Jump:


Browsing: 1 Guest(s)