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

Document ACTOR_FLAG_SFX_ flags and functions (#2162)

* Document `ACTOR_FLAG_SFX_` flags and functions

* format
This commit is contained in:
Dragorn421 2024-09-08 22:26:01 +02:00 committed by GitHub
parent de1a08c061
commit a903f8b8bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
88 changed files with 227 additions and 218 deletions

View file

@ -238,7 +238,7 @@ void EnBombf_Move(EnBombf* this, PlayState* play) {
} else {
Math_SmoothStepToF(&this->actor.speed, 0.0f, 1.0f, 1.5f, 0.0f);
if ((this->actor.bgCheckFlags & BGCHECKFLAG_GROUND_TOUCH) && (this->actor.velocity.y < -6.0f)) {
func_8002F850(play, &this->actor);
Actor_PlaySfx_SurfaceBomb(play, &this->actor);
this->actor.velocity.y *= -0.5f;
} else if (this->timer >= 4) {
Actor_OfferCarry(&this->actor, play);