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

Rock Smash: Do not soft reset after catching a Pokémon #633

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

hanzi
Copy link
Collaborator

@hanzi hanzi commented Jan 20, 2025

Description

As Neka pointed out, the Rock Smash mode would just keep going after catching a Shiny/CCF Pokémon in Rock Smash mode -- which is an issue because these modes soft-reset after a while.

This is not an issue if save_after_catching is enabled because then soft-resetting would just load the game state after catching the Pokémon.

So if that setting is NOT enabled (it's off by default), we switch to manual mode after catching something.

Checklist

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

As Neka pointed out, the Rock Smash mode would just keep going after catching a Shiny/CCF Pokémon in Rock Smash mode -- which is an issue because these modes soft-reset after a while.

This is not an issue if `save_after_catching` is enabled because then soft-resetting would just load the game state _after_ catching the Pokémon.

So if that setting is NOT enabled (it's off by default), we switch to manual mode after catching something.
@hanzi hanzi merged commit cf09c40 into 40Cakes:main Jan 20, 2025
1 check passed
@hanzi hanzi deleted the rock-smash-soft-reset-issue branch January 20, 2025 14:24
40Cakes pushed a commit that referenced this pull request Jan 22, 2025
Rock Smash: Do not soft reset after catching a Pokémon
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