mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-17 21:35:11 +00:00
Document z_lib Sfx Functions (#1470)
* document lib sfx * rename functions
This commit is contained in:
parent
18d609c1a3
commit
b8aa2a251e
112 changed files with 399 additions and 388 deletions
|
@ -912,10 +912,10 @@ void Environment_Update(PlayState* play, EnvironmentContext* envCtx, LightContex
|
|||
// delaying the chicken crow or dog howl sfx by 15 frames when loading the new area.
|
||||
|
||||
if (((void)0, gSaveContext.nextDayTime) == (NEXT_TIME_DAY_SET - (15 * 0x10))) {
|
||||
func_80078884(NA_SE_EV_CHICKEN_CRY_M);
|
||||
Sfx_PlaySfxCentered(NA_SE_EV_CHICKEN_CRY_M);
|
||||
gSaveContext.nextDayTime = NEXT_TIME_NONE;
|
||||
} else if (((void)0, gSaveContext.nextDayTime) == (NEXT_TIME_NIGHT_SET - (15 * 0x10))) {
|
||||
func_800788CC(NA_SE_EV_DOG_CRY_EVENING);
|
||||
Sfx_PlaySfxCentered2(NA_SE_EV_DOG_CRY_EVENING);
|
||||
gSaveContext.nextDayTime = NEXT_TIME_NONE;
|
||||
}
|
||||
}
|
||||
|
@ -2122,7 +2122,7 @@ void Environment_PlayTimeBasedSequence(PlayState* play) {
|
|||
|
||||
case TIMESEQ_NIGHT_BEGIN_SFX:
|
||||
if (gSaveContext.save.dayTime > CLOCK_TIME(18, 0)) {
|
||||
func_800788CC(NA_SE_EV_DOG_CRY_EVENING);
|
||||
Sfx_PlaySfxCentered2(NA_SE_EV_DOG_CRY_EVENING);
|
||||
play->envCtx.timeSeqState++;
|
||||
}
|
||||
break;
|
||||
|
@ -2158,7 +2158,7 @@ void Environment_PlayTimeBasedSequence(PlayState* play) {
|
|||
gSaveContext.save.totalDays++;
|
||||
gSaveContext.save.bgsDayCount++;
|
||||
gSaveContext.dogIsLost = true;
|
||||
func_80078884(NA_SE_EV_CHICKEN_CRY_M);
|
||||
Sfx_PlaySfxCentered(NA_SE_EV_CHICKEN_CRY_M);
|
||||
|
||||
if ((Inventory_ReplaceItem(play, ITEM_WEIRD_EGG, ITEM_CHICKEN) ||
|
||||
Inventory_ReplaceItem(play, ITEM_POCKET_EGG, ITEM_POCKET_CUCCO)) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue