expose sub_0207B0B0 to edit party menu hud #338
+372
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Exposing sub_0207B0B0 that adds commands on the Pokemon in the Party Menu including the TM/HM field moves.
Added a config switch to use a custom check for the field moves, i.e. allowing for adding Fly, Flash etc on Pokemon without learning the move.
Badge check, Tile check, etc are still in place when using the fieldmove from the menu. However the moves/buttons work as if the Pokemon would know the move.
Of course you can also remove the config and custom check when merging
adding sub_0207AFC4 and sub_0207E3A8 might allow the increase of max number of the buttons in the menu.
https://github.com/pret/pokeheartgold/blob/9acc3cfc970d6fa8fef2a57e5e016b6a2bd62a09/src/party_menu.c#L1583
sub_0207AFC4 added, defined more member of the PartyMenu struct