Fixes Maps, Compasses, and Boss Keys in Vanilla. (#751)

This commit is contained in:
Christopher Leggett 2022-07-13 19:38:25 -04:00 committed by GitHub
parent 4d65a5ff73
commit 7c6d8a6b9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1710,6 +1710,8 @@ u8 Item_Give(GlobalContext* globalCtx, u8 item) {
} else { } else {
gSaveContext.inventory.dungeonItems[gSaveContext.mapIndex] |= gBitFlags[item - ITEM_KEY_BOSS]; gSaveContext.inventory.dungeonItems[gSaveContext.mapIndex] |= gBitFlags[item - ITEM_KEY_BOSS];
} }
} else {
gSaveContext.inventory.dungeonItems[gSaveContext.mapIndex] |= gBitFlags[item - ITEM_KEY_BOSS];
} }
return ITEM_NONE; return ITEM_NONE;
} else if (item == ITEM_KEY_SMALL) { } else if (item == ITEM_KEY_SMALL) {