mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-01-13 06:58:03 -05:00
add comment explaining ocarina mode setting
This commit is contained in:
parent
0eb8f5c95f
commit
c3253fe59f
@ -366,9 +366,11 @@ void func_809DF96C(EnCow* this, GlobalContext* globalCtx) {
|
|||||||
// reward from this cow yet, give that, otherwise use the
|
// reward from this cow yet, give that, otherwise use the
|
||||||
// vanilla cow behavior
|
// vanilla cow behavior
|
||||||
if (gSaveContext.n64ddFlag &&
|
if (gSaveContext.n64ddFlag &&
|
||||||
Randomizer_GetSettingValue(RSK_SHUFFLE_COWS) &&
|
Randomizer_GetSettingValue(RSK_SHUFFLE_COWS) &&
|
||||||
!EnCow_HasBeenMilked(this, globalCtx)) {
|
!EnCow_HasBeenMilked(this, globalCtx)) {
|
||||||
EnCow_SetCowMilked(this, globalCtx);
|
EnCow_SetCowMilked(this, globalCtx);
|
||||||
|
// setting the ocarina mode here prevents intermittent issues
|
||||||
|
// with the item get not triggering until walking away
|
||||||
globalCtx->msgCtx.ocarinaMode = OCARINA_MODE_00;
|
globalCtx->msgCtx.ocarinaMode = OCARINA_MODE_00;
|
||||||
this->actionFunc = EnCow_GivePlayerRandomizedItem;
|
this->actionFunc = EnCow_GivePlayerRandomizedItem;
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user