mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 14:31:17 +00:00
Document ACTOR_FLAG_SFX_
flags and functions (#2162)
* Document `ACTOR_FLAG_SFX_` flags and functions * format
This commit is contained in:
parent
de1a08c061
commit
a903f8b8bc
88 changed files with 227 additions and 218 deletions
|
@ -207,11 +207,11 @@ void Demo6K_WaitForObject(Demo6K* this, PlayState* play) {
|
|||
|
||||
void func_80966E04(Demo6K* this, PlayState* play) {
|
||||
if (play->csCtx.curFrame > 214) {
|
||||
func_8002F948(&this->actor, NA_SE_EV_LIGHT_GATHER - SFX_FLAG);
|
||||
Actor_PlaySfx_FlaggedCentered2(&this->actor, NA_SE_EV_LIGHT_GATHER - SFX_FLAG);
|
||||
}
|
||||
|
||||
if (play->csCtx.curFrame > 264) {
|
||||
func_8002F948(&this->actor, NA_SE_EV_GOD_LIGHTBALL_2 - SFX_FLAG);
|
||||
Actor_PlaySfx_FlaggedCentered2(&this->actor, NA_SE_EV_GOD_LIGHTBALL_2 - SFX_FLAG);
|
||||
}
|
||||
|
||||
if ((play->csCtx.state != CS_STATE_IDLE) && (play->csCtx.actorCues[6] != NULL) &&
|
||||
|
@ -222,8 +222,8 @@ void func_80966E04(Demo6K* this, PlayState* play) {
|
|||
|
||||
void func_80966E98(Demo6K* this, PlayState* play) {
|
||||
if (play->csCtx.curFrame < 353) {
|
||||
func_8002F948(&this->actor, NA_SE_EV_LIGHT_GATHER - SFX_FLAG);
|
||||
func_8002F948(&this->actor, NA_SE_EV_GOD_LIGHTBALL_2 - SFX_FLAG);
|
||||
Actor_PlaySfx_FlaggedCentered2(&this->actor, NA_SE_EV_LIGHT_GATHER - SFX_FLAG);
|
||||
Actor_PlaySfx_FlaggedCentered2(&this->actor, NA_SE_EV_GOD_LIGHTBALL_2 - SFX_FLAG);
|
||||
}
|
||||
|
||||
if (play->csCtx.curFrame == 342) {
|
||||
|
@ -300,7 +300,7 @@ void func_8096712C(Demo6K* this, PlayState* play) {
|
|||
this->timer2++;
|
||||
|
||||
if ((play->sceneId == SCENE_INSIDE_GANONS_CASTLE) && (play->csCtx.curFrame < D_8096932C[this->actor.params - 3])) {
|
||||
func_8002F974(&this->actor, NA_SE_EV_LIGHT_GATHER - SFX_FLAG);
|
||||
Actor_PlaySfx_Flagged(&this->actor, NA_SE_EV_LIGHT_GATHER - SFX_FLAG);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -465,7 +465,7 @@ void func_80967AD0(Demo6K* this, PlayState* play) {
|
|||
if ((play->csCtx.state != CS_STATE_IDLE) && (play->csCtx.actorCues[1] != NULL)) {
|
||||
if (play->csCtx.actorCues[1]->id == 2) {
|
||||
this->unk_170++;
|
||||
func_8002F948(&this->actor, NA_SE_EV_RAINBOW_SHOWER - SFX_FLAG);
|
||||
Actor_PlaySfx_FlaggedCentered2(&this->actor, NA_SE_EV_RAINBOW_SHOWER - SFX_FLAG);
|
||||
}
|
||||
|
||||
func_809691BC(this, play, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue