1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-23 23:41:24 +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

@ -415,7 +415,7 @@ void func_80AAE294(EnMm* this, PlayState* play) {
if (this->curAnimIndex == 0) {
if (((s32)this->skelAnime.curFrame == 1) || ((s32)this->skelAnime.curFrame == 6)) {
Audio_PlayActorSfx2(&this->actor, NA_SE_PL_WALK_GROUND);
Actor_PlaySfx(&this->actor, NA_SE_PL_WALK_GROUND);
}
}
@ -423,7 +423,7 @@ void func_80AAE294(EnMm* this, PlayState* play) {
if (((this->skelAnime.curFrame - this->skelAnime.playSpeed < 9.0f) && (this->skelAnime.curFrame >= 9.0f)) ||
((this->skelAnime.curFrame - this->skelAnime.playSpeed < 19.0f) &&
(this->skelAnime.curFrame >= 19.0f))) {
Audio_PlayActorSfx2(&this->actor, NA_SE_EN_MORIBLIN_WALK);
Actor_PlaySfx(&this->actor, NA_SE_EN_MORIBLIN_WALK);
}
}