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

@@ -1,6 +1,12 @@
#ifndef _MENUFUNCTIONS_H
#define _MENUFUNCTIONS_H
#include "Moves.h"
// these are used to pass as a pointer to the gen1PrepareToTeachPikachu
extern const Move MOVE_SURF;
extern const Move MOVE_FLY;
void printMessage(void* context, const void* param);
void activateFrameLog(void* context, const void* param);
@@ -10,6 +16,8 @@ void goToGen1DistributionPokemonMenu(void* context, const void* param);
void goToGen2DistributionPokemonMenu(void* context, const void* param);
void goToGen2PCNYDistributionPokemonMenu(void* context, const void* param);
void gen1PrepareToTeachPikachu(void* context, const void* param);
void gen1TeachPikachu(void* context, const void* param);
void gen2ReceiveGSBall(void* context, const void* param);
#endif