Skip to content

Mega Evolve button breaks Evolution cost discovery #23

@lramati

Description

@lramati

(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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions