Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions Quests/Quest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,9 @@ local moonStoneTargets = {
function Quest:evolvePokemon()
-- some buffer levels, to ensure every teammember is fully evolved when figthing e4
-- some leeway for indiviudal quest caps: Kanto e4 is started with lv 95, so evolving could start at 93
if team.getLowestLvl() >= 90 then enableAutoEvolve() end
if(getTeamSize() > 1) then
if team.getLowestLvl() >= 90 then enableAutoEvolve() end
end
-- or team.getHighestLvl() >= 93 --not leveling mixed teams efficiently: lv 38, ...., lv 93

local hasMoonStone = hasItem("Moon Stone")
Expand All @@ -245,7 +247,9 @@ function Quest:sortInMemory()
--setting highest level pkm, as last defense wall
local highestAlivePkm = team.getHighestPkmAlive() --has to be found or you would have feinted
local lastPkm = team.getLastPkmAlive()
if highestAlivePkm ~= lastPkm then return swapPokemon(highestAlivePkm, lastPkm) end
if getTeamSize() > 2 then
if highestAlivePkm ~= lastPkm then return swapPokemon(highestAlivePkm, lastPkm) end
end
end


Expand Down