mirror of
https://github.com/risingPhil/PokeMe64.git
synced 2026-09-08 16:55:17 -05:00
Disable "Print Clock" menu entry by default
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user