mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 14:31:17 +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
|
@ -799,7 +799,7 @@ void ObjectKankyo_WaitForSunGraveSparkObject(ObjectKankyo* this, PlayState* play
|
|||
void ObjectKankyo_SunGraveSpark(ObjectKankyo* this, PlayState* play) {
|
||||
if (play->csCtx.state != 0) {
|
||||
if (play->csCtx.npcActions[1] != NULL && play->csCtx.npcActions[1]->action == 2) {
|
||||
Audio_PlayActorSfx2(&this->actor, NA_SE_EN_BIRI_SPARK - SFX_FLAG);
|
||||
Actor_PlaySfx(&this->actor, NA_SE_EN_BIRI_SPARK - SFX_FLAG);
|
||||
if ((s16)this->effects[0].alpha + 20 > 255) {
|
||||
this->effects[0].alpha = 255;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue