mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-25 19:02:19 -05:00
parent
0d17e72dca
commit
20ac33d380
@ -21,7 +21,8 @@ void MoveMidoInKokiriForest_Register() {
|
|||||||
CVarGetInteger(CVAR_ENHANCEMENT("TimeSavers.SkipMiscInteractions"), IS_RANDO) &&
|
CVarGetInteger(CVAR_ENHANCEMENT("TimeSavers.SkipMiscInteractions"), IS_RANDO) &&
|
||||||
!Flags_GetEventChkInf(EVENTCHKINF_SHOWED_MIDO_SWORD_SHIELD) &&
|
!Flags_GetEventChkInf(EVENTCHKINF_SHOWED_MIDO_SWORD_SHIELD) &&
|
||||||
(CUR_EQUIP_VALUE(EQUIP_TYPE_SHIELD) == EQUIP_VALUE_SHIELD_DEKU) &&
|
(CUR_EQUIP_VALUE(EQUIP_TYPE_SHIELD) == EQUIP_VALUE_SHIELD_DEKU) &&
|
||||||
(CUR_EQUIP_VALUE(EQUIP_TYPE_SWORD) == EQUIP_VALUE_SWORD_KOKIRI)
|
(CUR_EQUIP_VALUE(EQUIP_TYPE_SWORD) == EQUIP_VALUE_SWORD_KOKIRI) &&
|
||||||
|
gSaveContext.cutsceneIndex == 0
|
||||||
) {
|
) {
|
||||||
Flags_SetEventChkInf(EVENTCHKINF_SHOWED_MIDO_SWORD_SHIELD);
|
Flags_SetEventChkInf(EVENTCHKINF_SHOWED_MIDO_SWORD_SHIELD);
|
||||||
*should = true;
|
*should = true;
|
||||||
|
@ -76,6 +76,7 @@ typedef enum {
|
|||||||
VB_MIDO_SPAWN,
|
VB_MIDO_SPAWN,
|
||||||
// Opt: *EnMd
|
// Opt: *EnMd
|
||||||
// Vanilla condition: EnMd->interactInfo.talkState == NPC_TALK_STATE_ACTION
|
// Vanilla condition: EnMd->interactInfo.talkState == NPC_TALK_STATE_ACTION
|
||||||
|
// Note: When overriding this, ensure you're not in the intro cutscene as Mido's path has not been loaded
|
||||||
VB_MOVE_MIDO_IN_KOKIRI_FOREST,
|
VB_MOVE_MIDO_IN_KOKIRI_FOREST,
|
||||||
// Opt: *EnMd
|
// Opt: *EnMd
|
||||||
// Vanilla condition: CHECK_QUEST_ITEM(QUEST_KOKIRI_EMERALD)
|
// Vanilla condition: CHECK_QUEST_ITEM(QUEST_KOKIRI_EMERALD)
|
||||||
|
@ -674,7 +674,7 @@ void RandomizerOnVanillaBehaviorHandler(GIVanillaBehavior id, bool* should, va_l
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case VB_MOVE_MIDO_IN_KOKIRI_FOREST:
|
case VB_MOVE_MIDO_IN_KOKIRI_FOREST:
|
||||||
if (RAND_GET_OPTION(RSK_FOREST) == RO_FOREST_OPEN) {
|
if (RAND_GET_OPTION(RSK_FOREST) == RO_FOREST_OPEN && gSaveContext.cutsceneIndex == 0) {
|
||||||
*should = true;
|
*should = true;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user