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

Autostory tools #484

Merged
merged 1 commit into from
Sep 15, 2024
Merged

Autostory tools #484

merged 1 commit into from
Sep 15, 2024

Conversation

jw098
Copy link
Collaborator

@jw098 jw098 commented Sep 13, 2024

Should be merged after #482.

This was referenced Sep 14, 2024
switch (ret){
case 0: // battle
console.log("Detected battle menu, spam first move.");
pbf_mash_button(context, BUTTON_A, 3 * TICKS_PER_SECOND);
Copy link
Collaborator

Choose a reason for hiding this comment

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

I assume that it should be rare that we manage to mash into the move selection, but not past it right? IIRC, we do have a detector for the move selection in case we happen to get stuck there.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

As far as I know, it shouldn't be possible to mash past the move selection, since the move animation takes so long.

@Mysticial Mysticial merged commit d3e70ab into PokemonAutomation:main Sep 15, 2024
6 checks passed
@jw098 jw098 deleted the autostory-tools branch September 30, 2024 22:18
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