Fixes BGS on skull tokens

This commit is contained in:
aMannus 2022-08-25 08:49:15 +02:00
parent d2fe83edf4
commit cc6e4238cf
1 changed files with 1 additions and 0 deletions

View File

@ -1644,6 +1644,7 @@ u8 Item_Give(GlobalContext* globalCtx, u8 item) {
if (item == ITEM_SWORD_BGS) {
gSaveContext.swordHealth = 8;
gSaveContext.bgsFlag = 1;
if (ALL_EQUIP_VALUE(EQUIP_SWORD) == 0xF
||(gSaveContext.n64ddFlag && ALL_EQUIP_VALUE(EQUIP_SWORD) == 0xE)) { // In rando, when buying Giant's Knife, also check