Mega Evolve button breaks Evolution cost discovery
Opened this issue · 0 comments
lramati commented
(Moved fromxZise/13)
Currently, the Evolve Cost scan function (OcrHelper::getPokemonEvolutionCostFromImg
) has some logic to avoid accidentally reading garbage from the new attack button. Similar logic needs to be introduced for the mega evolve button.
I think the way the new attack button is detected is by looking for a stardust cost. Since Mega Evolving doesn't require a stardust cost, this fails for it.
Also, since the attacks now appear between the power up and new attack buttons, I think this logic can be removed