mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-09-29 03:17:52 -04:00
Fix equipping sword over swordless while fishing/riding (#7222)
This commit is contained in:
@@ -1535,7 +1535,10 @@ void RandomizerOnVanillaBehaviorHandler(GIVanillaBehavior id, bool* should, va_l
|
||||
case VB_TEMP_B_RESTORE_SWORDLESS:
|
||||
// Convert the swordless sentinel back into an empty (swordless) B button.
|
||||
if (gSaveContext.buttonStatus[0] == SWORDLESS_STATUS) {
|
||||
gSaveContext.equips.buttonItems[0] = ITEM_NONE;
|
||||
u8 bItem = gSaveContext.equips.buttonItems[0];
|
||||
if (!((bItem >= ITEM_SWORD_KOKIRI && bItem <= ITEM_SWORD_BGS) || bItem == ITEM_SWORD_KNIFE)) {
|
||||
gSaveContext.equips.buttonItems[0] = ITEM_NONE;
|
||||
}
|
||||
gSaveContext.buttonStatus[0] = BTN_ENABLED;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user