Hello There, Guest! Login Register


Sp.Atk. EV's training (Pokemon Tower 6F)
#1
This is the script I made for Sp.Atk. EV's training at Pokemon Tower 6F at Lavender Town....

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. Smile

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


Forum Jump:


Browsing: 1 Guest(s)