summaryrefslogtreecommitdiff
path: root/src/item.c
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2019-04-05 16:11:24 -0500
committerhuderlem <huderlem@gmail.com>2019-04-05 16:24:57 -0500
commit033580da9623d6519c35efcb3594552d3389772d (patch)
tree8e054f7f825798578269284c96b14bf2df4b640f /src/item.c
parent9a11764b5208a71d346f14eb61703588bd210116 (diff)
Document secret base
Diffstat (limited to 'src/item.c')
-rw-r--r--src/item.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.c b/src/item.c
index 0e13ddf4c..fe8e8eadd 100644
--- a/src/item.c
+++ b/src/item.c
@@ -537,7 +537,7 @@ bool8 RemoveBagItem(u16 itemId, u16 count)
if (totalQuantity < count)
return FALSE; // We don't have enough of the item
- if (CurrentMapIsSecretBase() == TRUE)
+ if (CurMapIsSecretBase() == TRUE)
{
VarSet(VAR_SECRET_BASE_LOW_TV_FLAGS, VarGet(VAR_SECRET_BASE_LOW_TV_FLAGS) | 0x200);
VarSet(VAR_SECRET_BASE_LAST_ITEM_USED, itemId);