PROShine
Mt Moon 1F leveling - Printable Version

+- PROShine (https://proshine-bot.com)
+-- Forum: Other bots (https://proshine-bot.com/forum-23.html)
+--- Forum: PWOSparkle (https://proshine-bot.com/forum-6.html)
+---- Forum: Scripts (https://proshine-bot.com/forum-18.html)
+---- Thread: Mt Moon 1F leveling (/thread-969.html)



Mt Moon 1F leveling - sarafciger - 2016-08-02

When you enter Mt Moon, just to the left

Just make a notepad with the code in it and name it "Mt Moon 1F.lua"

name = "Mt Moon 1F"
author = "Sharaf"

function onPathAction()
    if getPokemonHealth(1) > 0 then
        if getMapName() == "Mt Moon 1F" then
            moveToRectangle(16, 40, 21, 41)
        end
    end
end

function onBattleAction()
    attack()
end