mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-29 21:02:18 -05:00
No forced navi (Prevent forced Navi conversations) (#453)
* no forced navi * imgui option for it * remove double owl from sloppy merge Co-authored-by: briaguya <briaguya@alice>
This commit is contained in:
parent
36d37d97bd
commit
3e6307bf96
@ -881,6 +881,8 @@ namespace SohImGui {
|
|||||||
Tooltip("Allows equipping the tunic and boots to c-buttons");
|
Tooltip("Allows equipping the tunic and boots to c-buttons");
|
||||||
EnhancementCheckbox("MM Bunny Hood", "gMMBunnyHood");
|
EnhancementCheckbox("MM Bunny Hood", "gMMBunnyHood");
|
||||||
Tooltip("Wearing the Bunny Hood grants a speed increase like in Majora's Mask");
|
Tooltip("Wearing the Bunny Hood grants a speed increase like in Majora's Mask");
|
||||||
|
EnhancementCheckbox("No Forced Navi", "gNoForcedNavi");
|
||||||
|
Tooltip("Prevent forced Navi conversations");
|
||||||
EnhancementCheckbox("No Skulltula Freeze", "gSkulltulaFreeze");
|
EnhancementCheckbox("No Skulltula Freeze", "gSkulltulaFreeze");
|
||||||
Tooltip("Stops the game from freezing the player when picking up Gold Skulltulas");
|
Tooltip("Stops the game from freezing the player when picking up Gold Skulltulas");
|
||||||
EnhancementCheckbox("Disable Navi Call Audio", "gDisableNaviCallAudio");
|
EnhancementCheckbox("Disable Navi Call Audio", "gDisableNaviCallAudio");
|
||||||
|
@ -110,7 +110,7 @@ void ElfMsg_Destroy(Actor* thisx, GlobalContext* globalCtx) {
|
|||||||
|
|
||||||
s32 ElfMsg_GetMessageId(ElfMsg* this) {
|
s32 ElfMsg_GetMessageId(ElfMsg* this) {
|
||||||
// Negative message ID forces link to talk to Navi
|
// Negative message ID forces link to talk to Navi
|
||||||
if (this->actor.params & 0x8000) {
|
if (this->actor.params & 0x8000 || CVar_GetS32("gNoForcedNavi", 0) != 0) {
|
||||||
return (this->actor.params & 0xFF) + 0x100;
|
return (this->actor.params & 0xFF) + 0x100;
|
||||||
} else {
|
} else {
|
||||||
return -((this->actor.params & 0xFF) + 0x100);
|
return -((this->actor.params & 0xFF) + 0x100);
|
||||||
|
Loading…
Reference in New Issue
Block a user