mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-22 15:01:17 +00:00
Document Attention/Lock-on Related Actor Flags (#2161)
* document actor flags 0, 2, 3, and 27 * format * fly -> hover * wodring
This commit is contained in:
parent
a039aeffb7
commit
2056ae5f1a
181 changed files with 616 additions and 597 deletions
|
@ -1,7 +1,7 @@
|
|||
#include "z_en_ny.h"
|
||||
#include "assets/objects/object_ny/object_ny.h"
|
||||
|
||||
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_2)
|
||||
#define FLAGS (ACTOR_FLAG_ATTENTION_ENABLED | ACTOR_FLAG_HOSTILE)
|
||||
|
||||
void EnNy_Init(Actor* thisx, PlayState* play);
|
||||
void EnNy_Destroy(Actor* thisx, PlayState* play);
|
||||
|
@ -331,7 +331,7 @@ s32 EnNy_CollisionCheck(EnNy* this, PlayState* play) {
|
|||
this->stoneTimer = 0;
|
||||
if (this->actor.colChkInfo.health == 0) {
|
||||
this->actor.shape.shadowAlpha = 0;
|
||||
this->actor.flags &= ~ACTOR_FLAG_0;
|
||||
this->actor.flags &= ~ACTOR_FLAG_ATTENTION_ENABLED;
|
||||
this->unk_1D0 = sp3F;
|
||||
Enemy_StartFinishingBlow(play, &this->actor);
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue