mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 22:41:14 +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
|
@ -334,7 +334,7 @@ void EnWood02_Update(Actor* thisx, PlayState* play2) {
|
|||
if (this->actor.params <= WOOD_TREE_KAKARIKO_ADULT) {
|
||||
if (this->collider.base.acFlags & AC_HIT) {
|
||||
this->collider.base.acFlags &= ~AC_HIT;
|
||||
Audio_PlayActorSfx2(&this->actor, NA_SE_IT_REFLECTION_WOOD);
|
||||
Actor_PlaySfx(&this->actor, NA_SE_IT_REFLECTION_WOOD);
|
||||
}
|
||||
|
||||
if (this->actor.home.rot.y != 0) {
|
||||
|
@ -361,7 +361,7 @@ void EnWood02_Update(Actor* thisx, PlayState* play2) {
|
|||
(this->actor.params == WOOD_TREE_OVAL_YELLOW_SPAWNED)) {
|
||||
leavesParams = WOOD_LEAF_YELLOW;
|
||||
}
|
||||
Audio_PlayActorSfx2(&this->actor, NA_SE_EV_TREE_SWING);
|
||||
Actor_PlaySfx(&this->actor, NA_SE_EV_TREE_SWING);
|
||||
|
||||
for (i = 3; i >= 0; i--) {
|
||||
Actor_Spawn(&play->actorCtx, play, ACTOR_EN_WOOD02, dropsSpawnPt.x, dropsSpawnPt.y, dropsSpawnPt.z,
|
||||
|
@ -390,7 +390,7 @@ void EnWood02_Update(Actor* thisx, PlayState* play2) {
|
|||
((this->unk_14C << 4) | 0x8000));
|
||||
}
|
||||
this->unk_14C = -0x15;
|
||||
Audio_PlayActorSfx2(&this->actor, NA_SE_EV_TREE_SWING);
|
||||
Actor_PlaySfx(&this->actor, NA_SE_EV_TREE_SWING);
|
||||
}
|
||||
}
|
||||
} else { // Leaves
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue