2016-04-25, 06:02:38
(This post was last modified: 2016-04-25, 06:07:34 by mansad1403.)
Sp.Atk and Speed EV's Training @ Power Plant
heres the Code
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
.........
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
