Standardize more Pokemon menu selection
This commit is contained in:
parent
c0f8c75810
commit
1915e6bba1
|
@ -926,12 +926,14 @@ Strategies.functions = {
|
|||
else
|
||||
Input.press("B")
|
||||
end
|
||||
elseif main == Menu.pokemon then --TODO check loop
|
||||
elseif main == Menu.pokemon then
|
||||
local selectIndex
|
||||
if Memory.value("menu", "selection_mode") == 1 then
|
||||
Menu.select(nidoranIndex, true)
|
||||
selectIndex = nidoranIndex
|
||||
else
|
||||
Menu.select(0, true)
|
||||
selectIndex = 0
|
||||
end
|
||||
Pokemon.select(selectIndex)
|
||||
else
|
||||
Input.press("B")
|
||||
end
|
||||
|
|
|
@ -316,7 +316,7 @@ function Pokemon.use(move)
|
|||
Input.press("B")
|
||||
end
|
||||
elseif main == Menu.pokemon then
|
||||
Menu.select(pokeName, true)
|
||||
Pokemon.select(pokeName)
|
||||
elseif main == 228 then
|
||||
Input.press("B")
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue