Skip to content

Refactor use of get_pokemon #65

@LAMaglan

Description

@LAMaglan

"get_pokemon" is called separately for "/battle" and "/pokemon_stats" endpoint.
How would I consolidate it?

Could make a global list that stores each Pokemon with all details that I fetch from? Or? Initial button for "use pokemon", and then only show "show stats" and "Battle!" ?

May "solve" stats_modifier here #64

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions