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 lock when teaching a TM/HM after learning a move by level up. #2413

Merged
merged 1 commit into from
Oct 27, 2022

Conversation

kaisermg5
Copy link

Fixed an bug that caused the game to lock after teaching a TM/HM

When a pokemon learns a move by level up the struct gPartyMenu.learnMoveState gets setted to 1 in order to check whether there is another move to learn at the same level or not.
When learning a TM/HM it should be set at 0 or the game locks.

The bug was introduced on #ed02c4b425028a4fe2cf622653f352ec10914736
Because of how counterintuitively coded it originally was...

Discord Mauro#5782

@AsparagusEduardo AsparagusEduardo changed the base branch from master to upcoming October 25, 2022 22:51
@AsparagusEduardo AsparagusEduardo merged commit 93dd878 into rh-hideout:upcoming Oct 27, 2022
@AsparagusEduardo AsparagusEduardo mentioned this pull request Nov 10, 2022
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