2016-04-24, 16:18:07
(This post was last modified: 2016-04-24, 16:26:46 by mansad1403.)
This is the script I made for Sp.Atk. EV's training at Pokemon Tower 6F at Lavender Town....
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.
I hope this script can help
.........
name = "Sp.Atk Ev's (Pokemon Tower 6F)"
author = "Kaide"
function onPathAction()
if getPokemonHealth(1) > 0 then
if getMapName() == "Pokemon Tower 5F" then
moveToCell(17, 10)
waitForTeleportation()
elseif getMapName() == "Pokemon Tower 6F" then
moveToRectangle(6, 5, 10, 10)
end
else
if getMapName() == "Pokemon Tower 6F" then
moveToCell(16, 10)
waitForTeleportation()
elseif getMapName() == "Pokemon Tower 5F" then
moveToCell(17, 10)
talkToNpcOnCell(17, 10)
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.

I hope this script can help
