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
|
@ -206,7 +206,7 @@ void func_80ACE5C8(EnPart* this, PlayState* play) {
|
|||
velocity.x = Rand_CenteredFloat(16.0f);
|
||||
EffectSsHahen_Spawn(play, &this->actor.world.pos, &velocity, &accel, 20,
|
||||
(s32)((Rand_ZeroOne() * 5.0f + 12.0f) * 2), -1, 10, NULL);
|
||||
Audio_PlayActorSfx2(&this->actor, NA_SE_EN_MONBLIN_GNDWAVE - SFX_FLAG);
|
||||
Actor_PlaySfx(&this->actor, NA_SE_EN_MONBLIN_GNDWAVE - SFX_FLAG);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -229,7 +229,7 @@ void func_80ACE7E8(EnPart* this, PlayState* play) {
|
|||
if (diffsSum == 0.0f) {
|
||||
this->actor.parent->home.rot.x--;
|
||||
this->timer--;
|
||||
Audio_PlayActorSfx2(&this->actor, NA_SE_EN_STAL_DAMAGE);
|
||||
Actor_PlaySfx(&this->actor, NA_SE_EN_STAL_DAMAGE);
|
||||
}
|
||||
} else if (this->timer > 0) {
|
||||
this->timer--;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue