mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-22 23:11:20 +00:00
z_actor
documentation pass (#1445)
* Actor_Offer* and Actor_SetClosestSecretDistance * color filter stuff * KillAll * format * comment * Update src/code/z_actor.c Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * review Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * format * COLORFILTER_INTENSITY_FLAG * Remove - Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * yeet COLORFILTER_GET_XLUFLAG * bug * frug * Undo Actor_KillAllFromUnloadedRooms * update Actor_OfferGetItem comment * Update Actor_OfferGetItem description * diving Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
This commit is contained in:
parent
83163f4d4b
commit
c420885513
120 changed files with 385 additions and 312 deletions
|
@ -586,7 +586,7 @@ void EnMb_SetupClubDead(EnMb* this) {
|
|||
void EnMb_SetupStunned(EnMb* this) {
|
||||
this->state = ENMB_STATE_STUNNED;
|
||||
this->actor.speedXZ = 0.0f;
|
||||
Actor_SetColorFilter(&this->actor, 0, 0x78, 0, 0x50);
|
||||
Actor_SetColorFilter(&this->actor, COLORFILTER_COLORFLAG_BLUE, 120, COLORFILTER_BUFFLAG_OPA, 80);
|
||||
if (this->damageEffect == ENMB_DMGEFF_STUN_ICE) {
|
||||
this->iceEffectTimer = 40;
|
||||
} else {
|
||||
|
@ -1395,7 +1395,7 @@ void EnMb_CheckColliding(EnMb* this, PlayState* play) {
|
|||
}
|
||||
} else {
|
||||
Actor_ApplyDamage(&this->actor);
|
||||
Actor_SetColorFilter(&this->actor, 0x4000, 0xFA, 0, 0xC);
|
||||
Actor_SetColorFilter(&this->actor, COLORFILTER_COLORFLAG_RED, 250, COLORFILTER_BUFFLAG_OPA, 12);
|
||||
if (this->actor.params == ENMB_TYPE_CLUB) {
|
||||
if (this->actor.colChkInfo.health == 0) {
|
||||
EnMb_SetupClubDead(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue