Hello There, Guest! Login Register


Route 10 : Surf ?
#1
How can I create this script

pokecenter route 10
then route 10
then route 9
the bot need to go to the water
then go down to route 10 : still in water
then go to the land and go to grass route 10

I tried to make the bot in the water and then into the ground but it did not work

need help please ..
 
Reply
#2
name = "Route 10 Surf"
author = "Abdul"

function onPathAction()
   if getPokemonHealth(1) > 0 then
       if getMapName() == "Pokecenter Route 10" then
           moveToCell(8, 14)
           waitForTeleportation()
       elseif getMapName() == "Route 9" then
           moveToCell(28, 41)
           waitForTeleportation()
       elseif getMapName() == "Route 9" then
           moveToRectangle(3, 32, 7, 36)
       end
   else
       if getMapName() == "Route 10" then
           moveToCell(5, 38)
           waitForTeleportation()
       elseif getMapName() == "Route 10" then
           talkToNpcOnCell(31, 39)
           moveToCell(27, 27)
           talkToNpcOnCell(8, 11)
       end
   end
end

Is this good؟
 
Reply
#3
try u r self Smile
I don't accept any request for at the moment.
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)