Remove RTC (#1) and remove time of day dependence on RTC (#7) [Commit #2]

This commit is contained in:
xCrystal
2023-07-28 00:07:07 +02:00
parent 0571144a7b
commit 05448d7a7e
18 changed files with 100 additions and 177 deletions

View File

@@ -5,10 +5,6 @@ hFarByte::
hTempBank:: db
hSRAMBank:: db
hHours:: db
hMinutes:: db
hSeconds:: db
hVBlankCounter:: db
hROMBank:: db
@@ -125,8 +121,6 @@ hLastTalked:: db
hRandomAdd:: db
hRandomSub:: db
hUnusedBackup:: db
hBattleTurn::
; Which trainer's turn is it? 0: player, 1: opponent trainer
db

View File

@@ -31,9 +31,11 @@ for n, 1, MAILBOX_CAPACITY + 1
sMailbox{d:n}Backup:: mailmsg sMailbox{d:n}Backup
endr
sRTCStatusFlags:: db
sLuckyNumberDay:: db
sLuckyIDNumber:: dw
if DEF(_DEBUG)
sRTCStatusFlags:: db
endc
SECTION "Backup Save", SRAM

View File

@@ -1269,7 +1269,6 @@ wGBPrinterBrightness::
wOptions2::
; bit 1: menu account off/on
db
ds 2
wOptionsEnd::
; Time buffer, for counting the amount of time since
@@ -2202,7 +2201,7 @@ wMapReentryScriptAddress:: dw
wTimeCyclesSinceLastCall:: db
wReceiveCallDelay_MinsRemaining:: db
wReceiveCallDelay_StartTime:: ds 3
wReceiveCallDelay_StartTime:: ds 2 ; hour, min
wBugContestMinsRemaining:: db
wBugContestSecsRemaining:: db
@@ -2425,11 +2424,10 @@ wLuckyNumberDayTimer:: dw
wSpecialPhoneCallID:: db
wBugContestStartTime:: ds 4 ; day, hour, min, sec
wBugContestStartTime:: ds 3 ; hour, min, sec
wBuenasPassword:: db
wBlueCardBalance:: db
wKenjiBreakTimer:: ds 2 ; Kenji
wYanmaMapGroup:: db
wYanmaMapNumber:: db