mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-23 07:21:19 +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
|
@ -8,7 +8,7 @@
|
|||
#include "assets/objects/object_rr/object_rr.h"
|
||||
#include "terminal.h"
|
||||
|
||||
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_2 | ACTOR_FLAG_4 | ACTOR_FLAG_5 | ACTOR_FLAG_10)
|
||||
#define FLAGS (ACTOR_FLAG_ATTENTION_ENABLED | ACTOR_FLAG_HOSTILE | ACTOR_FLAG_4 | ACTOR_FLAG_5 | ACTOR_FLAG_10)
|
||||
|
||||
#define RR_MESSAGE_SHIELD (1 << 0)
|
||||
#define RR_MESSAGE_TUNIC (1 << 1)
|
||||
|
@ -254,7 +254,7 @@ void EnRr_SetupGrabPlayer(EnRr* this, Player* player) {
|
|||
s32 i;
|
||||
|
||||
this->grabTimer = 100;
|
||||
this->actor.flags &= ~ACTOR_FLAG_0;
|
||||
this->actor.flags &= ~ACTOR_FLAG_ATTENTION_ENABLED;
|
||||
this->ocTimer = 8;
|
||||
this->hasPlayer = true;
|
||||
this->reachState = 0;
|
||||
|
@ -289,7 +289,7 @@ void EnRr_SetupReleasePlayer(EnRr* this, PlayState* play) {
|
|||
u8 shield;
|
||||
u8 tunic;
|
||||
|
||||
this->actor.flags |= ACTOR_FLAG_0;
|
||||
this->actor.flags |= ACTOR_FLAG_ATTENTION_ENABLED;
|
||||
this->hasPlayer = false;
|
||||
this->ocTimer = 110;
|
||||
this->segMoveRate = 0.0f;
|
||||
|
@ -381,7 +381,7 @@ void EnRr_SetupDeath(EnRr* this) {
|
|||
}
|
||||
this->actionFunc = EnRr_Death;
|
||||
Actor_PlaySfx(&this->actor, NA_SE_EN_LIKE_DEAD);
|
||||
this->actor.flags &= ~ACTOR_FLAG_0;
|
||||
this->actor.flags &= ~ACTOR_FLAG_ATTENTION_ENABLED;
|
||||
}
|
||||
|
||||
void EnRr_SetupStunned(EnRr* this) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue