aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPokefanMarcel <166040321+PokefanMarcel@users.noreply.github.com>2025-09-07 18:46:26 +0200
committerGitHub <noreply@github.com>2025-09-07 12:46:26 -0400
commit108bf2981d8a0cbfa0ce0f19b3d6f5d1d549e06c (patch)
treefcefb4b751c04a1c4c14314aab15e44b86d95a9d
parentDocument visual glitch with Pewter City Gym guy (#526) (diff)
downloadpokeyellow-108bf2981d8a0cbfa0ce0f19b3d6f5d1d549e06c.tar.gz
pokeyellow-108bf2981d8a0cbfa0ce0f19b3d6f5d1d549e06c.tar.xz
pokeyellow-108bf2981d8a0cbfa0ce0f19b3d6f5d1d549e06c.zip
Use RAMG_SRAM_ENABLE (#530)
-rw-r--r--engine/battle/core.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index 6285a330..c5d6a1d1 100644
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -6373,7 +6373,7 @@ LoadPlayerBackPic:
jr nz, .loop
ld de, vBackPic
call InterlaceMergeSpriteBuffers
- ld a, $a
+ ld a, RAMG_SRAM_ENABLE
ld [rRAMG], a
xor a
ld [rRAMB], a