mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 06:21:16 +00:00
Name Actor_PlaySfx
and Player_PlaySfx
(#1469)
* name two main actor sfx functions * adjust comments * fix double s in player * fix commas
This commit is contained in:
parent
f181c2f10e
commit
be22b836f6
213 changed files with 1424 additions and 1414 deletions
|
@ -406,10 +406,10 @@ void DemoKankyo_UpdateClouds(DemoKankyo* this, PlayState* play) {
|
|||
}
|
||||
|
||||
void DemoKankyo_UpdateDoorOfTime(DemoKankyo* this, PlayState* play) {
|
||||
Audio_PlayActorSfx2(&this->actor, NA_SE_EV_STONE_STATUE_OPEN - SFX_FLAG);
|
||||
Actor_PlaySfx(&this->actor, NA_SE_EV_STONE_STATUE_OPEN - SFX_FLAG);
|
||||
this->unk_150[0].unk_18 += 1.0f;
|
||||
if (this->unk_150[0].unk_18 >= 102.0f) {
|
||||
Audio_PlayActorSfx2(&this->actor, NA_SE_EV_STONEDOOR_STOP);
|
||||
Actor_PlaySfx(&this->actor, NA_SE_EV_STONEDOOR_STOP);
|
||||
SET_EVENTCHKINF(EVENTCHKINF_4B);
|
||||
Actor_Kill(this->actor.child);
|
||||
DemoKankyo_SetupAction(this, DemoKankyo_KillDoorOfTimeCollision);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue