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 Safari Zone Rock Smash getting stuck when walking #321

Merged
merged 1 commit into from
May 7, 2024

Conversation

hanzi
Copy link
Collaborator

@hanzi hanzi commented May 7, 2024

Description

When using the Rock Smash mode in Emerald's Safari Zone (for hunting Shuckle) and not using the bicycle (peasant!) the bot would get stuck after a few rounds.

This is probably due to in in-game bug (pointed out by @Terasol!) where the scripting context did not always get cleared after using rock smash.

A script that was originally meant to handle the Safari Zone entrance sequence would then wait for the script to 'finish' -- which would never happen, thus stalling the bot.

Fixes #314

Checklist

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

When using the Rock Smash mode in Emerald's Safari Zone (for hunting Shuckle) and not using the bicycle (peasant!) the bot would get stuck after a few rounds.

This is probably due to in in-game bug (pointed out by @Terasol!) where the scripting context did not always get cleared after using rock smash.

A script that was originally meant to handle the Safari Zone entrance sequence would then wait for the script to 'finish' -- which would never happen, thus stalling the bot.

Fixes 40Cakes#314
@hanzi hanzi merged commit 2f855ce into 40Cakes:main May 7, 2024
1 check passed
@hanzi hanzi deleted the safari-zone-rock-smash-fix branch May 7, 2024 21:07
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.

safari zone rock smash walking issue
2 participants