From 57bec62508c6ae3424977c9db55ad66fc1eb0a42 Mon Sep 17 00:00:00 2001 From: SatoMew Date: Thu, 27 Jun 2024 02:19:06 +0000 Subject: Improve documentation of some SRAM routines (#114) --- engine/battle/core.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/battle/core.asm') 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 -- cgit v1.3.1-sl0p