1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-23 07:21:19 +00:00

Rename "Sound" to "Sfx" (#1292)

* First attempt

* More

* rename

* more sound -> sfx / sound effect (#7)

* PR Suggestions

* PR Suggestions

* Small fix

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
Co-authored-by: fig02 <fig02srl@gmail.com>
This commit is contained in:
engineer124 2022-07-30 07:05:27 -06:00 committed by GitHub
parent 1652b7e5d7
commit 1d19f37b26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
321 changed files with 2879 additions and 2904 deletions

View file

@ -238,7 +238,7 @@ void EnSsh_SetWaitAnimation(EnSsh* this) {
}
void EnSsh_SetReturnAnimation(EnSsh* this) {
Audio_PlayActorSound2(&this->actor, NA_SE_EN_STALTU_UP);
Audio_PlayActorSfx2(&this->actor, NA_SE_EN_STALTU_UP);
EnSsh_SetAnimation(this, SSH_ANIM_UP);
}
@ -303,8 +303,8 @@ s32 EnSsh_Damaged(EnSsh* this) {
if (this->swayTimer == 0) {
this->spinTimer = 30;
}
Audio_PlayActorSound2(&this->actor, NA_SE_EN_STALTU_ROLL);
Audio_PlayActorSound2(&this->actor, NA_SE_VO_ST_ATTACK);
Audio_PlayActorSfx2(&this->actor, NA_SE_EN_STALTU_ROLL);
Audio_PlayActorSfx2(&this->actor, NA_SE_VO_ST_ATTACK);
return true;
}
}
@ -468,8 +468,8 @@ s32 EnSsh_CheckHitPlayer(EnSsh* this, PlayState* play) {
if (this->swayTimer == 0) {
this->spinTimer = this->hitTimer;
}
Audio_PlayActorSound2(&this->actor, NA_SE_EN_STALTU_ROLL);
Audio_PlayActorSound2(&this->actor, NA_SE_VO_ST_ATTACK);
Audio_PlayActorSfx2(&this->actor, NA_SE_EN_STALTU_ROLL);
Audio_PlayActorSfx2(&this->actor, NA_SE_VO_ST_ATTACK);
play->damagePlayer(play, -8);
func_8002F71C(play, &this->actor, 4.0f, this->actor.yawTowardsPlayer, 6.0f);
this->hitCount--;
@ -515,8 +515,8 @@ s32 EnSsh_CheckHitBack(EnSsh* this, PlayState* play) {
this->hitCount++;
}
if (this->stunTimer == 0) {
Audio_PlayActorSound2(&this->actor, NA_SE_EN_GOMA_JR_FREEZE);
Audio_PlayActorSound2(&this->actor, NA_SE_VO_ST_DAMAGE);
Audio_PlayActorSfx2(&this->actor, NA_SE_EN_GOMA_JR_FREEZE);
Audio_PlayActorSfx2(&this->actor, NA_SE_VO_ST_DAMAGE);
}
EnSsh_SetStunned(this);
this->stateFlags |= SSH_STATE_STUNNED;
@ -532,8 +532,8 @@ s32 EnSsh_CollisionCheck(EnSsh* this, PlayState* play) {
} else if (play->actorCtx.unk_02 != 0) {
this->invincibilityTimer = 8;
if (this->stunTimer == 0) {
Audio_PlayActorSound2(&this->actor, NA_SE_EN_GOMA_JR_FREEZE);
Audio_PlayActorSound2(&this->actor, NA_SE_VO_ST_DAMAGE);
Audio_PlayActorSfx2(&this->actor, NA_SE_EN_GOMA_JR_FREEZE);
Audio_PlayActorSfx2(&this->actor, NA_SE_VO_ST_DAMAGE);
}
EnSsh_SetStunned(this);
this->stateFlags |= SSH_STATE_STUNNED;
@ -689,7 +689,7 @@ void EnSsh_Idle(EnSsh* this, PlayState* play) {
EnSsh_SetupAction(this, EnSsh_Return);
} else {
if (DECR(this->sfxTimer) == 0) {
Audio_PlayActorSound2(&this->actor, NA_SE_EN_STALTU_LAUGH);
Audio_PlayActorSfx2(&this->actor, NA_SE_EN_STALTU_LAUGH);
this->sfxTimer = 64;
}
EnSsh_Bob(this, play);
@ -748,7 +748,7 @@ void EnSsh_Drop(EnSsh* this, PlayState* play) {
EnSsh_SetLandAnimation(this);
EnSsh_SetupAction(this, EnSsh_Land);
} else if (DECR(this->sfxTimer) == 0) {
Audio_PlayActorSound2(&this->actor, NA_SE_EN_STALTU_DOWN);
Audio_PlayActorSfx2(&this->actor, NA_SE_EN_STALTU_DOWN);
this->sfxTimer = 3;
}
}