From be93ab33a752fe0360c3b23dd4f33e1b0a05bf0e Mon Sep 17 00:00:00 2001 From: Rangi Date: Wed, 17 Jun 2020 11:29:00 -0400 Subject: Harmonize engine/{phone, pokedex, pokegear, printer, rtc, tilesets} with pokegold To do: engine/{menus, movie, overworld, pokemon} --- engine/rtc/rtc.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/rtc/rtc.asm') diff --git a/engine/rtc/rtc.asm b/engine/rtc/rtc.asm index c7c4fae9e..6577598f3 100644 --- a/engine/rtc/rtc.asm +++ b/engine/rtc/rtc.asm @@ -74,11 +74,11 @@ StageRTCTimeForSave: ret SaveRTC: - ld a, $a + ld a, SRAM_ENABLE ld [MBC3SRamEnable], a call LatchClock ld hl, MBC3RTC - ld a, $c + ld a, RTC_DH ld [MBC3SRamBank], a res 7, [hl] ld a, BANK(sRTCStatusFlags) -- cgit v1.2.3