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:
parent
f181c2f10e
commit
be22b836f6
213 changed files with 1424 additions and 1414 deletions
|
@ -422,14 +422,14 @@ void EnCs_Update(Actor* thisx, PlayState* play) {
|
|||
|
||||
if (this->currentAnimIndex == 0) {
|
||||
if (((s32)this->skelAnime.curFrame == 9) || ((s32)this->skelAnime.curFrame == 23)) {
|
||||
Audio_PlayActorSfx2(&this->actor, NA_SE_EV_CHIBI_WALK);
|
||||
Actor_PlaySfx(&this->actor, NA_SE_EV_CHIBI_WALK);
|
||||
}
|
||||
} else if (this->currentAnimIndex == 1) {
|
||||
if (((s32)this->skelAnime.curFrame == 10) || ((s32)this->skelAnime.curFrame == 25)) {
|
||||
Audio_PlayActorSfx2(&this->actor, NA_SE_EV_CHIBI_WALK);
|
||||
Actor_PlaySfx(&this->actor, NA_SE_EV_CHIBI_WALK);
|
||||
}
|
||||
} else if ((this->currentAnimIndex == 2) && ((s32)this->skelAnime.curFrame == 20)) {
|
||||
Audio_PlayActorSfx2(&this->actor, NA_SE_EV_CHIBI_WALK);
|
||||
Actor_PlaySfx(&this->actor, NA_SE_EV_CHIBI_WALK);
|
||||
}
|
||||
|
||||
Collider_UpdateCylinder(&this->actor, &this->collider);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue