Hello There, Guest! Login Register


Sp.Atk. and Spe. EV's Training (Power Plant)
#1
Sp.Atk and Speed EV's Training @ Power Plant

heres the Code
name = "Power Plant"
author = "Kaide"

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

function onBattleAction()
    attack()
end

Just copy the script then open notepad/notepad++/MS Word then paste the script, then save the filename with .LUA
(Example: filename.lua)

Sorry I don't know the capture script. smile

I hope this script can help Smile.........
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)