Disable miss reporting for buffing moves
This commit is contained in:
parent
9d27c87308
commit
2bb69af27c
|
@ -281,8 +281,10 @@ end
|
|||
|
||||
function Battle.redeployNidoking()
|
||||
if Pokemon.isDeployed("nidoking") then
|
||||
Control.ignoreMiss = false
|
||||
return false
|
||||
end
|
||||
Control.ignoreMiss = true
|
||||
if Menu.onPokemonSelect() then
|
||||
Pokemon.select("nidoking")
|
||||
elseif Menu.hasTextbox() and Menu.getCol() == 1 then
|
||||
|
|
|
@ -595,6 +595,7 @@ strategyFunctions.fightBrock = function()
|
|||
Bridge.chat("got Bided the same turn as Bubble. It'll need to last 3 turns (1 in 2 chance) for us to finish him before it hits...")
|
||||
end
|
||||
end
|
||||
Control.ignoreMiss = forced ~= nil
|
||||
Battle.fight(forced)
|
||||
else
|
||||
Input.cancel()
|
||||
|
|
|
@ -234,6 +234,7 @@ function Strategies.buffTo(buff, defLevel)
|
|||
if defLevel and Memory.double("battle", "opponent_defense") > defLevel then
|
||||
forced = buff
|
||||
end
|
||||
Control.ignoreMiss = forced ~= nil
|
||||
Battle.automate(forced, true)
|
||||
elseif status.foughtTrainer then
|
||||
return true
|
||||
|
|
Loading…
Reference in New Issue