Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented avoided pokemon #508

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Implemented avoided pokemon #508

wants to merge 11 commits into from

Conversation

orchi
Copy link

@orchi orchi commented Nov 17, 2024

Description

This adds avoided pokemon handling in encounter.py as discussed in issue #504 . It should check and see if the pokemon is on avoid list after checking for shiny and custom filter. If it is on the list, then it will run away from the battle.

Changes

Notes

Checklist

  • Black Linter has been ran, using --line-length 120 argument
  • Wiki has been updated (if relevant)

modules/encounter.py Outdated Show resolved Hide resolved
modules/encounter.py Outdated Show resolved Hide resolved
modules/encounter.py Outdated Show resolved Hide resolved
modules/encounter.py Outdated Show resolved Hide resolved
modules/encounter.py Outdated Show resolved Hide resolved
modules/encounter.py Outdated Show resolved Hide resolved
orchi and others added 9 commits November 17, 2024 07:37
Co-authored-by: Neka <lassiazt.info@gmail.com>
Co-authored-by: Neka <lassiazt.info@gmail.com>
Co-authored-by: Neka <lassiazt.info@gmail.com>
Co-authored-by: Neka <lassiazt.info@gmail.com>
Co-authored-by: Neka <lassiazt.info@gmail.com>
…it maps for correct EV type. Also fixed custom filter and shinies being ignored.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants