Fix depositing flier at E4 when we want to deposit all pokemon
This commit is contained in:
parent
f6f6560120
commit
77b4fb1e1a
|
@ -2747,7 +2747,8 @@ strategyFunctions = {
|
|||
input.press("A")
|
||||
elseif menuColumn == 5 then
|
||||
local depositIndex = 1
|
||||
if pokemon.indexOf("pidgey", "spearow") == 1 then
|
||||
local depositAllExtras = toSize == 1
|
||||
if not depositAllExtras and pokemon.indexOf("pidgey", "spearow") == 1 then
|
||||
depositIndex = 2
|
||||
end
|
||||
menu.select(depositIndex)
|
||||
|
|
Loading…
Reference in New Issue