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

Fix feebas mode crashing when map isn't available #495

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

ThibaultLassiaz
Copy link
Contributor

@ThibaultLassiaz ThibaultLassiaz commented Nov 10, 2024

Description

Here's the issue

For some reasons when entering battle mode on an encounter sometimes map data aren't available causing Feebas mode to be very flaky with some Rods like Good Rod.

Maybe there's a better fix for this issue but I couldn't find why it is flaky like this...

Changes

Skipping the few frames when map data aren't available

Notes

Checklist

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

modules/modes/feebas.py Show resolved Hide resolved
Copy link
Collaborator

@hanzi hanzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, don't really understand either the issue or the fix, but I guess this is fine 😅

@hanzi hanzi merged commit 52fa0ec into 40Cakes:main Nov 11, 2024
1 check passed
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