1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-21 22:41:14 +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:
engineer124 2022-12-18 23:18:21 -05:00 committed by GitHub
parent f181c2f10e
commit be22b836f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
213 changed files with 1424 additions and 1414 deletions

View file

@ -264,7 +264,7 @@ s32 func_80A2F760(EnGb* this) {
void func_80A2F7C0(EnGb* this) {
Animation_Change(&this->skelAnime, &gPoeSellerSwingStickAnim, 1.0f, 0.0f,
Animation_GetLastFrame(&gPoeSellerSwingStickAnim), ANIMMODE_ONCE, 0.0f);
Audio_PlayActorSfx2(&this->dyna.actor, NA_SE_EV_NALE_MAGIC);
Actor_PlaySfx(&this->dyna.actor, NA_SE_EV_NALE_MAGIC);
this->actionFunc = func_80A2FC70;
}
@ -389,7 +389,7 @@ void func_80A2FC70(EnGb* this, PlayState* play) {
this->cagedSouls[0].unk_3 = 1;
if (this->actionFunc) {}
this->actionTimer = (s16)Rand_ZeroFloat(600.0f) + 600;
Audio_PlayActorSfx2(&this->dyna.actor, NA_SE_EV_WOOD_HIT);
Actor_PlaySfx(&this->dyna.actor, NA_SE_EV_WOOD_HIT);
}
}