Standardize more Pokemon menu selection

This commit is contained in:
Kyle Coburn 2015-04-19 11:07:21 -07:00
parent c0f8c75810
commit 1915e6bba1
2 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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