summaryrefslogtreecommitdiff
path: root/engine/overworld/variables.asm
diff options
context:
space:
mode:
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]