aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle')
-rw-r--r--engine/battle/core.asm4
-rw-r--r--engine/battle/scale_sprites.asm4
2 files changed, 4 insertions, 4 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
diff --git a/engine/battle/scale_sprites.asm b/engine/battle/scale_sprites.asm
index 2e33f536..eedd2e1d 100644
--- a/engine/battle/scale_sprites.asm
+++ b/engine/battle/scale_sprites.asm
@@ -3,9 +3,9 @@
; resulting in a 7*7 tile output sprite chunk
ScaleSpriteByTwo:
ld a, $0
- call SwitchSRAMBankAndLatchClockData
+ call OpenSRAM
call .ScaleSpriteByTwo
- call PrepareRTCDataAndDisableSRAM
+ call CloseSRAM
ret
.ScaleSpriteByTwo: