summaryrefslogtreecommitdiff
path: root/engine/overworld/variables.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/overworld/variables.asm
parentbe93ab33a752fe0360c3b23dd4f33e1b0a05bf0e (diff)
Harmonize engine/{movie, pokemon} with pokegold (renames GetSRAMBank to OpenSRAM)
To do: engine/{menus, overworld}
Diffstat (limited to 'engine/overworld/variables.asm')
-rw-r--r--engine/overworld/variables.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/overworld/variables.asm b/engine/overworld/variables.asm
index c98b9cc56..329a2f9f2 100644
--- a/engine/overworld/variables.asm
+++ b/engine/overworld/variables.asm
@@ -126,7 +126,7 @@ _GetVarAction::
.BoxFreeSpace:
; Remaining slots in the current box.
ld a, BANK(sBoxCount)
- call GetSRAMBank
+ call OpenSRAM
ld hl, sBoxCount
ld a, MONS_PER_BOX
sub [hl]