aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/core.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle/core.asm')
-rw-r--r--engine/battle/core.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index b7b10d06..b0f4f13f 100644
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -6555,14 +6555,14 @@ LoadPlayerBackPic:
ld de, vBackPic
call InterlaceMergeSpriteBuffers
ld a, $0
- call SwitchSRAMBankAndLatchClockData
+ call OpenSRAM
ld hl, vSprites
ld de, sSpriteBuffer1
ldh a, [hLoadedROMBank]
ld b, a
ld c, 7 * 7
call CopyVideoData
- call PrepareRTCDataAndDisableSRAM
+ call CloseSRAM
ld a, $31
ldh [hStartTileID], a
hlcoord 1, 5