Disable "Print Clock" menu entry by default

This commit is contained in:
Philippe Symons 2026-01-09 20:54:48 +01:00
parent 5ea699692f
commit 045821612d
2 changed files with 8 additions and 0 deletions

View File

@ -6,6 +6,8 @@
#include <cstdint>
//#define PRINT_CLOCK_FUNCTION_ENABLED 1
// these are used to pass as a pointer to the gen1PrepareToTeachPikachu function
extern const Move MOVE_SURF;
extern const Move MOVE_FLY;
@ -125,6 +127,8 @@ void resetRTC(void* context, const void* param);
*/
void gen2ReceiveMysteryGift(void* context, const void* param);
#ifdef PRINT_CLOCK_FUNCTION_ENABLED
void printClock(void* context, const void* param);
#endif
#endif

View File

@ -70,10 +70,12 @@ MenuItemData gen2MenuEntries[] = {
.title = "Reset Game Clock",
.onConfirmAction = resetRTC
},
#ifdef PRINT_CLOCK_FUNCTION_ENABLED
{
.title = "Print Game Clock",
.onConfirmAction = printClock
},
#endif
{
.title = "About",
.onConfirmAction = goToAboutScene
@ -111,10 +113,12 @@ MenuItemData gen2CrystalMenuEntries[] = {
.title = "Reset Game Clock",
.onConfirmAction = resetRTC
},
#ifdef PRINT_CLOCK_FUNCTION_ENABLED
{
.title = "Print Game Clock",
.onConfirmAction = printClock
},
#endif
{
.title = "About",
.onConfirmAction = goToAboutScene