From cf036eecfb50fa87ce9aac682dc34d52f072e2d8 Mon Sep 17 00:00:00 2001 From: citrusbolt Date: Thu, 8 Apr 2021 16:41:13 -0600 Subject: [PATCH] Trigger clock update when checking Incubator --- src/daycare.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/daycare.c b/src/daycare.c index a33b78202d..7a9676b829 100644 --- a/src/daycare.c +++ b/src/daycare.c @@ -1437,6 +1437,7 @@ u8 CheckIncubator() return 0xFF; egg = (&gSaveBlock1Ptr->incubator)->egg; + RtcCalcLocalTime(); CalcTimeDifference(&timeElapsed, &(&gSaveBlock1Ptr->incubator)->timeEntered, &gLocalTime); eggCycles = GetMonData(&egg, MON_DATA_FRIENDSHIP); eggCyclesDepleted = (24 * 60 * timeElapsed.days + 60 * timeElapsed.hours + timeElapsed.minutes) / 36;