mirror of
https://github.com/zeldaret/mm.git
synced 2026-08-09 10:52:09 -04:00
Use CURRENT_TIME Macro (#1514)
* use CURRENT_TIME macro * add comment * cleanup brackets
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user