summaryrefslogtreecommitdiff
path: root/home/time.asm
diff options
context:
space:
mode:
authorentrpntr <entrpntr@gmail.com>2020-04-08 09:09:04 -0400
committerentrpntr <entrpntr@gmail.com>2020-04-08 09:09:04 -0400
commit1413f4ee55e7a2b434c6bc047ac6f8f9ae96bb79 (patch)
treeeacd77a2adedc0858164c8c845349d2d9660c4bc /home/time.asm
parent8df3c3f15b443d48a7bbbaa5512da3088d954117 (diff)
Add engine/battle/read_trainer_[attributes|party].asm.
Diffstat (limited to 'home/time.asm')
-rw-r--r--home/time.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/home/time.asm b/home/time.asm
index 8e935ed2..d3c400f7 100644
--- a/home/time.asm
+++ b/home/time.asm
@@ -254,18 +254,18 @@ ClearRTCStatus::
; clear sRTCStatusFlags
xor a
push af
- ld a, BANK(s0_ac60)
+ ld a, BANK(sRTCStatusFlags)
call OpenSRAM
pop af
- ld [s0_ac60], a
+ ld [sRTCStatusFlags], a
call CloseSRAM
ret
RecordRTCStatus::
; append flags to sRTCStatusFlags
- ld hl, s0_ac60
+ ld hl, sRTCStatusFlags
push af
- ld a, BANK(s0_ac60)
+ ld a, BANK(sRTCStatusFlags)
call OpenSRAM
pop af
or [hl]
@@ -275,8 +275,8 @@ RecordRTCStatus::
CheckRTCStatus::
; check sRTCStatusFlags
- ld a, BANK(s0_ac60)
+ ld a, BANK(sRTCStatusFlags)
call OpenSRAM
- ld a, [s0_ac60]
+ ld a, [sRTCStatusFlags]
call CloseSRAM
ret