1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-21 14:31:17 +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:
engineer124 2022-12-18 23:18:21 -05:00 committed by GitHub
parent f181c2f10e
commit be22b836f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
213 changed files with 1424 additions and 1414 deletions

View file

@ -642,7 +642,7 @@ void EnZo_Submerged(EnZo* this, PlayState* play) {
void EnZo_Surface(EnZo* this, PlayState* play) {
if (this->actor.yDistToWater < 54.0f) {
Audio_PlayActorSfx2(&this->actor, NA_SE_EV_OUT_OF_WATER);
Actor_PlaySfx(&this->actor, NA_SE_EV_OUT_OF_WATER);
EnZo_SpawnSplashes(this);
Animation_ChangeByInfo(&this->skelAnime, sAnimationInfo, ENZO_ANIM_3);
this->actor.flags |= ACTOR_FLAG_0;
@ -693,7 +693,7 @@ void EnZo_TreadWater(EnZo* this, PlayState* play) {
void EnZo_Dive(EnZo* this, PlayState* play) {
if (Animation_OnFrame(&this->skelAnime, this->skelAnime.endFrame)) {
Audio_PlayActorSfx2(&this->actor, NA_SE_EV_DIVE_WATER);
Actor_PlaySfx(&this->actor, NA_SE_EV_DIVE_WATER);
EnZo_SpawnSplashes(this);
this->actor.flags &= ~ACTOR_FLAG_0;
this->actor.velocity.y = -4.0f;