mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-22 17:32:19 -05:00
Add bottle swipes to Fast Drops; rename to Skip Pickup Messages (#847)
* Add bottle-swipes to Fast Drops; rename to Fast Pickups * More freecam friendly * Resolve freecam interaction * Rename to "Skip Pickup Messages"
This commit is contained in:
parent
b98c8b4abb
commit
361a986b8e
@ -995,8 +995,8 @@ namespace SohImGui {
|
||||
Tooltip("Wearing the Bunny Hood grants a speed\nincrease like in Majora's Mask");
|
||||
EnhancementCheckbox("Fast Chests", "gFastChests");
|
||||
Tooltip("Kick open every chest");
|
||||
EnhancementCheckbox("Fast Drops", "gFastDrops");
|
||||
Tooltip("Skip first-time pickup messages for consumable items");
|
||||
EnhancementCheckbox("Skip Pickup Messages", "gFastDrops");
|
||||
Tooltip("Skip pickup messages for new consumable items and bottle swipes");
|
||||
EnhancementCheckbox("Better Owl", "gBetterOwl");
|
||||
Tooltip("The default response to Kaepora Gaebora is\nalways that you understood what he said");
|
||||
EnhancementCheckbox("Fast Ocarina Playback", "gFastOcarinaPlayback");
|
||||
|
@ -13129,7 +13129,10 @@ void func_8084ECA4(Player* this, GlobalContext* globalCtx) {
|
||||
if (LinkAnimation_Update(globalCtx, &this->skelAnime)) {
|
||||
if (this->unk_84F != 0) {
|
||||
if (this->unk_850 == 0) {
|
||||
Message_StartTextbox(globalCtx, D_80854A04[this->unk_84F - 1].textId, &this->actor);
|
||||
if (CVar_GetS32("gFastDrops", 0))
|
||||
{ this->unk_84F = 0; }
|
||||
else
|
||||
{ Message_StartTextbox(globalCtx, D_80854A04[this->unk_84F - 1].textId, &this->actor); }
|
||||
Audio_PlayFanfare(NA_BGM_ITEM_GET | 0x900);
|
||||
this->unk_850 = 1;
|
||||
}
|
||||
@ -13165,11 +13168,13 @@ void func_8084ECA4(Player* this, GlobalContext* globalCtx) {
|
||||
if (i < 4) {
|
||||
this->unk_84F = i + 1;
|
||||
this->unk_850 = 0;
|
||||
this->stateFlags1 |= PLAYER_STATE1_28 | PLAYER_STATE1_29;
|
||||
this->interactRangeActor->parent = &this->actor;
|
||||
Player_UpdateBottleHeld(globalCtx, this, catchInfo->itemId, ABS(catchInfo->actionParam));
|
||||
func_808322D0(globalCtx, this, sp24->unk_04);
|
||||
func_80835EA4(globalCtx, 4);
|
||||
if (!CVar_GetS32("gFastDrops", 0)) {
|
||||
this->stateFlags1 |= PLAYER_STATE1_28 | PLAYER_STATE1_29;
|
||||
func_808322D0(globalCtx, this, sp24->unk_04);
|
||||
func_80835EA4(globalCtx, 4);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user