Use CURRENT_TIME Macro (#1514)

* use CURRENT_TIME macro

* add comment

* cleanup brackets
This commit is contained in:
engineer124
2023-11-27 20:04:54 +11:00
committed by GitHub
parent 6dd1600936
commit c04aaab6a1
62 changed files with 211 additions and 239 deletions
+1 -1
View File
@@ -32,7 +32,7 @@
#define SCHEDULE_TIME(hour, minute) SCHEDULE_CONVERT_TIME((((hour)*60.0f) + (minute)) * (0x10000 / 60 / 24.0f))
#define SCHEDULE_TIME_NOW SCHEDULE_CONVERT_TIME(gSaveContext.save.time)
#define SCHEDULE_TIME_NOW SCHEDULE_CONVERT_TIME(CURRENT_TIME)
typedef enum ScheduleCommandId {
/* 0x00 */ SCHEDULE_CMD_ID_CHECK_FLAG_S, // Checks if a weekEventReg flag is set and branches if so, short range branch