2019-04-15, 20:20:53
-- Copyright © 2019 Natanek
name = "Levelowanie: Victory Road "
author = "xEnerek"
description = [[Ten skrypt będzie łapał Shiny pokemony uzywając U/G/P Balli.
Zacznij gdziekolwiek pomiędzy Victory Road F3 a PokeCenter.]]
function onPathAction()
if isPokemonUsable(1) then
if getMapName() == "Indigo Plateau Center" then
moveToCell(10, 28)
elseif getMapName() == "Indigo Plateau" then
moveToCell(21, 31)
elseif getMapName() == "Victory Road Kanto 3F" then
moveToRectangle(46, 14, 47, 22)
end
else
if getMapName() == "Victory Road Kanto 3F" then
moveToCell(46, 13)
elseif getMapName() == "Indigo Plateau" then
moveToCell(32, 12)
elseif getMapName() == "Indigo Plateau Center" then
talkToNpcOnCell(4, 22)
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
name = "Levelowanie: Victory Road "
author = "xEnerek"
description = [[Ten skrypt będzie łapał Shiny pokemony uzywając U/G/P Balli.
Zacznij gdziekolwiek pomiędzy Victory Road F3 a PokeCenter.]]
function onPathAction()
if isPokemonUsable(1) then
if getMapName() == "Indigo Plateau Center" then
moveToCell(10, 28)
elseif getMapName() == "Indigo Plateau" then
moveToCell(21, 31)
elseif getMapName() == "Victory Road Kanto 3F" then
moveToRectangle(46, 14, 47, 22)
end
else
if getMapName() == "Victory Road Kanto 3F" then
moveToCell(46, 13)
elseif getMapName() == "Indigo Plateau" then
moveToCell(32, 12)
elseif getMapName() == "Indigo Plateau Center" then
talkToNpcOnCell(4, 22)
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