summaryrefslogtreecommitdiff
path: root/soh/src/code
diff options
context:
space:
mode:
authorChristopher Leggett <chris@leggett.dev>2022-07-13 19:38:25 -0400
committerGitHub <noreply@github.com>2022-07-13 19:38:25 -0400
commit7c6d8a6b9caf4d6b2893b364e173668b153afcdc (patch)
treecf135507aeb6763c5467f75ebfe2f375d442b741 /soh/src/code
parent4d65a5ff736f65135f64cc1861934742cc5800ad (diff)
Fixes Maps, Compasses, and Boss Keys in Vanilla. (#751)
Diffstat (limited to 'soh/src/code')
-rw-r--r--soh/src/code/z_parameter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/soh/src/code/z_parameter.c b/soh/src/code/z_parameter.c
index 08a9cf520..0ac1e1048 100644
--- a/soh/src/code/z_parameter.c
+++ b/soh/src/code/z_parameter.c
@@ -1710,6 +1710,8 @@ u8 Item_Give(GlobalContext* globalCtx, u8 item) {
} else {
gSaveContext.inventory.dungeonItems[gSaveContext.mapIndex] |= gBitFlags[item - ITEM_KEY_BOSS];
}
+ } else {
+ gSaveContext.inventory.dungeonItems[gSaveContext.mapIndex] |= gBitFlags[item - ITEM_KEY_BOSS];
}
return ITEM_NONE;
} else if (item == ITEM_KEY_SMALL) {