2017-09-17, 21:11:39
Hey i have a problem with this script
Would you like me to heal your Pokemon?
[23:03:27] Okay, let me take a look at those Pokemon.
[23:03:32] There you go, take care of them!
[23:03:32] Have a nice day!
[23:03:36] Position updated: Route 48 (15, 16) [OK]
[23:03:52] No action executed: stopping the bot.
[23:03:52] Bot stopped
[23:04:53] System: You are now AFK!
[23:04:55] Bot started
[23:04:55] System: You are no longer AFK!
Pls Help!!!
Quotefunction onPathAction()
if isPokemonUsable(1) then
if getMapName() == "Pokecenter Route 48" then
moveToMap("Route 48")
elseif getMapName() == "Route 48" then
moveToGrass()
end
else
if getMapName() == "Route 48" then
moveToMap("Pokecenter Route 48")
elseif getMapName()=="Pokecenter Route 48" 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 run() or sendUsablePokemon() or sendAnyPokemon()
else
return run() or attack() or sendUsablePokemon() or sendAnyPokemon()
end
end
Would you like me to heal your Pokemon?
[23:03:27] Okay, let me take a look at those Pokemon.
[23:03:32] There you go, take care of them!
[23:03:32] Have a nice day!
[23:03:36] Position updated: Route 48 (15, 16) [OK]
[23:03:52] No action executed: stopping the bot.
[23:03:52] Bot stopped
[23:04:53] System: You are now AFK!
[23:04:55] Bot started
[23:04:55] System: You are no longer AFK!
Pls Help!!!