Add menu options to teach Pikachu Surf and Fly

This implements functionality to teach Pikachu Surf and/or Fly and
extends existing widgets to help provide this functionality.

When a gen1 game is inserted, the user gets the choice to teach Pikachu
these moves.

This commit also restructures some of the Data and Style structs.
This commit is contained in:
Philippe Symons
2024-07-25 11:01:20 +02:00
parent fdc6f90415
commit eaf9224b31
17 changed files with 594 additions and 167 deletions

View File

@@ -5,6 +5,16 @@ MenuItemData gen1MenuEntries[] = {
{
.title = "Event Pokémon",
.onConfirmAction = goToGen1DistributionPokemonMenu
},
{
.title = "Teach Pikachu Surf",
.onConfirmAction = gen1PrepareToTeachPikachu,
.itemParam = &MOVE_SURF
},
{
.title = "Teach Pikachu Fly",
.onConfirmAction = gen1PrepareToTeachPikachu,
.itemParam = &MOVE_FLY
}
};