From 5114d4c353f93dd0c243fb0ff807b3f1cacced51 Mon Sep 17 00:00:00 2001 From: LittleCube Date: Sun, 27 Apr 2025 13:30:18 -0400 Subject: [PATCH] Restore fd anywhere export functionality (#570) * fix fd * add comment back in --- patches/input.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/patches/input.c b/patches/input.c index f0c12f1..ce6eccd 100644 --- a/patches/input.c +++ b/patches/input.c @@ -1013,7 +1013,8 @@ RECOMP_PATCH void Interface_UpdateButtonsPart2(PlayState* play) { } } else if (GET_CUR_FORM_BTN_ITEM(i) == ITEM_MASK_FIERCE_DEITY) { // Fierce Deity's Mask is equipped - if ((play->sceneId != SCENE_MITURIN_BS) && (play->sceneId != SCENE_HAKUGIN_BS) && + // @recomp_use_export_var fd_anywhere: Allow the player to use the Fierce Deity's Mask anywhere if mods enable it. + if (!fd_anywhere && (play->sceneId != SCENE_MITURIN_BS) && (play->sceneId != SCENE_HAKUGIN_BS) && (play->sceneId != SCENE_SEA_BS) && (play->sceneId != SCENE_INISIE_BS) && (play->sceneId != SCENE_LAST_BS)) { if (gSaveContext.buttonStatus[i] != BTN_DISABLED) {