summaryrefslogtreecommitdiff
path: root/engine/overworld/time.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/overworld/time.asm')
-rw-r--r--engine/overworld/time.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/overworld/time.asm b/engine/overworld/time.asm
index afc7d3b2d..da6d6745a 100644
--- a/engine/overworld/time.asm
+++ b/engine/overworld/time.asm
@@ -244,7 +244,7 @@ _CheckLuckyNumberShowFlag:
DoMysteryGiftIfDayHasPassed:
ld a, BANK(sMysteryGiftTimer)
- call GetSRAMBank
+ call OpenSRAM
ld hl, sMysteryGiftTimer
ld a, [hli]
ld [wBuffer1], a
@@ -262,7 +262,7 @@ DoMysteryGiftIfDayHasPassed:
.not_timed_out
ld a, BANK(sMysteryGiftTimer)
- call GetSRAMBank
+ call OpenSRAM
ld hl, wBuffer1
ld a, [hli]
ld [sMysteryGiftTimer], a