summaryrefslogtreecommitdiff
path: root/engine/battle/check_battle_scene.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-06-17 17:03:38 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-06-17 17:03:38 -0400
commitcc460a17b0b99208592ca31de99f526fce2bf5ad (patch)
treefb9c860aa0a578e43e8ccf56c16fcef40101ee04 /engine/battle/check_battle_scene.asm
parentbe93ab33a752fe0360c3b23dd4f33e1b0a05bf0e (diff)
Harmonize engine/{movie, pokemon} with pokegold (renames GetSRAMBank to OpenSRAM)
To do: engine/{menus, overworld}
Diffstat (limited to 'engine/battle/check_battle_scene.asm')
-rw-r--r--engine/battle/check_battle_scene.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/battle/check_battle_scene.asm b/engine/battle/check_battle_scene.asm
index ca6b94289..b7add8237 100644
--- a/engine/battle/check_battle_scene.asm
+++ b/engine/battle/check_battle_scene.asm
@@ -20,7 +20,7 @@ CheckBattleScene:
jr nz, .from_wram
ld a, BANK(s4_a60c) ; MBC30 bank used by JP Crystal; inaccessible by MBC3
- call GetSRAMBank
+ call OpenSRAM
ld a, [s4_a60c]
ld c, a
call CloseSRAM