mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-22 06:52:03 +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
|
@ -286,7 +286,7 @@ void EnTp_SetupDie(EnTp* this) {
|
|||
}
|
||||
|
||||
this->timer = 13;
|
||||
Audio_PlayActorSfx2(&this->actor, NA_SE_EN_TAIL_DEAD);
|
||||
Actor_PlaySfx(&this->actor, NA_SE_EN_TAIL_DEAD);
|
||||
}
|
||||
this->actionIndex = TAILPASARAN_ACTION_DIE;
|
||||
EnTp_SetupAction(this, EnTp_Die);
|
||||
|
@ -605,7 +605,7 @@ void EnTp_UpdateDamage(EnTp* this, PlayState* play) {
|
|||
} else {
|
||||
if (phi_s4 != 0) {
|
||||
this->actor.freezeTimer = 80;
|
||||
Audio_PlayActorSfx2(&this->actor, NA_SE_EN_GOMA_JR_FREEZE);
|
||||
Actor_PlaySfx(&this->actor, NA_SE_EN_GOMA_JR_FREEZE);
|
||||
if (phi_s2 != 0) {
|
||||
Actor_SetColorFilter(&this->actor, COLORFILTER_COLORFLAG_BLUE, 255, COLORFILTER_BUFFLAG_OPA,
|
||||
80);
|
||||
|
@ -620,7 +620,7 @@ void EnTp_UpdateDamage(EnTp* this, PlayState* play) {
|
|||
|
||||
if (phi_s4 != 0) {
|
||||
now->actor.freezeTimer = 80;
|
||||
Audio_PlayActorSfx2(&this->actor, NA_SE_EN_GOMA_JR_FREEZE);
|
||||
Actor_PlaySfx(&this->actor, NA_SE_EN_GOMA_JR_FREEZE);
|
||||
|
||||
if (phi_s2 != 0) {
|
||||
Actor_SetColorFilter(&now->actor, COLORFILTER_COLORFLAG_BLUE, 255, COLORFILTER_BUFFLAG_OPA,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue