From cc6e4238cf6eb143265de6b22c36efad584157e1 Mon Sep 17 00:00:00 2001 From: aMannus Date: Thu, 25 Aug 2022 08:49:15 +0200 Subject: [PATCH] Fixes BGS on skull tokens --- soh/src/code/z_parameter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/soh/src/code/z_parameter.c b/soh/src/code/z_parameter.c index 9d95bb0bc..e2aa0fe46 100644 --- a/soh/src/code/z_parameter.c +++ b/soh/src/code/z_parameter.c @@ -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